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 ceb0a94467)
pull/800/head
Alex Willmer 4 years ago
parent 6c1585de77
commit 965f9d6311

@ -1269,6 +1269,9 @@ class Importer(object):
# a negative round-trip. # a negative round-trip.
'builtins', 'builtins',
'__builtin__', '__builtin__',
# Python 2.x module that was renamed to _thread in 3.x.
# This entry avoids a roundtrip on 2.x -> 3.x.
'thread', 'thread',
# org.python.core imported by copy, pickle, xml.sax; breaks Jython, but # org.python.core imported by copy, pickle, xml.sax; breaks Jython, but

Loading…
Cancel
Save