Georg Brandl ge...@python.org added the comment:
Thanks, applied in r81450.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8709
New submission from akira 4kir4...@gmail.com:
Currently it is not obvious that os.devnull works on Windows.
--
assignee: d...@python
components: Documentation
files: doc-os-devnull-windows-r81160.diff
keywords: patch
messages: 105688
nosy: akira, d...@python
priority: normal
severity:
Éric Araujo mer...@netwok.org added the comment:
If there’s no note stating some object is only available on one platform, then
it’s available for all. That said, for this case I agree with your patch.
--
nosy: +merwok
___
Python tracker
Terry J. Reedy tjre...@udel.edu added the comment:
Given the mention of the posix example, I agree. The issue applies to 2.6 and
3.2 (that I checked) and so I assume to 2.7 and 3.1 also.
There is no doc string for devnull, which I presume should be in ntpath.
help(os.devnull)
no Python
Éric Araujo mer...@netwok.org added the comment:
os.devnull is a string, so “pydoc os.devnull” will tell you about
strings, and “help(os.devnull)” will be evaluated to
“help('/dev/null')” which won’t match any topic. Same thing with os.sep
and other module data; the doc is in the module’s