[issue9966] platform : a boolean to know easily when a system is posix

2010-09-27 Thread Florent Gallaire
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

[issue9966] platform : a boolean to know easily when a system is posix

2010-09-27 Thread Jean-Paul Calderone
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

[issue9966] platform : a boolean to know easily when a system is posix

2010-09-27 Thread Brian Curtin
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: -