Add a new function imp.lock_held(), and use it to skip test_threaded_import
when that test is doomed to deadlock.
diff --git a/Misc/NEWS b/Misc/NEWS
index 35737ac..d660df8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -8,6 +8,9 @@
Library
++ A new function, imp.lock_held(), returns 1 when the import lock is
+ currently held. See the docs for the imp module.
+
+ pickle, cPickle and marshal on 32-bit platforms can now correctly read
dumps containing ints written on platforms where Python ints are 8 bytes.
When read on a box where Python ints are 4 bytes, such values are
@@ -17,6 +20,12 @@
Build
+API
+
++ XXX Say something about Neil's GC rework, and that extensions that
+ don't upgrade to the new scheme will still compile but not actually
+ participate in GC.
+
New platforms
Tests