Guido van Rossum added the comment: > I don't want to treat the fd differently. I want to return a sensible > error message that is different from "file closed" when the fd is invalid.
Doesn't sound too important. Anyway, from which call do you want to issue different messages? I'd rather see sys.stdout == None than opening NUL. __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1415> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com