[Python-Dev] [Python-checkins] cpython (3.3): Don't deadlock on a reentrant call. (original) (raw)
Ezio Melotti ezio.melotti at gmail.com
Fri Mar 1 14:22:57 CET 2013
- Previous message: [Python-Dev] High volumes and off topic discussions
- Next message: [Python-Dev] Disabling string interning for null and single-char causes segfaults
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
On Fri, Mar 1, 2013 at 2:02 PM, raymond.hettinger <python-checkins at python.org> wrote:
http://hg.python.org/cpython/rev/1920422626a5 changeset: 82437:1920422626a5 branch: 3.3 parent: 82435:43ac02b7e322 user: Raymond Hettinger <python at rcn.com> date: Fri Mar 01 03:47:57 2013 -0800 summary: Don't deadlock on a reentrant call.
this seems to have broken builds without threads. After this commit I get a compile error: $ ./configure --without-threads --with-pydebug && make -j2 [...] ./python -E -S -m sysconfig --generate-posix-vars Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Could not import runpy module Exception ignored in: 'garbage collection' Traceback (most recent call last): File "/home/wolf/dev/py/py3k/Lib/runpy.py", line 16, in import imp File "/home/wolf/dev/py/py3k/Lib/imp.py", line 23, in import tokenize File "/home/wolf/dev/py/py3k/Lib/tokenize.py", line 28, in import re File "/home/wolf/dev/py/py3k/Lib/re.py", line 124, in import functools File "/home/wolf/dev/py/py3k/Lib/functools.py", line 22, in from dummy_threading import RLock File "/home/wolf/dev/py/py3k/Lib/dummy_threading.py", line 45, in import threading File "/home/wolf/dev/py/py3k/Lib/threading.py", line 6, in from time import sleep as _sleep ImportError: No module named 'time' Fatal Python error: unexpected exception during garbage collection
Current thread 0x00000000: make: *** [pybuilddir.txt] Aborted (core dumped)
See also: http://buildbot.python.org/all/builders/AMD64%20Fedora%20without%20threads%203.x/builds/4006 http://buildbot.python.org/all/builders/AMD64%20Fedora%20without%20threads%203.3/builds/516
(Also having tests for this change would be nice.)
Best Regards, Ezio Melotti
- Previous message: [Python-Dev] High volumes and off topic discussions
- Next message: [Python-Dev] Disabling string interning for null and single-char causes segfaults
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]