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.
pull/775/head
Alex Willmer 4 years ago
parent 1e72ebaf8b
commit ceb0a94467

@ -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