This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients flox, gz, vinay.sajip, xdegaye
Date 2013-01-15.16:24:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358267060.22.0.728865571005.issue9501@psf.upfronthosting.co.za>
In-reply-to
Content
Still randomly getting ignored exceptions on 3.3 and the default
branch, got for example:
Exception TypeError: TypeError("argument of type 'NoneType' is not
iterable",) in <function _removeHandlerRef at 0x7fcbe6014200> ignored

This happens in a threaded application. The root cause is explained in
http://bugs.python.org/issue1722344#msg62078
Instead of building a test case to reproduce the problem, the attached
teardown_module.py script is a contrived example that shows the issue
9501 is not fully fixed. Ignored exceptions appear randomly, so
teardown_module.py must be run in a loop, for example:

    $ while [ 1 ]; do python teardown_module.py; sleep .1; done

The attached patch fix the issue by testing all the globals used in
_removeHandlerRef and teardown_module.py runs fine with this patch
applied.
History
Date User Action Args
2013-01-15 16:24:20xdegayesetrecipients: + xdegaye, vinay.sajip, flox, gz
2013-01-15 16:24:20xdegayesetmessageid: <1358267060.22.0.728865571005.issue9501@psf.upfronthosting.co.za>
2013-01-15 16:24:20xdegayelinkissue9501 messages
2013-01-15 16:24:19xdegayecreate