Hi.

I have a python application which relies on the sys.platform output.

I noticed that on GNU/kFreeBSD, the output of sys.paltform has changed from
gnukfreebsd5 to gnukfreebsd6.

Is this intentional ?
How are the numbers calculated ?

It is derived from version number of FreeBSD kernel.
It used to be 5.3, 5.4 ,6.0 ,6.1. Currently it is 6.2.

But I don't know why is part of version number included in sys.platform.

Is there something else I should check for to find out if the platform is a
GNU/kFreeBSD box ?

The best would be to test whether sys.platform starts with "gnukfreebsd",
as gnukfreebsd7 is not so far.

Petr


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to