New submission from Florent Gallaire <fgalla...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue9966> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com