[Python-Dev] Return code when there's a problem at shutdown (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Sun Aug 8 23:49:37 CEST 2010
- Previous message: [Python-Dev] Was Tracker Summary sent Fri Aug 6?\
- Next message: [Python-Dev] Return code when there's a problem at shutdown
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
In issue #5319, the poster complains that redirecting stdout to a misbehaving (pseudo-)file such as /dev/full should produce a non-zero error code when the IO error happens at shutdown (when calling flush() on stdout).
Is it a reasonable expectation? What would you think of making the change? (it would require giving a return value to Py_Finalize(), which currently returns nothing)
Regards
Antoine.
- Previous message: [Python-Dev] Was Tracker Summary sent Fri Aug 6?\
- Next message: [Python-Dev] Return code when there's a problem at shutdown
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]