Browse Source

Issue #25364: zipfile now works in threads disabled builds.

pull/9921/head
Serhiy Storchaka 10 years ago
parent
commit
9e777730eb
  1. 5
      Lib/zipfile.py
  2. 2
      Misc/NEWS

5
Lib/zipfile.py

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

2
Misc/NEWS

@ -40,6 +40,8 @@ Core and Builtins
Library
-------
- Issue #25364: zipfile now works in threads disabled builds.
- Issue #25328: smtpd's SMTPChannel now correctly raises a ValueError if both
decode_data and enable_SMTPUTF8 are set to true.

Loading…
Cancel
Save