This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fgallaire
Recipients fgallaire
Date 2010-09-28.00:34:41
SpamBayes Score 9.855082e-08
Marked as misclassified No
Message-id <1285634085.25.0.52252512228.issue9966@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

The platform module could provide a boolean to know easily if a system is posix or not.

The expected result, when the system is posix :

>>> import platform
>>> platform.isposix
True

otherwise :

>>> import platform
>>> platform.isposix
False

Here is a patch to do so. It also provides an update for the platform
documentation and a test case.

Best regards

Florent Gallaire
History
Date User Action Args
2010-09-28 00:34:45fgallairesetrecipients: + fgallaire
2010-09-28 00:34:45fgallairesetmessageid: <1285634085.25.0.52252512228.issue9966@psf.upfronthosting.co.za>
2010-09-28 00:34:43fgallairelinkissue9966 messages
2010-09-28 00:34:42fgallairecreate