Message23326
Logged In: YES
user_id=203860
Each Python file object has a pointer to the function to be
called on the C stream when close is called on the file
object. Normally this is fclose, but Python doesn't want
the standard streams closed so their file objects are
created with the function pointer set to NULL, making close
a no-op on the underlying files. I'm going to attach a
patch that changes the function for stdout and stderr to be
fflush, so that the streams stay open but write errors are
detected at the time of an explicit close. I don't see the
relevance of the exitfuncs.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:27:49 | admin | link | issue1074011 messages |
2007-08-23 14:27:49 | admin | create | |
|