This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author MrJean1
Recipients MrJean1, christian.heimes, gvanrossum, nnorwitz
Date 2007-10-28.19:08:08
SpamBayes Score 0.022957155
Marked as misclassified No
Message-id <1193598488.84.0.593666815323.issue1329@psf.upfronthosting.co.za>
In-reply-to
Content
Perhaps, the proper behavior is the following.

After calling all functions/methods installed at the Python level with 
atexit.register and all C functions installed with Py_AtExit, the 
objects sys.stdin, sys.stdout and sys.stderr are destroyed.

However, the C level files stdin, stdout and stderr are *never* closed 
by Python.  Those will be closed (like any other open file) after all 
functions installed with atexit or defined as destructors have been 
called.
History
Date User Action Args
2007-10-28 19:08:08MrJean1setspambayes_score: 0.0229572 -> 0.022957155
recipients: + MrJean1, gvanrossum, nnorwitz, christian.heimes
2007-10-28 19:08:08MrJean1setspambayes_score: 0.0229572 -> 0.0229572
messageid: <1193598488.84.0.593666815323.issue1329@psf.upfronthosting.co.za>
2007-10-28 19:08:08MrJean1linkissue1329 messages
2007-10-28 19:08:08MrJean1create