[issue3126] Lib/logging/__init__.py assumes its stream has flush and close methods

2008-06-17 Thread Vinay Sajip
Vinay Sajip <[EMAIL PROTECTED]> added the comment: Fix checked into SVN. Thanks for the patch. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> __

[issue3126] Lib/logging/__init__.py assumes its stream has flush and close methods

2008-06-16 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- assignee: -> vsajip nosy: +vsajip ___ Python tracker <[EMAIL PROTECTED]> ___ ___ P

[issue3126] Lib/logging/__init__.py assumes its stream has flush and close methods

2008-06-16 Thread Bob Farrell
New submission from Bob Farrell <[EMAIL PROTECTED]>: The documentation for the sys module says: "stdout and stderr needn't be built-in file objects: any object is acceptable as long as it has a write() method that takes a string argument." However, the logging module calls flush() and close()