Torsten Bronger  <[EMAIL PROTECTED]> wrote:
>Marc 'BlackJack' Rintsch writes:
>> `os.devnull`?
>Yes, but I wasn't really sure how portable it is, in particular, on
>Windows.

Windows has a NUL: device which behaves like /dev/null .
os.devnull is a wrapper around whatever the system-provided null
device is. I guess the documentation should reflect this, rather
than just mentioning POSIX and Mac OS 9 and requiring you to note
the "defined for all platforms" at the start of the section.

-- 
\S -- [EMAIL PROTECTED] -- http://www.chaos.org.uk/~sion/
   "Frankly I have no feelings towards penguins one way or the other"
        -- Arthur C. Clarke
   her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to