cpython/Lib
Kevin Mehall e730ae7eff
bpo-42369: Fix thread safety of zipfile._SharedFile.tell (GH-26974)
The `_SharedFile` tracks its own virtual position into the file as
`self._pos` and updates it after reading or seeking. `tell()` should
return this position instead of calling into the underlying file object,
since if multiple `_SharedFile` instances are being used concurrently on
the same file, another one may have moved the real file position.
Additionally, calling into the underlying `tell` may expose thread
safety issues in the underlying file object because it was called
without taking the lock.
2022-03-20 16:26:09 +02:00
..
__phello__
asyncio bpo-34790: Remove passing coroutine objects to asyncio.wait() (GH-31964) 2022-03-17 22:51:40 +02:00
collections
concurrent Remove trailing spaces (GH-31695) 2022-03-05 17:47:00 +02:00
ctypes bpo-46913: Skip test_ctypes.test_shorts() on UBSan (GH-31674) 2022-03-04 00:41:57 +01:00
curses
dbm
distutils bpo-40280: Skip more tests on Emscripten (GH-31947) 2022-03-17 12:09:57 +01:00
email
encodings
ensurepip Revert "bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)" (GH-31879) 2022-03-14 16:30:46 -04:00
html
http closes bpo-46736: SimpleHTTPRequestHandler now uses HTML5. (GH-31533) 2022-02-23 09:59:32 -08:00
idlelib bpo-46996: IDLE: Drop workarounds for old Tk versions (GH-31962) 2022-03-19 17:14:21 +02:00
importlib Use low bit of LOAD_GLOBAL's oparg to indicate whether it should push an additional NULL. (GH-31933) 2022-03-17 16:14:57 +00:00
json
lib2to3
logging bpo-46557: Log captured warnings without format string (GH-30975) 2022-03-15 09:01:03 +00:00
msilib
multiprocessing
pydoc_data Python 3.11.0a6 2022-03-07 12:32:18 +00:00
site-packages
sqlite3
test bpo-46382 dataclass(slots=True) now takes inherited slots into account (GH-31980) 2022-03-19 17:01:17 -04:00
tkinter bpo-46996: Remove support of Tcl/Tk < 8.5.12 (GH-31839) 2022-03-17 13:05:52 +02:00
tomllib bpo-40059: Add tomllib (PEP-680) (GH-31498) 2022-03-08 09:26:13 +01:00
turtledemo
unittest bpo-46421: Fix unittest filename evaluation when called as a module (GH-30654) 2022-03-17 16:37:52 -07:00
urllib bpo-46756: Fix authorization check in urllib.request (GH-31353) 2022-02-25 13:31:03 +02:00
venv bpo-45413: Define "posix_venv", "nt_venv" and "venv" sysconfig installation schemes (GH-31034) 2022-03-18 10:53:29 +01:00
wsgiref
xml bpo-43292: Fix file leak in ET.iterparse() when not exhausted (GH-31696) 2022-03-07 11:31:46 +02:00
xmlrpc
zoneinfo
__future__.py
__hello__.py
_aix_support.py
_bootsubprocess.py
_collections_abc.py bpo-44796: Unify TypeVar and ParamSpec substitution (GH-31143) 2022-03-11 10:47:26 +02:00
_compat_pickle.py
_compression.py
_markupbase.py
_osx_support.py
_py_abc.py
_pydecimal.py
_pyio.py bpo-25415: Remove confusing sentence from IOBase docstrings (PR-31631) 2022-03-04 12:35:52 -05:00
_sitebuiltins.py
_strptime.py
_threading_local.py
_weakrefset.py
abc.py
aifc.py
antigravity.py
argparse.py bpo-14156: Make argparse.FileType work correctly for binary file modes when argument is '-' (GH-13165) 2022-03-06 13:49:42 +02:00
ast.py
asynchat.py bpo-47022: Document asynchat, asyncore and smtpd removals in 3.12 (GH-31891) 2022-03-18 12:45:37 -07:00
asyncore.py bpo-47022: Document asynchat, asyncore and smtpd removals in 3.12 (GH-31891) 2022-03-18 12:45:37 -07:00
base64.py
bdb.py
bisect.py
bz2.py
calendar.py bpo-46659: Enhance LocaleTextCalendar for C locale (GH-31214) 2022-02-24 14:29:08 +01:00
cgi.py
cgitb.py
chunk.py
cmd.py
code.py
codecs.py
codeop.py Remove trailing spaces (GH-31695) 2022-03-05 17:47:00 +02:00
colorsys.py
compileall.py
configparser.py
contextlib.py bpo-38415: Remove redundant AsyncContextDecorator.__call__ override from _AsyncGeneratorContextManager (GH-30233) 2022-02-26 14:05:20 +02:00
contextvars.py
copy.py
copyreg.py
cProfile.py
crypt.py
csv.py
dataclasses.py bpo-46382 dataclass(slots=True) now takes inherited slots into account (GH-31980) 2022-03-19 17:01:17 -04:00
datetime.py
decimal.py
difflib.py
dis.py Use low bit of LOAD_GLOBAL's oparg to indicate whether it should push an additional NULL. (GH-31933) 2022-03-17 16:14:57 +00:00
doctest.py
enum.py
filecmp.py
fileinput.py
fnmatch.py
fractions.py
ftplib.py
functools.py
genericpath.py
getopt.py
getpass.py
gettext.py
glob.py
graphlib.py
gzip.py
hashlib.py
heapq.py
hmac.py
imaplib.py
imghdr.py
imp.py
inspect.py
io.py bpo-46522: fix concurrent.futures and io AttributeError messages (GH-30887) 2022-02-23 02:25:00 +02:00
ipaddress.py
keyword.py
linecache.py
locale.py
lzma.py
mailbox.py
mailcap.py
mimetypes.py bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type (GH-30229) 2022-03-15 15:25:43 +02:00
modulefinder.py
netrc.py
nntplib.py
ntpath.py
nturl2path.py
numbers.py
opcode.py bpo-46841: Don't use an oparg counter for STORE_SUBSCR (GH-31742) 2022-03-08 15:53:22 +00:00
operator.py
optparse.py
os.py
pathlib.py
pdb.py
pickle.py
pickletools.py
pipes.py
pkgutil.py
platform.py
plistlib.py
poplib.py
posixpath.py bpo-46933: Make pwd module optional (GH-31700) 2022-03-07 13:36:47 +01:00
pprint.py
profile.py
pstats.py
pty.py
py_compile.py
pyclbr.py
pydoc.py bpo-40296: Fix supporting generic aliases in pydoc (GH-30253) 2022-03-18 11:05:18 +02:00
queue.py
quopri.py
random.py
re.py
reprlib.py
rlcompleter.py
runpy.py
sched.py
secrets.py
selectors.py
shelve.py
shlex.py
shutil.py bpo-46245: Add optional parameter dir_fd in shutil.rmtree() (GH-30365) 2022-03-09 14:29:33 +02:00
signal.py
site.py
smtpd.py bpo-47022: Document asynchat, asyncore and smtpd removals in 3.12 (GH-31891) 2022-03-18 12:45:37 -07:00
smtplib.py
sndhdr.py
socket.py
socketserver.py bpo-40280: Disable AF_UNIX, AF_PACKET, SO_REUSE* on Emscripten (#31829) 2022-03-11 23:25:14 +01:00
sre_compile.py
sre_constants.py
sre_parse.py bpo-47066: Convert a warning about flags not at the start of the regular expression into error (GH-31994) 2022-03-19 16:10:44 +02:00
ssl.py
stat.py
statistics.py Statistics internals: Make fewer calls to _coerce() when data types are mixed (GH-31619) 2022-02-28 11:43:52 -06:00
string.py
stringprep.py
struct.py
subprocess.py
sunau.py
symtable.py
sysconfig.py bpo-45413: Define "posix_venv", "nt_venv" and "venv" sysconfig installation schemes (GH-31034) 2022-03-18 10:53:29 +01:00
tabnanny.py
tarfile.py
telnetlib.py
tempfile.py
textwrap.py
this.py
threading.py bpo-45735: Promise the long-time truth that args=list works (GH-30982) 2022-02-25 22:17:13 -06:00
timeit.py
token.py
tokenize.py
trace.py
traceback.py
tracemalloc.py
tty.py
turtle.py
types.py
typing.py bpo-43224: Add TypeVarTuple.__name__ (GH-31954) 2022-03-18 10:56:36 -07:00
uu.py
uuid.py
warnings.py
wave.py
weakref.py
webbrowser.py
xdrlib.py
zipapp.py
zipfile.py bpo-42369: Fix thread safety of zipfile._SharedFile.tell (GH-26974) 2022-03-20 16:26:09 +02:00
zipimport.py