cpython/Doc/library
Eric Snow 2c1e2583fd
bpo-43693: Add new internal code objects fields: co_fastlocalnames and co_fastlocalkinds. (gh-26388)
A number of places in the code base (notably ceval.c and frameobject.c) rely on mapping variable names to indices in the frame "locals plus" array (AKA fast locals), and thus opargs.  Currently the compiler indirectly encodes that information on the code object as the tuples co_varnames, co_cellvars, and co_freevars.  At runtime the dependent code must calculate the proper mapping from those, which isn't ideal and impacts performance-sensitive sections.  This is something we can easily address in the compiler instead.

This change addresses the situation by replacing internal use of co_varnames, etc. with a single combined tuple of names in locals-plus order, along with a minimal array mapping each to its kind (local vs. cell vs. free).  These two new PyCodeObject fields, co_fastlocalnames and co_fastllocalkinds, are not exposed to Python code for now, but co_varnames, etc. are still available with the same values as before (though computed lazily).

Aside from the (mild) performance impact, there are a number of other benefits:

* there's now a clear, direct relationship between locals-plus and variables
* code that relies on the locals-plus-to-name mapping is simpler
* marshaled code objects are smaller and serialize/de-serialize faster

Also note that we can take this approach further by expanding the possible values in co_fastlocalkinds to include specific argument types (e.g. positional-only, kwargs).  Doing so would allow further speed-ups in _PyEval_MakeFrameVector(), which is where args get unpacked into the locals-plus array.  It would also allow us to shrink marshaled code objects even further.

https://bugs.python.org/issue43693
2021-06-03 10:28:27 -06:00
..
2to3.rst bpo-40360: Deprecate lib2to3 module in light of PEP 617 (GH-19663) 2020-04-24 11:19:46 -07:00
__future__.rst bpo-38605: Update __future__ module doc as annotations is now "mandatory in 3.11" (GH-25602) 2021-04-25 12:49:26 -07:00
__main__.rst
_thread.rst bpo-43356: Allow passing a signal number to interrupt_main() (GH-24755) 2021-03-11 23:35:45 +01:00
abc.rst [doc] Fix abc.update_abstractmethods markup (GH-23576) 2020-12-01 01:45:11 -08:00
aifc.rst bpo-40204: Add :noindex: in the documentation (GH-21859) 2020-08-13 21:41:54 +02:00
allos.rst
archiving.rst
argparse.rst Use the zero argument form of super() in examples for Python3 docs. (GH-22314) 2021-04-26 15:13:54 -07:00
array.rst Doc: Fix the array.fromfile method doc (GH-22037) 2021-04-26 07:19:21 -07:00
ast.rst bpo-43892: Make match patterns explicit in the AST (GH-25585) 2021-04-28 22:58:44 -07:00
asynchat.rst
asyncio-api-index.rst Fix some minor errors in the docs (GH-24834) 2021-03-13 17:00:28 -08:00
asyncio-dev.rst Improve asyncio-dev 'Concurrency and Multithreading' docs (GH-20882) 2020-08-29 16:47:38 -07:00
asyncio-eventloop.rst Typo fix in asyncio-eventloop.rst (GH-26482) 2021-06-02 12:00:25 -03:00
asyncio-exceptions.rst docs: Add asyncio source code links (GH-16640) 2019-10-10 19:18:46 -04:00
asyncio-future.rst bpo-39529: Deprecate creating new event loop in asyncio.get_event_loop() (GH-23554) 2021-04-25 13:40:44 +03:00
asyncio-llapi-index.rst bpo-34746: Fix stop -> close (GH-9437) 2018-09-20 01:17:09 -04:00
asyncio-platforms.rst docs: Add asyncio source code links (GH-16640) 2019-10-10 19:18:46 -04:00
asyncio-policy.rst [doc] Fix erroneous backslashes in signatures and names (GH-23658) 2020-12-16 17:37:28 -08:00
asyncio-protocol.rst Subprocess Protocols Documentation (GH-20950) 2021-05-14 10:20:33 -07:00
asyncio-queue.rst bpo-42392: [docs] Add deprecated-removed loop labels for asyncio (GH-26357) 2021-05-26 14:59:34 -07:00
asyncio-stream.rst bpo-42392: [docs] Add deprecated-removed loop labels for asyncio (GH-26357) 2021-05-26 14:59:34 -07:00
asyncio-subprocess.rst bpo-42392: [docs] Add deprecated-removed loop labels for asyncio (GH-26357) 2021-05-26 14:59:34 -07:00
asyncio-sync.rst bpo-42392: [docs] Add deprecated-removed loop labels for asyncio (GH-26357) 2021-05-26 14:59:34 -07:00
asyncio-task.rst bpo-42392: [docs] Add deprecated-removed loop labels for asyncio (GH-26357) 2021-05-26 14:59:34 -07:00
asyncio.rst docs: Add asyncio source code links (GH-16640) 2019-10-10 19:18:46 -04:00
asyncore.rst bpo-11233: Create availability directive for documentation (GH-9692) 2018-10-12 16:55:20 +02:00
atexit.rst bpo-31901: atexit callbacks should be run at subinterpreter shutdown (#4611) 2017-12-20 11:17:58 +01:00
audioop.rst
audit_events.rst bpo-42800: add audit hooks for f_code and tb_frame (GH-24182) 2021-04-30 00:15:55 +01:00
base64.rst bpo-42843: Keep Sphinx 1.8 and Sphinx 2 compatibility (GH-24282) 2021-01-25 15:46:06 +01:00
bdb.rst [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620) 2019-06-05 18:22:31 +03:00
binary.rst
binascii.rst bpo-39353: binascii.crc_hqx() is no longer deprecated (GH-18276) 2020-01-30 09:56:40 +01:00
binhex.rst bpo-39353: Deprecate the binhex module (GH-18025) 2020-01-22 20:44:22 +01:00
bisect.rst bpo-4356: Add key function support to the bisect module (GH-20556) 2020-10-19 22:04:01 -07:00
builtins.rst bpo-44045: fix spelling of uppercase vs upper-case (GH-25985) 2021-05-28 17:54:25 -03:00
bz2.rst bpo-43785: Update bz2 document (GH-25351) 2021-04-14 08:22:49 +09:00
calendar.rst bpo-41228: Fix /a/are/ in monthcalendar() descripton (GH-21372) 2020-07-10 21:54:53 -04:00
cgi.rst [doc] Fix typos in cgi.rst (#24766) 2021-05-14 18:09:01 +01:00
cgitb.rst
chunk.rst
cmath.rst bpo-36908: 'This module is always available' isn't helpful. (#13297) 2019-05-17 15:29:13 +05:30
cmd.rst bpo-35054: Add yet more index entries for symbols. (GH-10121) 2018-10-28 13:41:26 +02:00
code.rst bpo-38872: Document exec symbol for codeop.compile_command (GH-20047) 2020-05-14 21:59:46 -03:00
codecs.rst bpo-37751: Update codecs.register() doc. (GH-25643) 2021-04-28 09:37:02 +09:00
codeop.rst bpo-38872: Document exec symbol for codeop.compile_command (GH-20047) 2020-05-14 21:59:46 -03:00
collections.abc.rst Clarify that Set._from_iterable is not required to be a classmethod. (GH-23272) 2020-11-21 11:56:24 -08:00
collections.rst bpo-25478: Add total() method to collections.Counter (GH-25829) 2021-05-02 20:19:51 -07:00
colorsys.rst Update link in colorsys docs to be https (GH-14062) 2019-06-15 07:09:36 -07:00
compileall.rst Clarify rx parameter of compileall functions (#25857) 2021-05-04 21:37:39 +02:00
concurrency.rst Put contextvars docs into the concurrency category (GH-24760) 2021-03-06 08:25:54 -08:00
concurrent.futures.rst [doc] Fix erroneous backslashes in signatures and names (GH-23658) 2020-12-16 17:37:28 -08:00
concurrent.rst
configparser.rst bpo-41963: document that ConfigParser strips off comments (GH-26197) 2021-05-18 18:11:23 +02:00
constants.rst bpo-41810: Reintroduce types.EllipsisType, .NoneType & .NotImplementedType (GH-22336) 2020-09-22 08:55:34 -07:00
contextlib.rst bpo-44279: [doc] reword contextlib.suppress documentation (GH-26428) 2021-06-01 21:15:30 +01:00
contextvars.rst [doc] Fix erroneous backslashes in signatures and names (GH-23658) 2020-12-16 17:37:28 -08:00
copy.rst Fix copy.Error casing in documentation GH-22004 2021-04-25 18:22:28 -07:00
copyreg.rst Do not use explicit inheritance from object in the documentation. (GH-13936) 2019-06-10 13:35:52 +03:00
crypt.rst bpo-31904: Don't build the _crypt extension on VxWorks (GH-12833) 2019-04-15 11:02:20 +02:00
crypto.rst
csv.rst bpo-34003: Re-add versionchanged entry in csv docs (GH-20657) 2020-06-09 18:02:11 -07:00
ctypes.rst bpo-43087: Fix error in ctypes "Incomplete Types" doc (GH-24404) 2021-04-05 15:21:00 -04:00
curses.ascii.rst bpo-35054: Add yet more index entries for symbols. (GH-10121) 2018-10-28 13:41:26 +02:00
curses.panel.rst bpo-30872: Update the curses docs to Python 3. (#2620) 2017-10-04 22:44:13 +03:00
curses.rst bpo-43084: Return bool instead of int from curses.window.enclose() (GH-24398) 2021-04-05 16:50:24 +03:00
custominterp.rst
dataclasses.rst bpo-43558: Add note about base class initialization to dataclasses doc (GH-25967) 2021-05-10 09:30:22 -04:00
datatypes.rst bpo-17005: Move topological sort functionality to its own module (GH-20558) 2020-06-01 00:41:14 +01:00
datetime.rst [doc] Fix missing commas in signatures (#23693) 2020-12-22 11:02:52 -05:00
dbm.rst bpo-33106: change dbm key deletion error for readonly file from KeyError to dbm.error (#6295) 2018-12-12 20:46:55 +08:00
debug.rst bpo-37390: Add audit event table to documentations (GH-14406) 2019-06-27 10:47:59 -07:00
decimal.rst bpo-43774: Add more links to configure options (GH-25363) 2021-04-12 23:27:35 +02:00
development.rst bpo-39429: Add a new "Python Development Mode" doc page (GH-18132) 2020-01-24 10:22:18 +01:00
devmode.rst bpo-43774: Document configure options (GH-25283) 2021-04-08 22:32:21 +02:00
dialog.rst [doc] Fix a few margins due to bad markup (GH-23619) 2020-12-17 09:25:55 -08:00
difflib.rst bpo-42843: Keep Sphinx 1.8 and Sphinx 2 compatibility (GH-24282) 2021-01-25 15:46:06 +01:00
dis.rst bpo-43693: Add new internal code objects fields: co_fastlocalnames and co_fastlocalkinds. (gh-26388) 2021-06-03 10:28:27 -06:00
distribution.rst bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814) 2018-05-15 14:58:35 -04:00
distutils.rst bpo-41282: Add deprecation warning and docs for distutils (PEP 632) (GH-24355) 2021-01-29 21:48:55 +00:00
doctest.rst bpo-42843: Keep Sphinx 1.8 and Sphinx 2 compatibility (GH-24282) 2021-01-25 15:46:06 +01:00
email.charset.rst bpo-26441: Remove documentation for deleted to_splittable and from_splittable methods (#9865) 2018-10-18 20:13:23 -04:00
email.compat32-message.rst Fix id of 'Internet Message Format' RFC in email doc (GH-24137) 2021-04-25 18:38:12 -07:00
email.contentmanager.rst [doc] Fix missing commas in signatures (#23693) 2020-12-22 11:02:52 -05:00
email.encoders.rst Fix typos in comments, docs and test names (#15018) 2019-07-30 18:16:13 -04:00
email.errors.rst bpo-30681: Support invalid date format or value in email Date header (GH-22090) 2020-10-26 17:31:06 -07:00
email.examples.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-31 07:39:00 +03:00
email.generator.rst Fix typos in Doc/library/email.generator.rst documentation (GH-13539) 2019-05-24 09:50:35 -04:00
email.header.rst bpo-42843: Keep Sphinx 1.8 and Sphinx 2 compatibility (GH-24282) 2021-01-25 15:46:06 +01:00
email.headerregistry.rst bpo-42770: Fix a typo in the email.headerregistry docs (GH-23982) 2020-12-28 20:12:37 -08:00
email.iterators.rst
email.message.rst bpo-38738: Fix formatting of True and False. (GH-17083) 2019-11-12 16:57:03 +02:00
email.mime.rst
email.parser.rst Correct a couple of unbalanced parenthesis. (GH-10779) 2018-12-05 21:45:30 +02:00
email.policy.rst [doc] Fix erroneous backslashes in signatures and names (GH-23658) 2020-12-16 17:37:28 -08:00
email.rst Fix id of 'Internet Message Format' RFC in email doc (GH-24137) 2021-04-25 18:38:12 -07:00
email.utils.rst bpo-30681: Support invalid date format or value in email Date header (GH-22090) 2020-10-26 17:31:06 -07:00
ensurepip.rst bpo-42856: Add --with-wheel-pkg-dir=PATH configure option (GH-24210) 2021-01-20 17:07:21 +01:00
enum.rst Remove duplicate words in docs. (GH-26167) 2021-05-21 23:39:09 +05:30
errno.rst
exceptions.rst bpo-44030: Fix formatting error in exceptions docs (GH-25929) 2021-05-13 01:11:36 +01:00
faulthandler.rst bpo-39429: Add a new "Python Development Mode" doc page (GH-18132) 2020-01-24 10:22:18 +01:00
fcntl.rst bpo-41586: Add pipesize parameter to subprocess & F_GETPIPE_SZ and F_SETPIPE_SZ to fcntl. (GH-21921) 2020-10-19 16:30:02 -07:00
filecmp.rst bpo-15450: Allow subclassing of dircmp (GH-23424) (#23424) 2020-11-23 18:29:37 +02:00
fileformats.rst
fileinput.rst Remove duplicate words in docs. (GH-26167) 2021-05-21 23:39:09 +05:30
filesys.rst bpo-35471: Remove the macpath module (GH-11129) 2018-12-14 13:37:26 +01:00
fnmatch.rst bpo-36769: Document that fnmatch.filter supports any kind of iterable (#13039) 2020-12-18 20:10:20 +01:00
fractions.rst bpo-39350: Fix fractions for int subclasses (GH-18375) 2020-02-07 23:42:51 +01:00
frameworks.rst
ftplib.rst Simple Enhancement. Add missing return statements in ftplib documentation. (GH-25968) 2021-05-07 07:08:47 -07:00
functional.rst
functions.rst bpo-20408: Fix memoryview() signature in docs (GH-24431) 2021-05-25 17:24:30 +03:00
functools.rst bpo-42781: Document the mechanics of cached_property from a user viewpoint (GH-24031) 2020-12-31 17:05:58 -08:00
gc.rst bpo-43439: Add audit hooks for gc functions (GH-24794) 2021-03-10 00:53:57 +00:00
getopt.rst
getpass.rst bpo-32651 Recommend getpass.getuser() (#5301) 2018-01-24 12:51:29 -05:00
gettext.rst bpo-44235: Remove deprecated functions in the gettext module. (GH-26378) 2021-05-30 10:29:45 +09:00
glob.rst bpo-43756: Add new audit event for new arguments added to glob.glob (GH-25239) 2021-04-21 23:42:55 +01:00
graphlib.rst [doc] Fix a typo in the graphlib docs (#22030) 2020-09-03 11:00:10 +01:00
grp.rst
gzip.rst bpo-28286: Deprecate opening GzipFile for writing implicitly. (GH-16417) 2019-11-16 18:56:57 +02:00
hashlib-blake2-tree.png bpo-30660: Doc: Optimize PNG files by optipng (GH-8032) 2018-07-01 16:02:52 +09:00
hashlib.rst bpo-43880: Show DeprecationWarnings for deprecated ssl module features (GH-25455) 2021-04-19 07:27:10 +02:00
heapq.rst fix dangling keyfunc examples in documentation of heapq and sorted (#1432) 2018-10-15 13:06:53 -06:00
hmac.rst bpo-40791: Use CRYPTO_memcmp() for compare_digest (#20456) 2020-05-27 21:50:06 +02:00
html.entities.rst
html.parser.rst
html.rst bpo-31865: Fix a couple of typos in the html.unescape() docs. (GH-9662) 2018-10-01 17:34:46 -07:00
http.client.rst bpo-37363: Add audit events to the http.client module (GH-21321) 2021-04-23 12:19:08 +02:00
http.cookiejar.rst bpo-41521: Replace denylist with blocklist is http.cookiejar doc (GH-21826) 2020-08-13 19:20:28 +02:00
http.cookies.rst bpo-42843: Keep Sphinx 1.8 and Sphinx 2 compatibility (GH-24282) 2021-01-25 15:46:06 +01:00
http.rst bpo-40066: Enum: modify repr() and str() (GH-22392) 2021-03-30 21:17:26 -07:00
http.server.rst Doc: http.server: directory is not a class attribute, but an argument. (GH-26017) 2021-05-10 18:26:53 -07:00
i18n.rst
idle.rst bpo-44010: IDLE: colorize pattern-matching soft keywords (GH-25851) 2021-05-19 12:18:10 +03:00
imaplib.rst bpo-42153 Fix link to IMAP documents in imaplib.rst (GH-23297) 2020-11-15 21:02:35 -08:00
imghdr.rst bpo-41283: Fix mismatched argument name for imghdr.what (GH-21501) 2020-07-20 21:22:01 -03:00
imp.rst bpo-37674: Tweak imp module deprecation note in the docs (GH-20480) 2020-06-13 10:35:08 -07:00
importlib.metadata.rst bpo-43926: Cleaner metadata with PEP 566 JSON support. (GH-25565) 2021-05-02 17:03:40 -04:00
importlib.rst bpo-44195: Use 'TraversableResources' in the docs to match the implementation. (GH-26317) 2021-05-24 13:08:10 -04:00
index.rst Put contextvars docs into the concurrency category (GH-24760) 2021-03-06 08:25:54 -08:00
inspect.rst [doc] Fix indentation in inspect documentation (GH-24846) 2021-05-21 18:05:35 +01:00
internet.rst
intro.rst bpo-11233: Create availability directive for documentation (GH-9692) 2018-10-12 16:55:20 +02:00
io.rst bpo-43510: Implement PEP 597 opt-in EncodingWarning. (GH-19481) 2021-03-29 12:28:14 +09:00
ipaddress.rst bpo-36384: Leading zeros in IPv4 addresses are no longer tolerated (GH-25099) 2021-05-02 14:00:35 +02:00
ipc.rst bpo-33649: Fix asyncio-dev (GH-9324) 2018-09-14 16:57:11 -07:00
itertools.rst Minor improvements to the convolve() recipe (GH-24012) 2020-12-30 12:51:19 -08:00
json.rst Doc: Improve library/json document. (GH-24390) 2021-03-02 10:51:58 +09:00
keyword.rst Add soft keywords to the documentation (GH-21185) 2020-06-27 20:00:29 +01:00
language.rst Delete remaining references to Grammar/Grammar from docs (#21624) 2020-07-26 08:27:52 -07:00
linecache.rst bpo-21063: Improve module synopsis for distutils (GH-17363) 2019-11-25 14:17:59 -08:00
locale.rst bpo-34311: Add locale.localize (GH-15275) 2021-04-12 14:17:40 +02:00
logging.config.rst bpo-43731: Add an encoding parameter to logging.fileConfig() (GH-25273) 2021-04-13 18:17:03 +09:00
logging.handlers.rst bpo-38738: Fix formatting of True and False. (GH-17083) 2019-11-12 16:57:03 +02:00
logging.rst bpo-43858: Add logging.getLevelNamesMapping() (GH-26459) 2021-06-03 01:12:59 -07:00
lzma.rst bpo-43785: Update bz2 document (GH-25351) 2021-04-14 08:22:49 +09:00
mailbox.rst bpo-38486: Fix dead qmail links in the mailbox docs (GH-22239) 2020-10-22 16:33:28 -07:00
mailcap.rst fix comma location in various places (GH-19233) 2020-03-30 14:28:25 -07:00
markup.rst
marshal.rst
math.rst Fix typo (GH-22582) 2020-10-11 11:13:43 -07:00
mimetypes.rst bpo-4963: Fix for initialization and non-deterministic behavior issues in mimetypes (GH-3062) 2019-06-24 16:46:59 -07:00
mm.rst
mmap.rst bpo-42232: mmap module add Darwin specific madvise options. (GH-23076) 2020-11-21 03:39:56 -08:00
modulefinder.rst
modules.rst bpo-34632: Add importlib.metadata (GH-12547) 2019-05-24 16:59:01 -07:00
msilib.rst bpo-44045: fix spelling of uppercase vs upper-case (GH-25985) 2021-05-28 17:54:25 -03:00
msvcrt.rst bpo-39184: Add audit events to functions in fcntl, msvcrt, os, resource, shutil, signal, syslog (GH-18407) 2020-02-13 07:47:42 +00:00
multiprocessing.rst Use the zero argument form of super() in examples for Python3 docs. (GH-22314) 2021-04-26 15:13:54 -07:00
multiprocessing.shared_memory.rst bpo-36364: fix SharedMemoryManager examples (GH-12439) 2019-03-26 12:12:26 -07:00
netdata.rst
netrc.rst bpo-43733: netrc try to use UTF-8 before using locale encoding. (GH-25781) 2021-05-02 14:01:02 +09:00
nis.rst
nntplib.rst bpo-39366: Remove xpath() and xgtitle() methods of NNTP (GH-18035) 2020-01-23 00:59:43 +03:00
numbers.rst bpo-32133: Improve numbers docs (GH-26124) 2021-05-15 09:56:12 -07:00
numeric.rst
operator.rst [doc] Remove duplicated operator.itemgetter example (GH-24178) 2021-04-26 21:15:31 -07:00
optparse.rst bpo-41858: Clarify line in optparse doc (GH-22407) 2020-09-26 23:43:18 -04:00
os.path.rst bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in a path (GH-25264) 2021-04-28 16:50:17 +01:00
os.rst [doc] Fix typo in os module (GH-24464) 2021-05-16 16:38:11 -07:00
ossaudiodev.rst bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231) 2018-10-31 02:26:06 +02:00
othergui.rst closes bpo-29017: Update the bindings for Qt information with PySide2 (GH-20149) 2020-05-29 20:57:03 -05:00
pathlib-inheritance.png bpo-20001: update pathlib landing image (GH-11304) 2019-02-05 19:16:13 +09:00
pathlib-inheritance.svg bpo-20001: update pathlib landing image (GH-11304) 2019-02-05 19:16:13 +09:00
pathlib.rst bpo-39950: add pathlib.Path.hardlink_to() method that supersedes link_to() (GH-18909) 2021-04-23 13:48:52 -07:00
pdb.rst bpo-40773: Fix rendering for 'retval' on the pdb page (GH-21081) 2020-06-24 14:50:49 -07:00
persistence.rst
pickle.rst [doc] Fix erroneous backslashes in signatures and names (GH-23658) 2020-12-16 17:37:28 -08:00
pickletools.rst
pipes.rst bpo-31904: add shell requirement for test_pipes (GH-23489) 2020-11-28 14:04:50 -08:00
pkgutil.rst bpo-40204: Fix reference to terms in the doc (GH-21865) 2020-08-14 12:20:05 +02:00
platform.rst [doc] Fix a few margins due to bad markup (GH-23619) 2020-12-17 09:25:55 -08:00
plistlib.rst [doc] Fix erroneous backslashes in signatures and names (GH-23658) 2020-12-16 17:37:28 -08:00
poplib.rst bpo-44045: fix spelling of uppercase vs upper-case (GH-25985) 2021-05-28 17:54:25 -03:00
posix.rst bpo-42029: Remove IRIX code (GH-23023) 2020-10-29 15:16:23 +01:00
pprint.rst bpo-43080: pprint for dataclass instances (GH-24389) 2021-04-13 19:59:24 -04:00
profile.rst [doc] Fix a few margins due to bad markup (GH-23619) 2020-12-17 09:25:55 -08:00
pty.rst bpo-40094: Add os.waitstatus_to_exitcode() (GH-19201) 2020-04-01 18:49:29 +02:00
pwd.rst
py_compile.rst closes bpo-41723: Fix an error in the py_compile documentation. (GH-22110) 2020-09-05 22:39:23 -05:00
pyclbr.rst bpo-39411: pyclbr rewrite on AST (#18103) 2020-11-11 10:14:12 +03:00
pydoc.rst bpo-31128: Allow pydoc to bind to arbitrary hostnames (#3011) 2017-09-14 17:54:09 -04:00
pyexpat.rst bpo-42700: Swap descriptions in pyexpat.errors (GH-23876) 2020-12-29 14:33:15 +02:00
python.rst bpo-32216: Add documentation for dataclasses (GH-6886) 2018-05-16 04:20:43 -04:00
queue.rst bpo-40387: Improve queue join() example. (GH-19724) 2020-04-26 18:11:27 -07:00
quopri.rst bpo-32701: Clarify the quotetabs flag in quopri documentation (GH-5401) 2018-01-29 19:36:06 -08:00
random.rst bpo-40465: Remove random module features deprecated in 3.9 (GH-25874) 2021-05-04 10:55:40 +02:00
re.rst Minor modernization and readability improvement to the tokenizer example (GH-19558) 2020-04-16 19:54:13 -07:00
readline.rst Fix some minor errors in the docs (GH-24834) 2021-03-13 17:00:28 -08:00
reprlib.rst bpo-9842: Add references for using "..." as a placeholder to the index. (GH-10330) 2018-11-20 19:26:09 +02:00
resource.rst closes bpo-43349: Fix tuning(7) manpage hyperlink. (GH-24680) 2021-03-01 08:44:46 -06:00
rlcompleter.rst
runpy.rst
sched.rst bpo-38738: Fix formatting of True and False. (GH-17083) 2019-11-12 16:57:03 +02:00
secrets.rst Fix grammar in secrets module documentation (GH-22467) 2020-09-30 15:05:51 -07:00
select.rst bpo-38580: Document that select() accepts iterables, not just sequences (GH-16832) 2020-05-25 10:03:48 +03:00
selectors.rst
shelve.rst bpo-34204: Use pickle.DEFAULT_PROTOCOL in shelve (GH-19639) 2020-10-29 02:44:35 -07:00
shlex.rst bpo-40932: Note security caveat of shlex.quote on Windows (GH-21502) 2020-11-10 23:29:56 -08:00
shutil.rst bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505) 2021-02-12 23:57:12 -05:00
signal.rst Fix wrong availability for signal.SIGCHLD (#23285) 2020-11-20 20:16:46 +02:00
site.rst bpo-41376: Fix the documentation of site.getusersitepackages() (GH-21602) 2020-10-08 15:37:46 +09:00
smtpd.rst bpo-35800: Deprecate smtpd.MailmanProxy (GH-11675) 2019-10-12 10:24:26 -07:00
smtplib.rst bpo-42413: socket.timeout is now an alias of TimeoutError (GH-23413) 2020-11-20 00:26:07 -08:00
sndhdr.rst
socket.rst bpo-43750: Fix incorrect reference to PACKET_MULTIHOST in the docs (GH-25241) 2021-05-29 19:46:01 -03:00
socketserver.rst bpo-39797 Changes to socketserver.BaseServer's shutdown() method. (GH-18929) 2020-03-20 01:03:18 -07:00
spwd.rst
sqlite3.rst bpo-30593: Doc'ed that executescript() disregards isolation level (GH-26220) 2021-05-19 10:05:48 +03:00
ssl.rst bpo-38820: Add ssl, hashlib, and hmac changes to whatsnew 3.10 (GH-25817) 2021-05-02 16:38:02 +02:00
stat.rst bpo-37834: Normalise handling of reparse points on Windows (GH-15231) 2019-08-21 15:27:33 -07:00
statistics.rst bpo-44151: Various grammar, word order, and markup fixes (GH-26344) 2021-05-24 23:04:04 -07:00
stdtypes.rst bpo-20408: Fix memoryview() signature in docs (GH-24431) 2021-05-25 17:24:30 +03:00
string.rst docs: clearly document that ":#X" string formatting results in "0X..." (GH-25941) 2021-05-06 12:27:29 -07:00
stringprep.rst bpo-38738: Fix formatting of True and False. (GH-17083) 2019-11-12 16:57:03 +02:00
struct.rst [doc] struct: update note about network byte order form to be more helpful (GH-22201) 2020-09-11 08:20:12 -07:00
subprocess.rst bpo-23750: Document os-system, subprocess. Patch by Martin Panter. (GH-26016) 2021-05-11 13:47:05 -07:00
sunau.rst bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169) 2019-06-18 00:00:24 +02:00
superseded.rst
symtable.rst bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861) 2020-12-29 15:32:10 +02:00
sys.rst bpo-43284: Update platform.win32_ver to use _syscmd_ver instead of sys.getwindowsversion() (GH-25500) 2021-04-22 17:43:37 +01:00
sysconfig.rst bpo-43312: Functions returning default and preferred sysconfig schemes (GH-24644) 2021-04-27 09:45:55 +01:00
syslog.rst bpo-39184: Add audit events to functions in fcntl, msvcrt, os, resource, shutil, signal, syslog (GH-18407) 2020-02-13 07:47:42 +00:00
tabnanny.rst
tarfile.rst [doc] Fix erroneous backslashes in signatures and names (GH-23658) 2020-12-16 17:37:28 -08:00
telnetlib.rst bpo-37823: Fix open() link in telnetlib doc (GH-15281) 2019-08-21 12:13:34 +01:00
tempfile.rst bpo-4928: Document NamedTemporaryFile non-deletion after SIGKILL (#26198) 2021-05-19 10:21:03 -04:00
termios.rst bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231) 2018-10-31 02:26:06 +02:00
test.rst bpo-43988: Document test.support.check_disallow_instantiation() (GH-26394) 2021-05-27 12:55:38 +02:00
text.rst
textwrap.rst fix comma location in various places (GH-19233) 2020-03-30 14:28:25 -07:00
threading.rst bpo-25821: Fix inaccuracy in threading.enumerate/is_alive documentation (#23192) 2021-05-11 18:55:24 +01:00
time.rst bpo-43407: Clarify comparisons of time.monotonic() et al results (GH-24757) 2021-03-05 20:22:13 -05:00
timeit.rst Specify Python Cookbook edition for reference (GH-26301) 2021-05-21 15:17:10 -07:00
tk.rst bpo-25237: Documentation for tkinter modules (GH-1870) 2019-09-10 10:55:34 +02:00
tk_msg.png bpo-25237: Documentation for tkinter modules (GH-1870) 2019-09-10 10:55:34 +02:00
tkinter.colorchooser.rst bpo-25237: Documentation for tkinter modules (GH-1870) 2019-09-10 10:55:34 +02:00
tkinter.dnd.rst bpo-25237: Documentation for tkinter modules (GH-1870) 2019-09-10 10:55:34 +02:00
tkinter.font.rst bpo-35728: Add root parameter to tkinter.font.nametofont() (GH-23885) 2020-12-25 23:18:06 +02:00
tkinter.messagebox.rst bpo-25237: Documentation for tkinter modules (GH-1870) 2019-09-10 10:55:34 +02:00
tkinter.rst Remove effbot urls (GH-26308) 2021-05-22 14:09:54 +02:00
tkinter.scrolledtext.rst bpo-25237: Documentation for tkinter modules (GH-1870) 2019-09-10 10:55:34 +02:00
tkinter.tix.rst bpo-23156: Remove obsolete tix install directions (GH-11595) 2019-01-17 19:00:51 -05:00
tkinter.ttk.rst bpo-38738: Fix formatting of True and False. (GH-17083) 2019-11-12 16:57:03 +02:00
token-list.inc bpo-43822: Improve syntax errors for missing commas (GH-25377) 2021-04-15 21:38:45 +01:00
token.rst bpo-40204: Add :noindex: in the documentation (GH-21859) 2020-08-13 21:41:54 +02:00
tokenize.rst fix comma location in various places (GH-19233) 2020-03-30 14:28:25 -07:00
trace.rst [doc] Fix a few margins due to bad markup (GH-23619) 2020-12-17 09:25:55 -08:00
traceback.rst bpo-33809: add the TracebackException.print() method (GH-24231) 2021-05-22 17:39:33 +01:00
tracemalloc.rst bpo-40630: adjust tracemalloc.reset_peak docs for backport to 3.9 (GH-20546) 2020-06-01 19:26:33 +02:00
tty.rst
tulip_coro.dia
tulip_coro.png bpo-30660: Doc: Optimize PNG files by optipng (GH-8032) 2018-07-01 16:02:52 +09:00
turtle-star.pdf
turtle-star.png bpo-30660: Doc: Optimize PNG files by optipng (GH-8032) 2018-07-01 16:02:52 +09:00
turtle-star.ps
turtle.rst Fixing typos in turtle.rst (GH-24385) 2021-05-30 13:35:30 -03:00
types.rst Remove duplicate words in docs. (GH-26167) 2021-05-21 23:39:09 +05:30
typing.rst bpo-44001: improve Literal documentation (GH-25877) 2021-05-04 10:54:12 +02:00
undoc.rst
unicodedata.rst Update some www.unicode.org URLs to use HTTPS. (GH-18912) 2020-03-10 21:10:59 -07:00
unittest.mock-examples.rst Use the zero argument form of super() in examples for Python3 docs. (GH-22314) 2021-04-26 15:13:54 -07:00
unittest.mock.rst Remove duplicate words in docs. (GH-26167) 2021-05-21 23:39:09 +05:30
unittest.rst bpo-10548: expectedFailure does not apply to fixtures (#23201) 2021-05-11 22:48:20 +01:00
unix.rst
urllib.error.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-31 07:39:00 +03:00
urllib.parse.rst bpo-43882 - urllib.parse should sanitize urls containing ASCII newline and tabs. (GH-25595) 2021-04-29 10:16:50 -07:00
urllib.request.rst bpo-40968: Send http/1.1 ALPN extension (#20959) 2020-11-13 16:37:52 +01:00
urllib.robotparser.rst bpo-21475: Support the Sitemap extension in robotparser (GH-6883) 2018-05-16 10:52:07 -04:00
urllib.rst
uu.rst
uuid.rst bpo-33640, uuid.UUID doc: document endian of bytes parameter (GH-7263) 2018-06-04 09:29:00 +02:00
venv.rst Update link to Django's Context class. (#24805) 2021-03-13 04:26:11 -08:00
warnings.rst bpo-43774: Document configure options (GH-25283) 2021-04-08 22:32:21 +02:00
wave.rst bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169) 2019-06-18 00:00:24 +02:00
weakref.rst Use the zero argument form of super() in examples for Python3 docs. (GH-22314) 2021-04-26 15:13:54 -07:00
webbrowser.rst bpo-37390: Add audit event table to documentations (GH-14406) 2019-06-27 10:47:59 -07:00
windows.rst
winreg.rst [doc] Fix erroneous backslashes in signatures and names (GH-23658) 2020-12-16 17:37:28 -08:00
winsound.rst
wsgiref.rst bpo-41778: Change a punctuation on documentation. (GH-22229) 2020-09-13 14:05:44 -07:00
xdrlib.rst
xml.dom.minidom.rst bpo-42843: Keep Sphinx 1.8 and Sphinx 2 compatibility (GH-24282) 2021-01-25 15:46:06 +01:00
xml.dom.pulldom.rst Fix Python version since which external enities are not resolved by default. (GH-11237) 2018-12-19 15:29:04 +02:00
xml.dom.rst bpo-38738: Fix formatting of True and False. (GH-17083) 2019-11-12 16:57:03 +02:00
xml.etree.elementtree.rst Remove effbot urls (GH-26308) 2021-05-22 14:09:54 +02:00
xml.rst bpo-38585: Remove references to defusedexpat (GH-22095) 2020-09-04 13:57:48 -07:00
xml.sax.handler.rst Fix some minor errors in the docs (GH-24834) 2021-03-13 17:00:28 -08:00
xml.sax.reader.rst bpo-31658: Make xml.sax.parse accepting Path objects (GH-8564) 2019-04-14 11:16:54 +02:00
xml.sax.rst Fix Python version since which external enities are not resolved by default. (GH-11237) 2018-12-19 15:29:04 +02:00
xml.sax.utils.rst
xmlrpc.client.rst Remove effbot urls (GH-26308) 2021-05-22 14:09:54 +02:00
xmlrpc.rst
xmlrpc.server.rst
zipapp.rst bpo-40131: Fix source and target order in zipapp example (GH-19290) 2020-04-03 22:06:29 +05:30
zipfile.rst bpo-44095: Add suffix, stem and suffixes to zipfile.Path (GH-26129) 2021-05-14 10:57:36 -07:00
zipimport.rst bpo-14678: Update zipimport to support importlib.invalidate_caches() (GH-24159) 2021-03-08 12:06:02 -08:00
zlib.rst Add link to zlib v1.1.3 vulnerability (GH-17156) 2020-01-03 13:10:16 +01:00
zoneinfo.rst bpo-43774: Add more links to configure options (GH-25363) 2021-04-12 23:27:35 +02:00