unexpected from/import statement behaviour

2008-08-27 Thread nisp
Hi all ! I'm trying to capture stderr of an external module I use in my python program. I'm doing this by setting up a class in my module overwriting the stderr file object method write. The external module outputs to stderr this way: from sys import std err print >> stderr, "Some

Re: unexpected from/import statement behaviour

2008-08-27 Thread nisp
On Aug 27, 9:56 am, Peter Otten <[EMAIL PROTECTED]> wrote: > nisp wrote: > > Hi all ! > > > I'm trying to capture stderr of an external module I use in my python > > program. I'm doing this > > by setting up a class in my module overwriting the stderr

Re: unexpected from/import statement behaviour

2008-08-27 Thread nisp
On Aug 27, 2:43 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > nisp wrote: > > On Aug 27, 9:56 am, Peter Otten <[EMAIL PROTECTED]> wrote: > >> nisp wrote: > >> > Hi all ! > > >> > I'm trying to capture stderr of an ext

Re: unexpected from/import statement behaviour

2008-08-27 Thread nisp
On Aug 27, 3:35 pm, Peter Otten <[EMAIL PROTECTED]> wrote: > nisp wrote: > > Thanks first of all ! I read the interesting Diez's link but something > > still remains to me unclear, on the other hand it's clear the my > > problem is concentrated there and on sy