A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-May/111718.html below:

[Python-Dev] cpython: removed spurious output

[Python-Dev] cpython: removed spurious output [Python-Dev] cpython: removed spurious outputGeorg 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 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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4