cpython/Doc/library
Eric Wieser 90d85a9b41
gh-76961: Fix the PEP3118 format string for ctypes.Structure (#5561)
The summary of this diff is that it:

* adds a `_ctypes_alloc_format_padding` function to append strings like `37x` to a format string to indicate 37 padding bytes
* removes the branches that amount to "give up on producing a valid format string if the struct is packed"
* combines the resulting adjacent `if (isStruct) {`s now that neither is `if (isStruct && !isPacked) {`
* invokes `_ctypes_alloc_format_padding` to add padding between structure fields, and after the last structure field. The computation used for the total size is unchanged from ctypes already used.

This patch does not affect any existing aligment computation; all it does is use subtraction to deduce the amount of paddnig introduced by the existing code.

---

Without this fix, it would never include padding bytes - an assumption that was only
valid in the case when `_pack_` was set - and this case was explicitly not implemented.

This should allow conversion from ctypes structs to numpy structs

Fixes https://github.com/numpy/numpy/issues/10528
2023-02-05 17:10:53 +00:00
..
2to3.rst Use mdash-es consistently in the library docs index (#92762) 2022-07-08 16:44:15 +02: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 gh-98763: Prefer "python" over "python3" for command line examples in docs. (#98761) 2023-01-11 15:35:41 +05:30
_thread.rst gh-99377: Add audit events for thread creation and clear (GH-99378) 2022-11-16 17:15:52 +00:00
abc.rst bpo-43698: do not use ... as argument name in docs (GH-30502) 2022-01-26 19:06:10 +09:00
aifc.rst gh-92611: Clarify planned removal version in PEP 594-deprecated modules (GH-92793) 2022-05-20 14:47:51 -07:00
allos.rst
archiving.rst
argparse.rst Add missing preposition in argparse docs (#101548) 2023-02-05 15:15:07 +05:30
array.rst gh-100925: Move array methods under class in array doc (#101485) 2023-02-03 08:03:27 +08:00
ast.rst gh-95588: Drop the safety claim from ast.literal_eval docs. (#95919) 2022-10-01 17:55:40 -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-100160: Restore and deprecate implicit creation of an event loop (GH-100410) 2023-01-13 14:40:29 +02:00
asyncio-exceptions.rst
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
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-100920: Update documentation for asyncio.StreamWriter.wait_closed (#101514) 2023-02-03 12:48:39 +05:30
asyncio-subprocess.rst Fix broken link in asyncio-subprocesses doc (GH-99214) 2022-11-08 08:26:06 -08: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 gh-101498 : Fix asyncio.Timeout example in docs (#101499) 2023-02-01 10:08:31 -08:00
asyncio.rst Added asyncio REPL example to docs. (#101243) 2023-01-23 17:01:13 +05:30
atexit.rst
audioop.rst gh-92611: Clarify planned removal version in PEP 594-deprecated modules (GH-92793) 2022-05-20 14:47:51 -07:00
audit_events.rst
base64.rst gh-90717: Update the documentation for the altchars paremeter in base64 library (GH-94187) 2022-11-29 16:21:01 +00:00
bdb.rst Docs: Fix backtick errors found by sphinx-lint (#97998) 2022-10-06 18:01:30 -07:00
binary.rst
binascii.rst binascii docs: strict_mode parameter is keyword-only (#93055) 2022-05-22 18:48:17 -07:00
bisect.rst gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961) 2022-09-24 14:38:53 +03: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 bpo-46659: Enhance LocaleTextCalendar for C locale (GH-31214) 2022-02-24 14:29:08 +01:00
cgi.rst gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452) 2022-08-02 21:00:41 +02:00
cgitb.rst gh-92611: Clarify planned removal version in PEP 594-deprecated modules (GH-92793) 2022-05-20 14:47:51 -07:00
chunk.rst gh-92611: Clarify planned removal version in PEP 594-deprecated modules (GH-92793) 2022-05-20 14:47:51 -07:00
cmath.rst Revert "gh-89381: Fix invalid signatures of math/cmath.log (#101404)" (#101580) 2023-02-05 16:36:33 +00:00
cmd.rst
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
collections.abc.rst
collections.rst gh-99087: Add missing newline for prompts in docs (GH-98993) 2022-12-08 19:31:19 -08: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-84559: Remove the new multiprocessing warning, too disruptive. (#101551) 2023-02-03 15:20:46 -08:00
concurrent.rst
configparser.rst gh-98644: point people to tomllib from configparser’s docs (#98645) 2022-10-26 07:06:20 -07:00
constants.rst
contextlib.rst Formatting fixes in contextlib docs (#98111) 2022-10-11 20:56:32 -07: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
copyreg.rst gh-56133: copyreg docs: Clarify function/constructor parameter (#95497) 2022-10-09 17:51:02 -07:00
crypt.rst gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452) 2022-08-02 21:00:41 +02:00
crypto.rst
csv.rst gh-65496: Correct wording on csv's skipinitialspace argument (#96170) 2022-10-07 11:15:34 -07:00
ctypes.rst gh-76961: Fix the PEP3118 format string for ctypes.Structure (#5561) 2023-02-05 17:10:53 +00:00
curses.ascii.rst gh-85073: Add some missing links to source (GH-99363) 2022-11-18 11:33:40 -08:00
curses.panel.rst
curses.rst gh-100616: Document 'attr' parameter for window.vline() in curses module (#24961) 2022-12-30 08:35:04 -08: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-99026 update dataclasses docs for when annotations are inspected (gh-100798) 2023-01-06 09:26:44 -05:00
datatypes.rst
datetime.rst datetime.rst: fix combine() signature (#101490) 2023-02-01 14:01:28 +04:00
dbm.rst
debug.rst
decimal.rst gh-99087: Add missing newline for prompts in docs (GH-98993) 2022-12-08 19:31:19 -08:00
development.rst
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-101454: fix documentation for END_ASYNC_FOR (#101455) 2023-02-01 12:49:59 +00: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 Fix capitalization of Unix in documentation (#96913) 2022-10-01 16:41:06 -07: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-93243: Make smtpd private before porting its users (GH-93246) 2022-08-05 17:41:29 -07:00
email.utils.rst
ensurepip.rst gh-85073: Add some missing links to source (GH-99363) 2022-11-18 11:33:40 -08:00
enum.rst docs: Fix enum reassign str documentation (GH-101507) 2023-02-02 12:12:57 -08:00
errno.rst gh-96005: FreeBSD has ENOTCAPABLE, too (GH-96034) 2022-08-17 07:24:53 +02:00
exceptions.rst gh-99619: fix error in documentation of ExceptionGroup.derive() (GH-99621) 2022-11-23 10:59:52 +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 fnmatch docs: link to fnmatch.filter(), not builtins.filter() (#99819) 2022-11-28 18:08:08 +00:00
fractions.rst gh-67790: Support float-style formatting for Fraction instances (#100161) 2023-01-22 18:44:49 +00:00
frameworks.rst
ftplib.rst gh-94172: Update docs for params removed in 3.12 (#100431) 2022-12-28 14:43:19 -05:00
functional.rst
functions.rst Sync-up parameter name in equivalent code snippet of enumerate (GH-101029) 2023-01-13 23:55:35 -06:00
functools.rst Doc: sphinx-lint finds two other default roles. (GH-98019) 2022-10-07 09:10:51 +02:00
gc.rst
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
grp.rst gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10 (GH-95346) 2022-08-12 18:22:06 +02:00
gzip.rst gh-94196: Remove gzip.GzipFile.filename attribute (#94197) 2022-06-24 11:59:32 +02:00
hashlib-blake2-tree.png Optimize images by IMGbot (GH-21348) 2022-02-04 15:49:43 +09:00
hashlib.rst gh-99087: Add missing newline for prompts in docs (GH-98993) 2022-12-08 19:31:19 -08: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 docs for params removed in 3.12 (#100431) 2022-12-28 14:43:19 -05: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 docs for params removed in 3.12 (#100431) 2022-12-28 14:43:19 -05:00
imghdr.rst gh-85455: Add missing doc strings and improve docs (#21573) 2022-10-15 09:31:06 -04:00
imp.rst gh-92611: Clarify planned removal version in PEP 594-deprecated modules (GH-92793) 2022-05-20 14:47:51 -07:00
importlib.metadata.rst docs: Change links to label refs (#98454) 2022-10-25 20:26:28 -07:00
importlib.resources.abc.rst gh-99795: Fix typo in importlib.resources.abc (GH-99796) 2022-11-26 10:01:08 -08:00
importlib.resources.rst gh-97930: Apply changes from importlib_resources 5.10. (GH-100598) 2023-01-01 11:07:32 -05:00
importlib.rst gh-97850: Remove deprecated functions from importlib.utils (#97898) 2022-10-06 17:57:10 -07:00
index.rst Update reference to the size of PyPI (#99076) 2022-11-09 11:26:46 -08:00
inspect.rst gh-94912: Added marker for non-standard coroutine function detection (#99247) 2022-12-18 11:13:24 -08:00
internet.rst bpo-47061: document module deprecations due to PEP 594 (GH-31984) 2022-03-21 16:16:37 -07: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
ipc.rst bpo-47061: document module deprecations due to PEP 594 (GH-31984) 2022-03-21 16:16:37 -07:00
itertools.rst Add recipes to showcase tee(), zip*, batched, starmap, and product. (GH-101023) 2023-01-13 19:01:22 -06:00
json.rst gh-96959: Update more HTTP links (GH-97536) 2022-09-27 14:08:11 +03:00
keyword.rst
language.rst
linecache.rst
locale.rst GH-100766: Note that locale.LC_MESSAGES is not universal (GH-100702) 2023-01-05 03:34:30 +00:00
logging.config.rst [doc] Add a section on logging handler configuration order. (GH-101380) 2023-01-27 19:01:30 +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-96727: Document restrictions on Handler.emit() with respect to locking. (GH-96948) 2022-09-20 09:40:06 +01: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
mailcap.rst gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) 2022-06-03 11:43:35 +02:00
markup.rst
marshal.rst
math.rst Revert "gh-89381: Fix invalid signatures of math/cmath.log (#101404)" (#101580) 2023-02-05 16:36:33 +00: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-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452) 2022-08-02 21:00:41 +02: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
msilib.rst gh-92611: Clarify planned removal version in PEP 594-deprecated modules (GH-92793) 2022-05-20 14:47:51 -07:00
msvcrt.rst
multiprocessing.rst gh-84559: Remove the new multiprocessing warning, too disruptive. (#101551) 2023-02-03 15:20:46 -08: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
nis.rst gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452) 2022-08-02 21:00:41 +02:00
nntplib.rst gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452) 2022-08-02 21:00:41 +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
optparse.rst GH-101111: Disambigaute origin of const for store_const and append_const (#101121) 2023-01-20 23:13:07 +01:00
os.path.rst gh-77607: Improve accuracy of os.path.join docs (#101406) 2023-01-30 21:39:30 -08:00
os.rst bpo-28356: Document os.rename() behavior on Windows for differing volumes (GH-27376) 2023-01-09 21:43:09 +00:00
ossaudiodev.rst gh-92611: Clarify planned removal version in PEP 594-deprecated modules (GH-92793) 2022-05-20 14:47:51 -07:00
pathlib-inheritance.png
pathlib-inheritance.svg Optimize images by IMGbot (GH-21348) 2022-02-04 15:49:43 +09:00
pathlib.rst gh-86610: Use attribute directive in docs for pathlib.PurePath (#101114) 2023-01-20 23:13:58 +01:00
pdb.rst GH-56426: Add cross-reference to the documentation for faulthandler, traceback, and pdb. (#101157) 2023-02-04 09:19:29 +05:30
persistence.rst
pickle.rst gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961) 2022-09-24 14:38:53 +03:00
pickletools.rst
pipes.rst gh-95415: Make availability directive consistent (GH-95416) 2022-07-29 16:42:09 +02:00
pkgutil.rst pkgutil docs: Link sys constants, add backticks (GH-32356) 2022-04-06 17:51:05 -07:00
platform.rst gh-97966: Update uname docs to clarify the special nature of the platform attribute and to indicate when it became late-bound. (#97972) 2022-10-30 11:53:58 -04:00
plistlib.rst
poplib.rst gh-94172: Update docs for params removed in 3.12 (#100431) 2022-12-28 14:43:19 -05:00
posix.rst gh-93738: Documentation C syntax (:c:type:<C type> -> :c:expr:<C type>) (#97768) 2022-10-05 11:01:14 -07:00
pprint.rst bpo-42259: clarify pprint saferepr docs (#30256) 2022-05-10 12:22:36 -05:00
profile.rst Fix: typo (Indention) (GH-99904) 2022-12-12 04:25:22 -08:00
pty.rst
pwd.rst gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452) 2022-08-02 21:00:41 +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
python.rst
queue.rst Update code sample when importing modules in queue doc (GH-94244) 2022-07-01 17:51:46 +02:00
quopri.rst
random.rst GH-101097: Switch from standard interval notation to greater or less than signs for random.random()'s documentation (#101119) 2023-01-22 14:58:36 -06:00
re.rst gh-99308: Clarify re docs for byte pattern group names (#99311) 2022-12-25 12:25:27 +05:30
readline.rst
reprlib.rst gh-92734: Add indentation feature to reprlib.Repr (GH-92735) 2022-09-08 13:51:44 -05:00
resource.rst gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452) 2022-08-02 21:00:41 +02:00
rlcompleter.rst
runpy.rst gh-65961: Do not rely solely on __cached__ (GH-97990) 2022-10-06 15:40:22 -07:00
sched.rst gh-77771: Add enterabs example in sched (#92716) 2022-12-23 23:21:52 -06: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-81054: Document that SimpleHTTPRequestHandler follows symbolic links (GH-94416) 2022-07-01 18:21:27 +02:00
select.rst Docs: Fix backtick errors found by sphinx-lint (#97998) 2022-10-06 18:01:30 -07: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
shlex.rst gh-94352: shlex.split() no longer accepts None (#94353) 2022-07-04 15:29:19 +02:00
shutil.rst gh-74696: Pass root_dir to custom archivers which support it (GH-94251) 2022-10-05 12:48:59 +03:00
signal.rst gh-85073: Add some missing links to source (GH-99363) 2022-11-18 11:33:40 -08:00
site.rst gh-98763: Prefer "python" over "python3" for command line examples in docs. (#98761) 2023-01-11 15:35:41 +05:30
smtplib.rst gh-94172: Update docs for params removed in 3.12 (#100431) 2022-12-28 14:43:19 -05:00
sndhdr.rst gh-85525: Remove extra row in doc (#98337) 2022-10-16 13:43:31 -04:00
socket.rst GH-100813: Add socket.IP_PKTINFO constant (#10294) 2023-01-09 14:30:40 +05:30
socketserver.rst Docs: improve accuracy of socketserver reference (#24767) 2022-11-29 21:34:52 +01:00
spwd.rst gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452) 2022-08-02 21:00:41 +02:00
sqlite3.rst Docs: improve accuracy of sqlite3 check_same_thread parameter (#101351) 2023-02-02 00:52:29 +01:00
ssl.rst Fix minor typos in SSL documentation (#101158) 2023-01-20 23:08:45 +01: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-99087: Add missing newline for prompts in docs (GH-98993) 2022-12-08 19:31:19 -08:00
stdtypes.rst gh-100268: Add is_integer method to int (#100439) 2022-12-23 18:30:27 -08:00
string.rst GH-95685: Fix rendering of the string documentation (#95686) 2022-08-05 09:41:02 +02:00
stringprep.rst
struct.rst gh-101386: fix typos found by codespell (#101387) 2023-01-28 11:57:40 +02:00
subprocess.rst gh-88324: Clarify documentation for redirected stdout/stderr when using subprocess in Linux (#94035) 2023-01-19 23:56:13 -08:00
sunau.rst gh-92611: Clarify planned removal version in PEP 594-deprecated modules (GH-92793) 2022-05-20 14:47:51 -07:00
superseded.rst gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01:00
symtable.rst Change list to view object (#93661) 2022-06-11 11:54:31 +01:00
sys.rst gh-86682: Adds sys._getframemodulename as an alternative to using _getframe (GH-99520) 2023-01-13 11:31:06 +00:00
sys_path_init.rst bpo-31582: Created a new documentation section describing sys.path initialization (GH-31082) 2022-03-23 17:29:40 +00: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 gh-101422: (docs) TarFile default errorlevel argument is 1, not 0 (GH-101424) 2023-01-30 09:56:33 -08:00
telnetlib.rst gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452) 2022-08-02 21:00:41 +02:00
tempfile.rst gh-58451: Add optional delete_on_close parameter to NamedTemporaryFile (GH-97015) 2022-10-04 23:37:33 +01:00
termios.rst termios docs: fix indentation (#93080) 2022-05-22 15:55:11 -07:00
test.rst Fix capitalization of Unix in documentation (#96913) 2022-10-01 16:41:06 -07:00
text.rst
textwrap.rst bpo-44544: add textwrap placeholder arg (GH-27671) 2022-03-19 14:27:37 +02:00
threading.rst GH-93503: Add thread-specific APIs to set profiling and tracing functions in the C-API (#93504) 2022-08-24 23:21:39 +01:00
time.rst gh-95415: Make availability directive consistent (GH-95416) 2022-07-29 16:42:09 +02:00
timeit.rst gh-101221: Add options in the documentation of timeit command (#101222) 2023-02-05 15:25:36 +05:30
tk.rst [doc]: Spotted errors while working on rstlint. (GH-30879) 2022-01-27 08:57:43 +01: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-96959: Update more HTTP links (GH-97536) 2022-09-27 14:08:11 +03:00
tkinter.scrolledtext.rst
tkinter.tix.rst gh-96959: Update more HTTP links (GH-97536) 2022-09-27 14:08:11 +03:00
tkinter.ttk.rst gh-96959: Update more HTTP links (GH-97536) 2022-09-27 14:08:11 +03:00
token-list.inc gh-97669: Create Tools/build/ directory (#97963) 2022-10-17 12:01:00 +02:00
token.rst
tokenize.rst
tomllib.rst bpo-40059: Add tomllib (PEP-680) (GH-31498) 2022-03-08 09:26:13 +01:00
trace.rst
traceback.rst GH-56426: Add cross-reference to the documentation for faulthandler, traceback, and pdb. (#101157) 2023-02-04 09:19:29 +05:30
tracemalloc.rst
tty.rst
tulip_coro.dia
tulip_coro.png
turtle-star.pdf
turtle-star.png
turtle-star.ps
turtle.rst Doctest cleanups (GH-95436) 2022-07-30 17:21:08 -05:00
types.rst gh-87995: Make MappingProxyType hashable (GH-94252) 2022-06-28 11:54:58 +02:00
typing.rst gh-100673: Removed erroneous note in the get_type_hints docs (#100701) 2023-01-07 17:31:47 +00: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 Docs: Fix backtick errors found by sphinx-lint (#97998) 2022-10-06 18:01:30 -07:00
unittest.mock.rst gh-99087: Add missing newline for prompts in docs (GH-98993) 2022-12-08 19:31:19 -08:00
unittest.rst gh-100824: Fix typo in the documentation of unittest.TestLoader.testNamePatterns (#100825) 2023-01-08 13:37:16 +05:30
unix.rst bpo-47061: document module deprecations due to PEP 594 (GH-31984) 2022-03-21 16:16:37 -07:00
urllib.error.rst
urllib.parse.rst gh-91708: Revert params note in urllib.parse.urlparse table (#96699) 2022-10-07 12:19:36 -07:00
urllib.request.rst gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452) 2022-08-02 21:00:41 +02:00
urllib.robotparser.rst
urllib.rst
uu.rst gh-92611: Clarify planned removal version in PEP 594-deprecated modules (GH-92793) 2022-05-20 14:47:51 -07:00
uuid.rst GH-88597: Rename uuid's new CLI args to be in line with uuidgen. (#101248) 2023-01-25 09:39:42 -08:00
venv.rst gh-100176: venv: Remove redundant compat code for Python <= 3.2 (#100177) 2022-12-14 11:37:11 +00:00
warnings.rst gh-39615: Add warnings.warn() skip_file_prefixes support (#100840) 2023-01-27 18:35:14 -08:00
wave.rst gh-77171: Fixes SubFormat check to compare the entire value. Add docs (GH-97509) 2022-09-23 16:08:21 +01: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-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452) 2022-08-02 21:00:41 +02: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-85073: Add some missing links to source (GH-99363) 2022-11-18 11:33:40 -08:00
xdrlib.rst gh-92611: Clarify planned removal version in PEP 594-deprecated modules (GH-92793) 2022-05-20 14:47:51 -07: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 Docs: Fix backtick errors found by sphinx-lint (#97998) 2022-10-06 18:01:30 -07: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
zipfile.rst gh-101144: Allow open and read_text encoding to be positional. (#101145) 2023-01-19 23:04:30 -08:00
zipimport.rst
zlib.rst Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551) 2022-07-05 11:16:10 +02:00
zoneinfo.rst gh-85073: Add some missing links to source (GH-99363) 2022-11-18 11:33:40 -08:00