[issue9966] platform : a boolean to know easily when a system is posix
Florent Gallaire
report at bugs.python.org
Tue Sep 28 02:34:45 CEST 2010
New submission from Florent Gallaire <fgallaire at gmail.com>:
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
----------
components: Library (Lib)
files: platform_isposix_boolean.py
messages: 117495
nosy: fgallaire
priority: normal
severity: normal
status: open
title: platform : a boolean to know easily when a system is posix
type: feature request
versions: Python 3.3
Added file: http://bugs.python.org/file19039/platform_isposix_boolean.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9966>
_______________________________________
More information about the Python-bugs-list
mailing list