Zooko O'Whielacronx <[EMAIL PROTECTED]> added the comment:

Here is an updated version of my patch which tries parsing
/etc/lsb-release first and only if that fails tries executing
lsb_release.  The reason is that executing lsb_release in a subprocess
takes half-a-second on my high-performance Athlon64 Ubuntu workstation,
and also that some installations have /etc/lsb-release but not
lsb_release.  See the docstring for more details about why to do it this
way and exactly what it does.

Added file: http://bugs.python.org/file11573/dist.patch.txt

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3937>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to