On 30.05.2011 17:54, Terry Reedy wrote:
>
>
> On 5/30/2011 6:25 AM, tarek.ziade wrote:
>
> Should not old_out be sys.stderr, since that is what you over-write and
> 'restore'?
>
>> + old_out = sys.stdout
>> + sys.stderr = StringIO()
>> + try:
>> + dist = self.run_setup('install_dist', '--prefix=' +
>> self.root_dir)
>> + finally:
>> + sys.sterr = old_out
And even more importantly, shouldn't this be "sys.stderr" instead of
"sys.sterr"?
Really, what happened to testing before you push?
Georg
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com