cpython/Lib
Łukasz Langa d90f2f3a62
[3.11] gh-108342: Make ssl TestPreHandshakeClose more reliable (GH-108370) (#108405)
* In preauth tests of test_ssl, explicitly break reference cycles
  invoving SingleConnectionTestServerThread to make sure that the
  thread is deleted. Otherwise, the test marks the environment as
  altered because the threading module sees a "dangling thread"
  (SingleConnectionTestServerThread). This test leak was introduced
  by the test added for the fix of issue gh-108310.
* Use support.SHORT_TIMEOUT instead of hardcoded 1.0 or 2.0 seconds
  timeout.
* SingleConnectionTestServerThread.run() catchs TimeoutError
* Fix a race condition (missing synchronization) in
  test_preauth_data_to_tls_client(): the server now waits until the
  client connect() completed in call_after_accept().
* test_https_client_non_tls_response_ignored() calls server.join()
  explicitly.
* Replace "localhost" with server.listener.getsockname()[0].
(cherry picked from commit 592bacb6fc)

Co-authored-by: Victor Stinner <vstinner@python.org>
2023-08-24 12:08:52 +02:00
..
__phello__
asyncio [3.11] [3.12] GH-106684: Close asyncio.StreamWriter when asyncio.StreamWriter is not closed by application (GH-107650) (GH-107656) (#107836) 2023-08-10 16:14:31 +05:30
collections [3.11] gh-105736: Sync pure python version of OrderedDict with the C version (GH-108098) (GH-108201) 2023-08-21 10:37:09 +00:00
concurrent [3.11] gh-94777: Fix deadlock in ProcessPoolExecutor (GH-94784) (#106607) 2023-07-10 16:21:04 -06:00
ctypes [3.11] gh-105751: Remove obsolete object base class in some ctypes tests (GH-107460) (#107502) 2023-07-31 16:40:47 +02:00
curses
dbm
distutils
email [3.11] gh-102507 Remove invisible pagebreak characters (GH-102531) (#108266) 2023-08-22 08:49:35 +00:00
encodings
ensurepip [3.11] gh-106774: Update bundled pip version to 23.2.1 (GH-106775) (gh-107223) 2023-07-25 11:38:19 +01:00
html
http
idlelib [3.11] IDLE: Condense run.main threading.Thread start. (GH-106125) (#106153) 2023-06-27 17:37:20 +00:00
importlib
json
lib2to3
logging [3.11] gh-107028: tiny textual changes in logging docs and docstrings (GH-107029) (GH-107066) 2023-07-22 22:12:06 +01:00
msilib
multiprocessing [3.11] gh-77377: Ensure multiprocessing SemLock is valid for spawn-based Process before serializing it (GH-107275) (#108378) 2023-08-23 21:11:20 +00:00
pydoc_data Python 3.11.4 2023-06-06 23:00:27 +01:00
re [3.11] gh-100061: Proper fix of the bug in the matching of possessive quantifiers (GH-102612) (GH-108004) 2023-08-16 08:36:36 +00:00
site-packages
sqlite3
test [3.11] gh-108342: Make ssl TestPreHandshakeClose more reliable (GH-108370) (#108405) 2023-08-24 12:08:52 +02:00
tkinter [3.11] gh-100814: Fix exception for invalid callable value of Tkinter image option (GH-107692) (GH-107723) 2023-08-16 11:07:02 +03:00
tomllib
turtledemo
unittest [3.11] gh-106300: Improve errors testing in test_unittest.test_runner (GH-106737) (GH-108007) 2023-08-16 09:59:44 +00:00
urllib [3.11] GH-104554: Add RTSPS support to urllib/parse.py (GH-104605) (#105760) 2023-07-05 13:02:36 +02:00
venv
wsgiref
xml
xmlrpc
zoneinfo
__future__.py
__hello__.py
_aix_support.py
_bootsubprocess.py
_collections_abc.py
_compat_pickle.py
_compression.py
_markupbase.py
_osx_support.py
_py_abc.py
_pydecimal.py
_pyio.py
_sitebuiltins.py
_strptime.py
_threading_local.py
_weakrefset.py
abc.py
aifc.py
antigravity.py
argparse.py
ast.py
asynchat.py
asyncore.py
base64.py
bdb.py
bisect.py
bz2.py
calendar.py
cgi.py
cgitb.py
chunk.py
cmd.py
code.py
codecs.py
codeop.py
colorsys.py [3.11] gh-106498: Revert incorrect colorsys.rgb_to_hls change (GH-106627) (#106633) 2023-07-11 15:48:00 +00:00
compileall.py
configparser.py [3.11] Fix typo in configparser module docstring (GH-105652) (#105654) 2023-06-11 14:33:50 +00:00
contextlib.py
contextvars.py
copy.py
copyreg.py
cProfile.py
crypt.py
csv.py
dataclasses.py
datetime.py
decimal.py
difflib.py
dis.py
doctest.py [3.11] gh-107715: Escape class name in regular expression (GH-107716) (GH-107727) 2023-08-12 11:57:49 +00:00
enum.py [3.11] gh-106602: [Enum] Add __copy__ and __deepcopy__ (GH-106694) 2023-07-12 15:48:16 -07:00
filecmp.py
fileinput.py
fnmatch.py
fractions.py
ftplib.py
functools.py
genericpath.py
getopt.py
getpass.py
gettext.py [3.11] bpo-18319: gettext() can retrieve a message even if a plural form exists (GH-19869) (GH-107107) 2023-08-16 09:15:01 +00:00
glob.py
graphlib.py
gzip.py
hashlib.py
heapq.py
hmac.py
imaplib.py
imghdr.py
imp.py
inspect.py
io.py
ipaddress.py
keyword.py
linecache.py
locale.py
lzma.py
mailbox.py
mailcap.py
mimetypes.py
modulefinder.py
netrc.py
nntplib.py
ntpath.py [3.11] gh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls (GH-108248) 2023-08-22 15:35:16 +01:00
nturl2path.py
numbers.py
opcode.py
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
pprint.py
profile.py
pstats.py
pty.py
py_compile.py
pyclbr.py
pydoc.py [3.11] gh-102541: Fix Helper.help("mod") for non-existent mod (GH-105934) (#106323) 2023-07-01 23:15:44 +00:00
queue.py
quopri.py
random.py
reprlib.py
rlcompleter.py
runpy.py
sched.py
secrets.py
selectors.py
shelve.py
shlex.py
shutil.py [3.11] gh-99203: shutil.make_archive(): restore select CPython <= 3.10.5 behavior (GH-99802) (GH-107999) 2023-08-16 07:44:21 +00:00
signal.py
site.py
smtpd.py
smtplib.py
sndhdr.py
socket.py
socketserver.py
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py [3.11] gh-108342: Break ref cycle in SSLSocket._create() exc (GH-108344) (#108349) 2023-08-23 12:10:04 +02:00
stat.py
statistics.py
string.py
stringprep.py
struct.py
subprocess.py [3.11] gh-106723: forward -Xfrozen_modules option to spawned process interpreters (GH-106724) (#107368) 2023-07-28 11:20:56 +05:30
sunau.py
symtable.py
sysconfig.py
tabnanny.py
tarfile.py [3.11] gh-107845: Fix symlink handling for tarfile.data_filter (GH-107846) (GH-108209) 2023-08-22 10:51:58 +02:00
telnetlib.py
tempfile.py
textwrap.py
this.py
threading.py
timeit.py
token.py
tokenize.py
trace.py
traceback.py [3.11] gh-89412: Add missing attributes (added in 3.10) to traceback module docs (GH-105046) (#105328) 2023-06-05 19:02:23 +02:00
tracemalloc.py
tty.py
turtle.py
types.py
typing.py [3.11] Miscellaneous improvements to the typing docs (#105529) (#105568) 2023-06-09 22:41:22 +01:00
uu.py
uuid.py
warnings.py
wave.py
weakref.py
webbrowser.py
xdrlib.py
zipapp.py
zipfile.py [3.11] gh-106752: Sync with zipp 3.16.2 (GH-106757) (#106778) 2023-07-15 10:15:38 -04:00
zipimport.py