[Python-Dev] cpython: removed spurious output (original) (raw)

Georg Brandl g.brandl at gmx.net
Mon May 30 19:04:51 CEST 2011


On 30.05.2011 17:54, Terry Reedy wrote:

On 5/30/2011 6:25 AM, tarek.ziade wrote: Should not oldout be sys.stderr, since that is what you over-write and 'restore'? + oldout = sys.stdout + sys.stderr = StringIO() + try: + dist = self.runsetup('installdist', '--prefix=' + self.rootdir) + finally: + sys.sterr = oldout

And even more importantly, shouldn't this be "sys.stderr" instead of "sys.sterr"?

Really, what happened to testing before you push?

Georg



More information about the Python-Dev mailing list