[issue6983] Add specific get_platform() for freebsd

Marc-Andre Lemburg report at bugs.python.org
Thu Sep 24 17:56:59 CEST 2009


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Stef Walter wrote:
> 
> Stef Walter <stef at memberwebs.com> added the comment:
> 
> I agree with your comments, and the solution you're proposing solves the 
> problem (and several others) for the long term. 
> 
> However in the short term, could this patch be committed? Most other OS's 
> (including openbsd and netbsd) have OS specific code in get_platform(). 
> FreeBSD is notably missing from that function. 

The code in get_platform() tries to gather as much information as
possible regarding a platform, rather than limiting the amount of
information.

That's why there are so many entries for the various OSes.

Please contact the maintainer of easy_install to get it fixed
to handle the specific FreeBSD case. For other systems they will
likely have to apply similar patches, e.g. for Mac OS X, Sun,
AIX, etc. - all of these include version and release information
in the get_platform() output.

Regarding a short term fix, there's no a lot we can do: the next
Python release is 2.7 and changing this for 2.6 is out of the question,
since it would break other tools that rely on the established
naming scheme.

easy_install has a different release cycle, so it's easier
to get a fix for it, or just apply one yourself.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6983>
_______________________________________


More information about the Python-bugs-list mailing list