Re: [Python-Dev] cpython: removed spurious output

2011-05-30 Thread Georg Brandl
On 30.05.2011 19:13, Tarek Ziadé wrote: > On Mon, May 30, 2011 at 7:04 PM, Georg Brandl wrote: >> 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'? >>> +

Re: [Python-Dev] cpython: removed spurious output

2011-05-30 Thread Tarek Ziadé
On Mon, May 30, 2011 at 7:04 PM, Georg Brandl wrote: > 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

Re: [Python-Dev] cpython: removed spurious output

2011-05-30 Thread Georg Brandl
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.ru