]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Patch 1352 (continued in issue 1329) by Christian Heimes.
authorGuido van Rossum <guido@python.org>
Tue, 30 Oct 2007 18:34:07 +0000 (18:34 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 30 Oct 2007 18:34:07 +0000 (18:34 +0000)
commit826d8973ac52a0a8155ef857c8a9bf18a90b11ac
tree228f7830ba30118bed52db846a39b2ef1f9c0fda
parent1cd5bd2a2e600d0f29f9dcfbb9ea922cb1cd006f
Patch 1352 (continued in issue 1329) by Christian Heimes.
Before sys.stderr is set to the proper thing, set it to a really simple
file-like object that can print tracebacks using direct file descriptor I/O.
This is handy for debugging.
Include/fileobject.h
Objects/fileobject.c
Objects/object.c
Python/pythonrun.c