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 a
Simon Jagoe added the comment:
Sorry for the waste of time. I have compiled Python 2.6.5 against sqlite3
3.6.22 (Lucid version) and 3.6.16-1ubuntu1 (Karmic version).
The test I posted originally fails with sqlite3 3.6.22 and passes with sqlite3
3.6.16-1ubuntu1, so it would appear to be a
Simon Jagoe added the comment:
I will try to test this with the different combinations of python and sqlite
versions.
--
___
Python tracker
<http://bugs.python.org/issue8
New submission from Simon Jagoe :
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 this to using the sqlite3