New submission from Armin Rigo: A new bug, introduced in recent Python 2.7 (2.7.3 passes, 2.7 trunk fails):
With the attached x.py, running "python -c 'import x'" fails with RuntimeError: not holding the import lock. It occurs when doing a fork() while holding the import lock, if the child process imports more things (here distutils, could be anything) before finally trying to release the import lock (here by returning from the original 'import x'). ---------- files: x.py messages: 190498 nosy: arigo priority: normal severity: normal status: open title: RuntimeError: not holding the import lock versions: Python 2.7 Added file: http://bugs.python.org/file30450/x.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18122> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com