New submission from Massimo Paladin :
Here is the behavior I am getting only on Python 2.7.2 in a Fedora 16:
$ cat /tmp/example.py
from subprocess import Popen,PIPE
args = "whatever program".split()
p = Popen(args)
If I run the program with:
$ cd /tmp/; python example.py
I get fo
Massimo Paladin added the comment:
Yes, the expected one:
^CTraceback (most recent call last):
File "/tmp/example.py", line 7, in
p = Popen(args)
File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib64/pytho
Massimo Paladin added the comment:
The line which is mentioned in the exception for the file example.py is 7
because I have something commented out which I didn't past in the text before.
--
___
Python tracker
<http://bugs.python.org/is
Massimo Paladin added the comment:
$ cd ~; gdb -args python /tmp/example.py
GNU gdb (GDB) Fedora (7.3.50.20110722-10.fc16)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are f
Massimo Paladin added the comment:
Will follow it.
Thanks,
-Massimo
--
resolution: -> works for me
status: open -> closed
___
Python tracker
<http://bugs.python.org/i