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
Jean-Paul Calderone inva...@example.invalid added the comment:
It could, but why introduce this redundancy with `os.name`?
--
nosy: +exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9966
Brian Curtin cur...@acm.org added the comment:
I second what Jean-Paul said. os.name is well established and I don't think a
second way to get the same information is needed.
Thanks for the suggestion and patch, Florent.
--
nosy: +brian.curtin
resolution: - rejected
stage: -