[Python-Dev] FW: Bug? Certainly a new *behavior* from subprocess in 2.5 on Win32

Kevin Jacobs <jacobs@bioinformed.com> bioinformed at gmail.com
Fri Jul 21 01:37:49 CEST 2006


Reported to the list about a week ago, with analysis.  Didn't get a
response.  Won't use sourceforge.  Sorry about the top post.

-Kevin

On 7/20/06, Delaney, Timothy (Tim) <tdelaney at avaya.com> wrote:
>
> Larry Hastings wrote:
>
> > I run the following script:
> > --
> > from subprocess import *
> > Popen("ls -l")
> > --
> > (yeah, I have ls.exe on Windows)
> >
> > Under Python 2.4.2, this simply dumped the results of ls.exe to the
> > terminal--sorry, to the "command shell".
> >
> > Under Python 2.5, both beta 1 and beta 2, it dumps the results to the
> > command shell, but *also* prints this:
> >
> > Exception exceptions.AttributeError: "'NoneType' object has no
> > attribute 'append'" in <bound method Popen.__del__ of
> > <subprocess.Popen object at 0x00C04EB0>> ignored
> >
> > Calling Popen() with a stdout = subprocess.PIPE does not throw this
> > exception.
>
> I've asked Larry to raise this on SourceForge, but with the SF email
> problems I thought I'd better forward it here.
>
> Looks like there's a bug in Popen.__del__ in 2.5. I'm not in a position
> to have a look right now.
>
> Tim Delaney
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/jacobs%40bioinformed.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20060720/a4ae87b3/attachment.htm 


More information about the Python-Dev mailing list