mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Issue #25364: zipfile now works in threads disabled builds.
This commit is contained in:
parent
05da525e55
commit
9e777730eb
2 changed files with 6 additions and 1 deletions
|
@ -13,8 +13,11 @@ import stat
|
|||
import shutil
|
||||
import struct
|
||||
import binascii
|
||||
import threading
|
||||
|
||||
try:
|
||||
import threading
|
||||
except ImportError:
|
||||
import dummy_threading as threading
|
||||
|
||||
try:
|
||||
import zlib # We may need its compression method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue