homepage

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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, gpolo, trent, trepan
Date 2008年04月08日.14:35:31
SpamBayes Score 0.07134086
Marked as misclassified No
Message-id <1207665333.07.0.732603620045.issue2564@psf.upfronthosting.co.za>
In-reply-to
Content
I think that this problem is not FreeBSD specific:
- "import test.autotest" runs the whole test suite as a side-effect of
an import statement.
- in the test suite test_capi spawns threads, which also import.
- a lock ensues...
See for example test_threaded_import.py::
 if imp.lock_held():
 # This triggers on, e.g., from test import autotest.
 raise TestSkipped("can't run when import lock is held")
I the test_capi case, I think that the two imports in TestThreadState
should be moved outside the function.
Also, the backtrace file shows two other threads locked in a "import
socket" statement. I suspect problems in test_urllib2.py or
test_urllib2net.py...
History
Date User Action Args
2008年04月08日 14:35:33amaury.forgeotdarcsetspambayes_score: 0.0713409 -> 0.07134086
recipients: + amaury.forgeotdarc, gpolo, trent, trepan
2008年04月08日 14:35:33amaury.forgeotdarcsetspambayes_score: 0.0713409 -> 0.0713409
messageid: <1207665333.07.0.732603620045.issue2564@psf.upfronthosting.co.za>
2008年04月08日 14:35:32amaury.forgeotdarclinkissue2564 messages
2008年04月08日 14:35:31amaury.forgeotdarccreate

AltStyle によって変換されたページ (->オリジナル) /