Simon Jagoe added the comment:
In the script attached to the original issue, the weakref callback that causes
the hang is the callback defined in ThreadPoolExecutor._adjust_thread_count
Attached is a faulthandler stack captured from Python 3.6.1. The script
submitted here uses a patched
New submission from Simon Jagoe:
At Enthought we have been tracking a deadlock in some code that turned out to
be due to the following scenario:
0) There is some cyclic garbage that requires collection; an object in the
garbage is referred to by a weakref with a callback
1) You have
Simon Jagoe simon.ja...@pragmagility.com added the comment:
I will try to test this with the different combinations of python and sqlite
versions.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8689
New submission from Simon Jagoe azriph...@gmail.com:
I have been using sqlalchemy and sqlamp in a project for a while with Python
2.5.x and Python 2.6.4. With a recent upgrade to Python 2.6.5 (on Ubuntu Lucid
Lynx), a particular operation began to fail when using sqlite.
I have tracked