Skip to content

Commit 965f9d6

Browse files
committed
Explain why the Python 2.x thread module is blacklisted
Based on the original commit I believe it is only an optimization. However I could be wrong. I intend to request review of this part. (cherry picked from commit ceb0a94)
1 parent 6c1585d commit 965f9d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mitogen/core.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,6 +1269,9 @@ class Importer(object):
12691269
# a negative round-trip.
12701270
'builtins',
12711271
'__builtin__',
1272+
1273+
# Python 2.x module that was renamed to _thread in 3.x.
1274+
# This entry avoids a roundtrip on 2.x -> 3.x.
12721275
'thread',
12731276

12741277
# org.python.core imported by copy, pickle, xml.sax; breaks Jython, but

0 commit comments

Comments
 (0)