cpython/Doc/library
Mario Corchero d65b783b69
gh-61215: New mock to wait for multi-threaded events to happen (#16094)
mock: Add `ThreadingMock` class

Add a new class that allows to wait for a call to happen by using
`Event` objects. This mock class can be used to test and validate
expectations of multithreading code.

It uses two attributes for events to distinguish calls with any argument
and calls with specific arguments.

The calls with specific arguments need a lock to prevent two calls in
parallel from creating the same event twice.

The timeout is configured at class and constructor level to allow users
to set a timeout, we considered passing it as an argument to the
function but it could collide with a function parameter. Alternatively
we also considered passing it as positional only but from an API
caller perspective it was unclear what the first number meant on the
function call, think `mock.wait_until_called(1, "arg1", "arg2")`, where
1 is the timeout.

Lastly we also considered adding the new attributes to magic mock
directly rather than having a custom mock class for multi threading
scenarios, but we preferred to have specialised class that can be
composed if necessary. Additionally, having added it to `MagicMock`
directly would have resulted in `AsyncMock` having this logic, which
would not work as expected, since when if user "waits" on a
coroutine does not have the same meaning as waiting on a standard
call.

Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
2023-07-03 07:56:54 +01:00
..
__future__.rst gh-92436: __future__ docs: add note on expectations for "from __future__ import annotations" (#92568) 2022-05-12 07:23:42 -07:00
__main__.rst Docs: fix dunders with too many underscores (#103955) 2023-04-27 23:17:43 +02:00
_thread.rst GH-97950: Use new-style index directive ('module') (#103996) 2023-05-04 10:17:12 +02:00
abc.rst GH-101898: Fix missing term references for hashable definition (#101899) 2023-02-14 14:20:11 +04:00
allos.rst
archiving.rst
argparse.rst gh-103921: Rename "type" header in argparse docs (#104654) 2023-05-19 06:50:34 -07:00
array.rst gh-80480: Emit DeprecationWarning for array's 'u' type code (#95760) 2023-06-11 03:17:35 -06:00
ast.rst gh-92788: Add docs for `ast.Module`, `ast.Expression`, and others (#101055) 2023-06-27 06:43:49 -07:00
asyncio-api-index.rst Doc: Found some remaining default roles. (GH-98392) 2022-10-18 15:46:18 +02:00
asyncio-dev.rst gh-65046: Link to logging cookbook from asyncio docs (#98207) 2022-10-11 21:42:57 -07:00
asyncio-eventloop.rst gh-105993: Add possible `None` return type to `asyncio.EventLoop.start_tls` docs (#105995) 2023-06-28 16:08:15 +05:30
asyncio-exceptions.rst bpo-42413: Replace `concurrent.futures.TimeoutError` and `asyncio.TimeoutError` with builtin `TimeoutError` (GH-30197) 2021-12-19 13:22:40 +02:00
asyncio-extending.rst gh-91323: Revert "Allow overriding a future compliance check in asyncio.Task (GH-32197)" (GH-95442) 2022-08-04 15:51:38 +02:00
asyncio-future.rst GH-90985: Revert "Deprecate passing a message into cancel()" (#97999) 2022-10-06 17:30:27 -07:00
asyncio-llapi-index.rst gh-93453: No longer create an event loop in get_event_loop() (#98440) 2022-12-06 18:42:12 +01:00
asyncio-platforms.rst [docs] Use full names for time units (GH-28611) 2021-09-29 12:09:56 +03:00
asyncio-policy.rst gh-100160: Restore and deprecate implicit creation of an event loop (GH-100410) 2023-01-13 14:40:29 +02:00
asyncio-protocol.rst GH-91635: clarify docs about closing of transport in asyncio (#98563) 2022-10-24 10:52:02 -07:00
asyncio-queue.rst bpo-46777: Fix incorrect use of directives in asyncio documentation (GH-31388) 2022-02-18 10:58:48 +02:00
asyncio-runner.rst GH-99388: add `loop_factory` parameter to `asyncio.run` (#99462) 2022-11-14 10:18:51 -08:00
asyncio-stream.rst gh-100226: Clarify StreamReader.read behavior (#101807) 2023-02-17 13:01:26 -08:00
asyncio-subprocess.rst gh-83925: Make asyncio.subprocess communicate similar to non-asyncio (#18650) 2023-04-27 17:30:26 -07:00
asyncio-sync.rst [docs] fix some asyncio.Barrier.wait docs grammar (GH-93552) 2022-06-06 20:10:42 +02:00
asyncio-task.rst Refer to `TimeoutError` instead of `asyncio.TimeoutError` in `asyncio-task.rst` (#106136) 2023-06-27 23:21:38 -06:00
asyncio.rst Added asyncio REPL example to docs. (#101243) 2023-01-23 17:01:13 +05:30
atexit.rst gh-104690 Disallow thread creation and fork at interpreter finalization (#104826) 2023-06-04 04:06:45 +00:00
audit_events.rst
base64.rst Fix duplicated words in the docs (GH-102629) 2023-03-12 11:03:59 -07:00
bdb.rst Docs: Fix backtick errors found by sphinx-lint (#97998) 2022-10-06 18:01:30 -07:00
binary.rst
binascii.rst gh-104773: PEP 594: Remove the uu module (#104932) 2023-05-25 16:25:27 +02:00
bisect.rst GH-104145: Use fully-qualified cross reference types for the bisect module (#104172) 2023-05-08 17:32:18 +01:00
builtins.rst
bz2.rst gh-99087: Add missing newline for prompts in docs (GH-98993) 2022-12-08 19:31:19 -08:00
calendar.rst gh-103636: issue warning for deprecated calendar constants (#103833) 2023-04-29 01:16:46 -06:00
cmath.rst gh-101100: Docs: Fix references to several numeric dunders (#106278) 2023-06-30 15:27:09 +01:00
cmd.rst bpo-46196: document method cmd.Cmd.columnize (#30303) 2022-01-02 13:33:20 -05:00
code.rst
codecs.rst gh-51511: Note that codecs.open()'s encoding parameter affects automatic conversion to binary mode (#94370) 2022-10-21 16:01:05 -07:00
codeop.rst Minor docs improvements fix for `codeop` (#103123) 2023-03-30 15:51:36 -07:00
collections.abc.rst gh-91896: Revert some very noisy DeprecationWarnings for `ByteString` (#104424) 2023-05-13 09:55:35 +01:00
collections.rst GH-101898: Fix missing term references for hashable definition (#101899) 2023-02-14 14:20:11 +04:00
colorsys.rst
compileall.rst gh-100472: Fix docs claim that compileall parameters could be bytes (#100473) 2022-12-24 14:22:49 -06:00
concurrency.rst
concurrent.futures.rst gh-102627: Replace address pointing toward malicious web page (#102630) 2023-03-13 15:35:37 -07:00
concurrent.rst
configparser.rst gh-93573: Replace wrong example domains in configparser doc (GH-93574) 2023-02-16 16:13:21 +01:00
constants.rst
contextlib.rst gh-103791: Make contextlib.suppress also act on exceptions within an ExceptionGroup (#103792) 2023-04-24 22:17:02 +00:00
contextvars.rst Clarify that every thread has its own default context in contextvars (#99246) 2022-12-20 11:35:48 +00:00
copy.rst GH-97950: Use new-style index directive ('module') (#103996) 2023-05-04 10:17:12 +02:00
copyreg.rst GH-97950: Use new-style index directive ('module') (#103996) 2023-05-04 10:17:12 +02:00
crypto.rst gh-104773: PEP 594: Remove the crypt module (#104908) 2023-05-25 15:45:46 +02:00
csv.rst gh-67230: add quoting rules to csv module (GH-29469) 2023-04-12 15:32:30 -07:00
ctypes.rst ctypes docs: fix missing `not` in variadic functions section (#102611) 2023-04-09 13:56:52 +05:30
curses.ascii.rst gh-101100: Fix Sphinx warnings in `curses` and `curses.ascii` modules (#103457) 2023-05-02 23:09:04 -06:00
curses.panel.rst
curses.rst gh-101100: Fix Sphinx warnings in `curses` and `curses.ascii` modules (#103457) 2023-05-02 23:09:04 -06:00
custominterp.rst Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551) 2022-07-05 11:16:10 +02:00
dataclasses.rst gh-106107: document correct error that's raised when a mutable default value for a field is detected (gh-106109) 2023-06-26 14:00:21 -04:00
datatypes.rst
datetime.rst GH-103857: Deprecate utcnow and utcfromtimestamp (#103858) 2023-04-27 11:32:30 -06:00
dbm.rst
debug.rst
decimal.rst GH-105774: Clarify operation of normalize() (GH-106093) 2023-06-26 23:12:22 -05:00
development.rst gh-104780: Remove 2to3 program and lib2to3 module (#104781) 2023-05-23 19:40:02 +02:00
devmode.rst gh-98763: Prefer "python" over "python3" for command line examples in docs. (#98761) 2023-01-11 15:35:41 +05:30
dialog.rst
difflib.rst gh-97669: Move difflib examples to Doc/includes/ (#97964) 2022-10-07 10:57:48 -07:00
dis.rst GH-106008: Make implicit boolean conversions explicit (GH-106003) 2023-06-29 13:49:54 -07:00
distribution.rst gh-85454: Remove distutils documentation (#95239) 2022-07-25 15:50:46 +02:00
doctest.rst gh-99970 Adding missing `optionflags` parameter in the documentation of `doctest` (#99971) 2022-12-10 15:42:40 +05:30
email.charset.rst gh-77630: Change Charset to charset (GH-92439) 2022-05-08 17:35:32 +03:00
email.compat32-message.rst Docs: Fix backtick errors found by sphinx-lint (#97998) 2022-10-06 18:01:30 -07:00
email.contentmanager.rst
email.encoders.rst
email.errors.rst [doc]: Spotted errors while working on rstlint. (GH-30879) 2022-01-27 08:57:43 +01:00
email.examples.rst
email.generator.rst gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
email.header.rst gh-86986: Drop compatibility support for Sphinx 2 (GH-93737) 2022-06-21 17:04:46 +02:00
email.headerregistry.rst Docs: Fix backtick errors found by sphinx-lint (#97998) 2022-10-06 18:01:30 -07:00
email.iterators.rst
email.message.rst
email.mime.rst gh-101021: Document binary parameters as bytes (#101024) 2023-01-14 11:01:27 -08:00
email.parser.rst
email.policy.rst gh-99087: Add missing newline for prompts in docs (GH-98993) 2022-12-08 19:31:19 -08:00
email.rst gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
email.utils.rst gh-72346: Added isdst deprecation warning to email.utils.localtime (GH-91450) 2023-03-19 19:20:20 -05:00
ensurepip.rst gh-85073: Add some missing links to source (GH-99363) 2022-11-18 11:33:40 -08:00
enum.rst gh-104659: Consolidate python examples in enum documentation (#104665) 2023-05-19 11:46:20 -06:00
errno.rst gh-96005: FreeBSD has ENOTCAPABLE, too (GH-96034) 2022-08-17 07:24:53 +02:00
exceptions.rst gh-101100: Fix reference to asynchronous methods (#106172) 2023-06-28 10:43:11 +00:00
faulthandler.rst GH-56426: Add cross-reference to the documentation for faulthandler, traceback, and pdb. (#101157) 2023-02-04 09:19:29 +05:30
fcntl.rst gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452) 2022-08-02 21:00:41 +02:00
filecmp.rst
fileformats.rst bpo-47061: document module deprecations due to PEP 594 (GH-31984) 2022-03-21 16:16:37 -07:00
fileinput.rst bpo-46586: Fix more erroneous doc links to builtins (#31429) 2022-05-02 16:32:44 -06:00
filesys.rst
fnmatch.rst GH-97950: Use new-style index directive ('module') (#103996) 2023-05-04 10:17:12 +02:00
fractions.rst gh-101825: Clarify that as_integer_ratio() output is always normalized (#101843) 2023-02-27 19:11:28 +00:00
frameworks.rst
ftplib.rst gh-94172: Update keyfile removal documentation (#105392) 2023-06-06 20:14:06 +02:00
functional.rst
functions.rst gh-101100: Docs: Fix references to several numeric dunders (#106278) 2023-06-30 15:27:09 +01:00
functools.rst gh-104112: link from cached_property docs to method-caching FAQ (#104113) 2023-05-04 16:38:53 -06:00
gc.rst gh-49174: document that the effect of calling gc.collect() during a collection is undefined (#104699) 2023-05-20 21:12:10 +01:00
getopt.rst
getpass.rst gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452) 2022-08-02 21:00:41 +02:00
gettext.rst gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527) 2022-08-04 10:13:49 +03:00
glob.rst Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551) 2022-07-05 11:16:10 +02:00
graphlib.rst GH-101898: Fix missing term references for hashable definition (#101899) 2023-02-14 14:20:11 +04:00
grp.rst gh-104773: PEP 594: Remove the spwd module (#104871) 2023-05-24 20:34:41 +00:00
gzip.rst gh-101100: Test docs in nit-picky mode (#102513) 2023-03-24 13:23:35 +02:00
hashlib-blake2-tree.png Optimize images by IMGbot (GH-21348) 2022-02-04 15:49:43 +09:00
hashlib.rst gh-99108: Mention HACL\* in the hashlib docs. (#105634) 2023-06-10 12:09:20 -07:00
heapq.rst
hmac.rst Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551) 2022-07-05 11:16:10 +02:00
html.entities.rst gh-82927: Update files related to HTML entities. (GH-92504) 2022-06-21 22:03:12 +02:00
html.parser.rst Update html.parser.rst (GH-30678) 2022-02-17 04:20:40 -08:00
html.rst
http.client.rst gh-94172: Update keyfile removal documentation (#105392) 2023-06-06 20:14:06 +02:00
http.cookiejar.rst gh-61105: Add default param, note on using cookiejar subclass (#95427) 2022-10-07 15:21:13 -07:00
http.cookies.rst gh-86986: Drop compatibility support for Sphinx 2 (GH-93737) 2022-06-21 17:04:46 +02:00
http.rst Fix misspelling in docs for http.HTTPMethod (#99376) 2022-11-13 12:46:28 -08:00
http.server.rst gh-91219: http - use subclassing to override index_pages attribute (GH-100731) 2023-01-03 15:20:08 -08:00
i18n.rst
idle.rst gh-75510: Edit idlelib entry in doc (#95869) 2022-08-10 22:44:17 -04:00
imaplib.rst gh-94172: Update keyfile removal documentation (#105392) 2023-06-06 20:14:06 +02:00
importlib.metadata.rst gh-102215: importlib documentation cleanups 2023-05-06 03:40:19 +01:00
importlib.resources.abc.rst GH-99818: improve the documentation for zipfile.Path and Traversable (GH-101589) 2023-02-20 11:21:10 -08:00
importlib.resources.rst gh-102215: importlib documentation cleanups 2023-05-06 03:40:19 +01:00
importlib.rst gh-98040: Remove find_loader, find_module and other deprecated APIs (#98059) 2023-05-03 04:55:22 -07:00
index.rst Update reference to the size of PyPI (#99076) 2022-11-09 11:26:46 -08:00
inspect.rst gh-102500: Document PEP 688 (#102571) 2023-05-04 08:23:40 -07:00
internet.rst GH-97950: Use new-style index directive ('module') (#103996) 2023-05-04 10:17:12 +02:00
intro.rst Doc: Fix broken link to emscripten networking website (#99531) 2022-11-18 10:57:04 -08:00
io.rst gh-91485: Avoid unnecessary use of non-Python syntax in io docs (#101177) 2023-01-20 23:06:10 +01:00
ipaddress.rst Slight correct grammar (GH-28860) 2021-10-12 12:29:29 +03:00
ipc.rst bpo-47061: document module deprecations due to PEP 594 (GH-31984) 2022-03-21 16:16:37 -07:00
itertools.rst sliding_window() recipe: Raise ValueError for non-positive window sizes. Add more tests. (GH-105403) 2023-06-06 13:44:45 -05:00
json.rst Revert "GH-96145: Add AttrDict to JSON module for use with object_hook (#96146)" (#105948) 2023-06-26 20:35:53 +02:00
keyword.rst Expand about soft keywords in the docs for keyword.py (GH-29139) 2021-10-23 09:24:02 -07:00
language.rst
linecache.rst
locale.rst gh-104783: Remove locale.resetlocale() function (#104784) 2023-06-06 14:55:50 +02:00
logging.config.rst gh-103606: raise RuntimeError if config file is invalid or empty (#104701) 2023-05-20 22:26:49 +00:00
logging.handlers.rst gh-98307: Add docstring and documentation for SysLogHandler.createSocket (GH-98319) 2022-10-16 09:15:46 +01:00
logging.rst gh-105376: Remove logging.Logger.warn() method (#105377) 2023-06-06 18:35:51 +00:00
lzma.rst gh-92446: Improve argparse choices docs; revert bad change to lzma docs (#94627) 2022-12-26 00:22:53 -06:00
mailbox.rst gh-96959: Update more HTTP links (GH-97536) 2022-09-27 14:08:11 +03:00
markup.rst
marshal.rst GH-97950: Use new-style index directive ('module') (#103996) 2023-05-04 10:17:12 +02:00
math.rst gh-82180: Update math.factorial(float) doc for Python 3.10 (#105385) 2023-06-06 21:47:57 +02:00
mimetypes.rst
mm.rst bpo-47061: document module deprecations due to PEP 594 (GH-31984) 2022-03-21 16:16:37 -07:00
mmap.rst gh-81652: Add MAP_ALIGNED_SUPER FreeBSD and MAP_CONCEAL OpenBSD constants (gh-102191) 2023-02-24 19:26:51 +09:00
modulefinder.rst bpo-47152: Convert the re module into a package (GH-32177) 2022-04-02 11:35:13 +03:00
modules.rst gh-93610: Improve docs for importlib.resources (#93611) 2022-07-25 18:16:17 +02:00
msvcrt.rst
multiprocessing.rst Revert "Avoid error lexing multiprocessing docs code block on Pygments 2.15.0" (#103616) 2023-04-22 15:41:58 -06:00
multiprocessing.shared_memory.rst gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961) 2022-09-24 14:38:53 +03:00
netdata.rst gh-68966: Deprecate the mailcap module (#91951) 2022-04-26 22:43:50 +02:00
netrc.rst bpo-28806: Continue work: improve the netrc library (GH-26330) 2021-11-17 11:07:54 +02:00
numbers.rst gh-68163: Correct conversion of Rational instances to float (GH-25619) 2022-09-04 13:15:59 +01:00
numeric.rst
operator.rst Corrected identifier (#104713) 2023-05-21 01:57:50 -04:00
optparse.rst gh-101100: Fix reference to `parse_args` in `optparse.rst` (#105265) 2023-06-28 15:30:26 +03:00
os.path.rst gh-104803: Implement ntpath.isdevdrive for checking whether a path is on a Windows Dev Drive (GH-104805) 2023-05-29 10:05:32 +01:00
os.rst GH-103545: Add macOS specific constants for ``os.setpriority`` to ``os`` (#104606) 2023-05-19 09:15:11 +02:00
pathlib-inheritance.png
pathlib-inheritance.svg Optimize images by IMGbot (GH-21348) 2022-02-04 15:49:43 +09:00
pathlib.rst GH-105793: Add follow_symlinks argument to `pathlib.Path.is_dir()` and `is_file()` (GH-105794) 2023-06-26 17:58:17 +01:00
pdb.rst gh-104301: Allow leading whitespace in disambiguated pdb statements (#104342) 2023-05-11 18:12:02 +01:00
persistence.rst
pickle.rst gh-104773: PEP 594: Remove the xdrlib module (#104900) 2023-05-25 00:40:30 +02:00
pickletools.rst
pkgutil.rst gh-97850: Deprecate `find_loader` and `get_loader` in `pkgutil` (GH-98520) 2023-05-03 16:11:54 -07:00
platform.rst gh-91038: Change default argument value to `False` instead of `0` (#31621) 2023-02-26 18:10:34 -08:00
plistlib.rst GH-103484: Fix redirected permanently URLs (#104001) 2023-05-02 09:34:44 +03:00
poplib.rst gh-94172: Update keyfile removal documentation (#105392) 2023-06-06 20:14:06 +02:00
posix.rst GH-97950: Use new-style index directive ('module') (#103996) 2023-05-04 10:17:12 +02:00
pprint.rst GH-97950: Use new-style index directive ('builtin') (#104164) 2023-05-06 06:54:08 +03:00
profile.rst gh-102994: Profile docs has typo in example (#103074) 2023-04-02 15:44:16 -07:00
pty.rst
pwd.rst gh-104773: PEP 594: Remove the crypt module (#104908) 2023-05-25 15:45:46 +02:00
py_compile.rst bpo-92336: [doc] clarify that the dfile is read by the traceback display code (GH-94409) 2022-06-29 20:24:43 +01:00
pyclbr.rst
pydoc.rst gh-100583: Improve the `pydoc` documentation (#100590) 2022-12-29 20:47:20 +05:30
pyexpat.rst GH-97950: Use new-style index directive ('module') (#103996) 2023-05-04 10:17:12 +02:00
python.rst
queue.rst GH-101777: `queue.rst`: use 2 spaces after a period to be consistent. (#102143) 2023-02-22 14:21:38 -06:00
quopri.rst
random.rst gh-104337: Clarify random.gammavariate doc entry (#104410) 2023-05-14 14:45:54 -04:00
re.rst gh-102259: Fix re doc issue regarding right square brackets (#102264) 2023-02-25 21:22:16 -05:00
readline.rst GH-103484: Fix broken links reported by linkcheck (#103608) 2023-04-22 08:24:47 -06:00
reprlib.rst gh-92734: Add indentation feature to reprlib.Repr (GH-92735) 2022-09-08 13:51:44 -05:00
resource.rst GH-103484: Fix redirected permanently URLs (#104001) 2023-05-02 09:34:44 +03:00
rlcompleter.rst
runpy.rst GH-97950: Use new-style index directive ('module') (#103996) 2023-05-04 10:17:12 +02:00
sched.rst gh-103417: use time.monotonic in the example for sched.scheduler (#103418) 2023-04-12 01:59:21 -07:00
secrets.rst gh-99502: mention bytes-like objects as input in `secrets.compare_digest` (GH-99512) 2022-11-26 01:33:48 -08:00
security_warnings.rst gh-104773: PEP 594: Remove cgi and cgitb modules (#104775) 2023-05-24 09:04:53 +00:00
select.rst GH-103484: Fix redirected permanently URLs (#104001) 2023-05-02 09:34:44 +03:00
selectors.rst gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452) 2022-08-02 21:00:41 +02:00
shelve.rst GH-97950: Use new-style index directive ('module') (#103996) 2023-05-04 10:17:12 +02:00
shlex.rst gh-94352: shlex.split() no longer accepts None (#94353) 2022-07-04 15:29:19 +02:00
shutil.rst gh-102950: Implement PEP 706 – Filter for tarfile.extractall (#102953) 2023-04-24 10:58:06 +02:00
signal.rst gh-85073: Add some missing links to source (GH-99363) 2022-11-18 11:33:40 -08:00
site.rst GH-97950: Use new-style index directive ('statement') (#104162) 2023-05-04 13:48:45 +03:00
smtplib.rst gh-94172: Update keyfile removal documentation (#105392) 2023-06-06 20:14:06 +02:00
socket.rst gh-92658: Fix typo in docs and tests for `HV_GUID_PARENT` (GH-105267) 2023-06-06 17:11:19 +01:00
socketserver.rst gh-103673: Add missing ForkingUnixStreamServer and ForkingUnixDatagramServer socketservers (#103674) 2023-04-24 22:35:52 +00:00
sqlite3.rst Docs: add links to 'callable' term in sqlite3 docs (#106072) 2023-06-25 02:02:59 +02:00
ssl.rst GH-103484: Fix redirected permanently URLs (#104001) 2023-05-02 09:34:44 +03:00
stat.rst bpo-45114: Use lstat() instead of stat() in stat docs example (GH-29845) 2022-04-02 13:58:26 -07:00
statistics.rst GH-103484: Fix redirected permanently URLs (#104001) 2023-05-02 09:34:44 +03:00
stdtypes.rst stdtypes.rst: remove a period (#105959) 2023-06-21 15:21:37 +01:00
string.rst GH-95088: Clarify rules for parsing an item key for format strings (#103779) 2023-06-06 19:01:36 -07:00
stringprep.rst
struct.rst gh-101100: Docs: Fix references to several numeric dunders (#106278) 2023-06-30 15:27:09 +01:00
subprocess.rst gh-104372: Drop the GIL around the vfork() call. (#104782) 2023-05-25 20:14:09 +00:00
superseded.rst gh-104773: PEP 594: Remove the imghdr module (#104777) 2023-05-26 13:29:45 +00:00
symtable.rst Change list to view object (#93661) 2022-06-11 11:54:31 +01:00
sys.rst GH-97950: Use new-style index directive ('object') (#104158) 2023-05-04 13:04:41 +03:00
sys_path_init.rst gh-105145: Remove old functions to config Python init (#105154) 2023-06-01 09:14:02 +02:00
sysconfig.rst GH-100206: use versionadded for the addition of sysconfig.get_default_scheme (#100207) 2022-12-13 12:54:07 +02:00
syslog.rst gh-99127: Allow some features of syslog to the main interpreter only (gh-99128) 2022-11-30 07:58:20 +09:00
tabnanny.rst
tarfile.rst tarfile: Fix positional-only syntax in docs (GH-105770) 2023-06-14 09:26:48 +02:00
tempfile.rst gh-51574: Make tempfile.mkdtemp() always return absolute paths (#94612) 2023-04-25 16:05:59 +00:00
termios.rst termios docs: fix indentation (#93080) 2022-05-22 15:55:11 -07:00
test.rst gh-102304: doc: Add links to Stable ABI and Limited C API (#105345) 2023-06-06 08:40:32 +00:00
text.rst
textwrap.rst bpo-44544: add textwrap placeholder arg (GH-27671) 2022-03-19 14:27:37 +02:00
threading.rst gh-86509: Add link to Lib/_threading_local.py in threading docs (#101824) 2023-03-10 13:22:02 +01:00
time.rst gh-95415: Make availability directive consistent (GH-95416) 2022-07-29 16:42:09 +02:00
timeit.rst gh-106232: Make timeit doc command lines compatible with Windows. (#106296) 2023-06-30 22:34:31 -04:00
tk.rst gh-75552: Remove deprecated tkinter.tix module (GH-104902) 2023-05-27 12:34:19 -05:00
tk_msg.png Optimize images by IMGbot (GH-21348) 2022-02-04 15:49:43 +09:00
tkinter.colorchooser.rst [doc]: Spotted errors while working on rstlint. (GH-30879) 2022-01-27 08:57:43 +01:00
tkinter.dnd.rst [doc]: Spotted errors while working on rstlint. (GH-30879) 2022-01-27 08:57:43 +01:00
tkinter.font.rst
tkinter.messagebox.rst [doc]: Spotted errors while working on rstlint. (GH-30879) 2022-01-27 08:57:43 +01:00
tkinter.rst gh-75552: Remove deprecated tkinter.tix module (GH-104902) 2023-05-27 12:34:19 -05:00
tkinter.scrolledtext.rst
tkinter.ttk.rst gh-96959: Update more HTTP links (GH-97536) 2022-09-27 14:08:11 +03:00
token-list.inc gh-102856: Python tokenizer implementation for PEP 701 (#104323) 2023-05-21 01:03:02 +01:00
token.rst gh-102856: Python tokenizer implementation for PEP 701 (#104323) 2023-05-21 01:03:02 +01:00
tokenize.rst Clarify the supported cases in the tokenize module (#105569) 2023-06-09 16:59:37 +01:00
tomllib.rst bpo-40059: Add tomllib (PEP-680) (GH-31498) 2022-03-08 09:26:13 +01:00
trace.rst
traceback.rst gh-105292: Add option to make traceback.TracebackException.format_exception_only recurse into exception groups (#105294) 2023-06-06 11:26:18 +02:00
tracemalloc.rst
tty.rst gh-85984: New additions and improvements to the tty library. (#101832) 2023-05-19 18:13:30 +00:00
tulip_coro.dia
tulip_coro.png
turtle-star.pdf
turtle-star.png
turtle-star.ps
turtle.rst gh-104876: Remove deprecated turtle.RawTurtle.settiltangle (#104877) 2023-05-26 07:25:52 +03:00
types.rst GH-97950: Use new-style index directive ('builtin') (#104164) 2023-05-06 06:54:08 +03:00
typing.rst Improve typing docs on the type of class objects (#106081) 2023-06-26 00:13:48 -07:00
unicodedata.rst closes gh-96734: Update to Unicode 15.0.0. (GH-96809) 2022-09-13 15:45:12 -07:00
unittest.mock-examples.rst GH-103484: Fix redirected permanently URLs (#104001) 2023-05-02 09:34:44 +03:00
unittest.mock.rst gh-61215: New mock to wait for multi-threaded events to happen (#16094) 2023-07-03 07:56:54 +01:00
unittest.rst GH-103484: Fix redirected permanently URLs (#104001) 2023-05-02 09:34:44 +03:00
unix.rst bpo-47061: document module deprecations due to PEP 594 (GH-31984) 2022-03-21 16:16:37 -07:00
urllib.error.rst gh-101536: [docs] Improve attributes of `urllib.error.HTTPError` (#101612) 2023-02-18 12:46:33 -03:00
urllib.parse.rst GH-104554: Add RTSPS support to `urllib/parse.py` (#104605) 2023-06-13 16:45:47 -07:00
urllib.request.rst gh-105382: Remove urllib.request cafile parameter (#105384) 2023-06-06 21:17:45 +00:00
urllib.robotparser.rst
urllib.rst
uuid.rst gh-94684: uuid: support bytes in the name argument to uuid3/5 (#94709) 2023-03-23 17:42:43 -06:00
venv.rst Adjust expression from `==` to `!=` in alignment with the meaning of the paragraph. (GH-104021) 2023-05-01 06:47:34 +01:00
warnings.rst gh-39615: Add warnings.warn() skip_file_prefixes support (#100840) 2023-01-27 18:35:14 -08:00
wave.rst gh-105096: Deprecate wave getmarkers() method (#105098) 2023-05-31 12:09:41 +00:00
weakref.rst gh-91081: Add note on WeakKeyDictionary behavior when deleting a replaced entry (#91499) 2022-12-20 19:27:02 -08:00
webbrowser.rst gh-105545: Remove deprecated `MacOSXOSAScript._name` (gh-105546) 2023-06-09 08:52:58 +00:00
windows.rst bpo-47061: document module deprecations due to PEP 594 (GH-31984) 2022-03-21 16:16:37 -07:00
winreg.rst gh-95423: Update winreg.DeleteKeyEx documentation and remove dynamic function load (GH-95521) 2022-08-03 21:55:03 +01:00
winsound.rst
wsgiref.rst gh-102011: use sys.exception() instead of sys.exc_info() in docs where possible (#102012) 2023-02-20 21:54:19 +00:00
xml.dom.minidom.rst Docs: Fix backtick errors found by sphinx-lint (#97998) 2022-10-06 18:01:30 -07:00
xml.dom.pulldom.rst
xml.dom.rst Update the OMG link (GH-30383) 2022-02-14 13:49:11 -08:00
xml.etree.elementtree.rst gh-83122: Deprecate testing element truth values in `ElementTree` (#31149) 2023-01-22 17:16:48 -08:00
xml.rst Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551) 2022-07-05 11:16:10 +02:00
xml.sax.handler.rst bpo-6686: Replace String with Bytes in xml.sax.handler documentation (#30612) 2022-05-02 16:26:42 -06:00
xml.sax.reader.rst
xml.sax.rst
xml.sax.utils.rst gh-71616: Add note to warn against general translation of saxutils.escape() (#93450) 2022-10-11 05:27:49 -04:00
xmlrpc.client.rst GH-103484: Fix redirected permanently URLs (#104001) 2023-05-02 09:34:44 +03:00
xmlrpc.rst
xmlrpc.server.rst Docs: Fix backtick errors found by sphinx-lint (#97998) 2022-10-06 18:01:30 -07:00
zipapp.rst gh-106111: Remove zipapp documentation on creating a Windows executable (#106112) 2023-06-26 18:14:20 +02:00
zipfile.rst GH-103484: Fix redirected permanently URLs (#104001) 2023-05-02 09:34:44 +03:00
zipimport.rst gh-98040: Remove find_loader, find_module and other deprecated APIs (#98059) 2023-05-03 04:55:22 -07:00
zlib.rst Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551) 2022-07-05 11:16:10 +02:00
zoneinfo.rst gh-99138: Isolate _zoneinfo (#99218) 2023-02-15 22:58:48 +01:00