pycompile hangs when there is more than one python installed
Bug #613675 reported by
Barry Warsaw
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-defaults (Ubuntu) |
Fix Released
|
Critical
|
Matthias Klose |
Bug Description
When you install python2.7 from ppa:doko/toolchain, /usr/bin/pycompile will begin to freeze. You will see this almost immediately when you upgrade python-
I will submit a merge proposal next.
Related branches
lp:~barry/ubuntu/maverick/python-defaults/613674-pycompile
- Matthias Klose: Pending requested
- Ubuntu branches: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedpycompile (+1/-1)
Changed in python-defaults (Ubuntu): | |
importance: | Undecided → Critical |
assignee: | nobody → Matthias Klose (doko) |
To post a comment you must log in.
Here's a reproducible test case:
from subprocess import *
p1 = Popen('python2.6 -m py_compile -', bufsize=1, shell=True, stdin=PIPE)
p2 = Popen('python2.7 -m py_compile -', bufsize=1, shell=True, stdin=PIPE)
print 'p1.communicate()'
p1.communicate()
print 'p2.communicate()'
p2.communicate()
## print 'p1.terminate()'
## p1.terminate()
## print 'p2.terminate()'
## p2.terminate()