commit | a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <pitrou@free.fr> | Thu Sep 07 18:56:24 2017 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Thu Sep 07 18:56:24 2017 +0200 |
tree | 1c31738009bee903417cea928e705a112aea2392 | |
parent | 1f06a680de465be0c24a78ea3b610053955daa99 [diff] [blame] |
bpo-31370: Remove support for threads-less builds (#3385) * Remove Setup.config * Always define WITH_THREAD for compatibility.
diff --git a/Lib/zipfile.py b/Lib/zipfile.py index cc46a6c..37ce328 100644 --- a/Lib/zipfile.py +++ b/Lib/zipfile.py
@@ -12,11 +12,7 @@ import shutil import struct import binascii - -try: - import threading -except ImportError: - import dummy_threading as threading +import threading try: import zlib # We may need its compression method