]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Stop Python code from instantiating a new stdprinter with sys.stderr.__class__()
authorChristian Heimes <christian@cheimes.de>
Mon, 12 Nov 2007 16:05:45 +0000 (16:05 +0000)
committerChristian Heimes <christian@cheimes.de>
Mon, 12 Nov 2007 16:05:45 +0000 (16:05 +0000)
commitaf935e3bc46dde5c32a3d23173e2a8f6ec9a8792
treef49c6e3b7073be5f8f976c426e9bc3b045797893
parent32fbe599784f80f08e7ecd4ebdde158797f0a5ff
Stop Python code from instantiating a new stdprinter with sys.stderr.__class__()
Added some more methods and attributes to stdprinter to ease up debugging #1415 on Windows. It also makes the object more file like. Now it can be used as a working replacement for an io instance.
Objects/fileobject.c