cpython/Modules/clinic
Serhiy Storchaka 3b57bf84cd
[3.14] gh-156821: Fix inaccuracies in the xml.parsers.expat documentation (GH-156822) (GH-156853)
Corrected, in the documentation and in the docstrings:

* GetInputContext() returns bytes, and its result extends to the end of the
  buffered input;
* Parse() accepts a bytes-like object as well as a string, and ignores the
  encoding declaration for a string;
* ParseFile() only supports binary files;
* XML_ERROR_XML_DECL was described as XML_ERROR_NO_ELEMENTS;
* UnparsedEntityDeclHandler is not restricted to Expat 1.2;
* GetSpecifiedAttributeCount() needs ordered_attributes.

Documented the intern parameter and attribute, namespace_prefixes,
SkippedEntityHandler, XML_CTYPE_MIXED and XML_CTYPE_NAME, and EXPAT_VERSION,
version_info and features.

Removed obsolete notes about Expat 1.2 and 1.95.0, and :noindex: from the
content model constants, which are not documented elsewhere; completed the
list of attribute types in AttlistDeclHandler.
(cherry picked from commit d16a691111)
2026-09-03 00:09:21 +03:00
..
_abc.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
_asynciomodule.c.h [3.14] gh-113318: Fix @getter and @setter in Argument Clinic (GH-155778) (GH-156011) 2026-08-18 13:09:24 +00:00
_bisectmodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
_bz2module.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
_codecsmodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
_collectionsmodule.c.h [3.14] gh-150750: Fix a race condition in deque.index with free-threading (GH-150779) (#150921) 2026-06-04 13:56:55 +00:00
_csv.c.h [3.14] gh-137986: Fix and improve the csv functions docstrings (GH-137987) (GH-138107) 2025-10-08 14:27:57 +02:00
_curses_panel.c.h [3.14] gh-151623: Improve curses documentation and docstrings (GH-151625) (GH-151629) 2026-06-18 09:16:10 +00:00
_cursesmodule.c.h [3.14] gh-156234: Fix and rewrite the curses documentation on reading (GH-156235) (GH-156280) 2026-08-23 12:20:30 +00:00
_datetimemodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
_dbmmodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
_elementtree.c.h
_functoolsmodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
_gdbmmodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
_hashopenssl.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
_heapqmodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
_localemodule.c.h [3.14] gh-155952: Fix <unrepresentable> Argument Clinic defaults in several signatures (#156172) 2026-08-21 13:23:30 +01:00
_lsprof.c.h [3.14] gh-116738: make cProfile module thread-safe (GH-138229) (#138575) 2025-10-07 18:51:22 +00:00
_lzmamodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
_opcode.c.h
_operator.c.h
_pickle.c.h
_posixsubprocess.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
_queuemodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
_randommodule.c.h [3.14] gh-149816: Fix a RC in _random.Random.__init__ method (GH-149824) (#149998) 2026-05-18 16:19:23 +00:00
_remote_debugging_module.c.h [3.14] gh-136476: Show the full stack in get_async_stack_trace in _remote_debugging (GH-136483) (#136490) 2025-07-10 00:57:40 +01:00
_ssl.c.h [3.14] gh-113318: Fix @getter and @setter in Argument Clinic (GH-155778) (GH-156011) 2026-08-18 13:09:24 +00:00
_statisticsmodule.c.h
_struct.c.h [3.14] gh-71086: Document negative offset support in struct.pack_into() and unpack_from() (GH-153650) (GH-153753) 2026-07-15 09:52:24 +00:00
_suggestions.c.h
_sysconfig.c.h
_testclinic.c.h [3.14] gh-64502: Fix Argument Clinic support of optional groups with defaults (GH-155191) (GH-155216) 2026-08-05 12:32:35 +00:00
_testclinic_depr.c.h
_testclinic_limited.c.h
_testinternalcapi.c.h [3.14] gh-148973: fix segfault on mismatch between consts size and oparg in compiler (GH-148974) (#148980) 2026-04-25 13:53:42 +01:00
_testmultiphase.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
_threadmodule.c.h
_tkinter.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
_tracemalloc.c.h
_typingmodule.c.h
_weakref.c.h
_winapi.c.h [3.14] gh-151929: Get machine ID and uptime on Windows in pythoninfo (#152146) (#152187) (#152193) 2026-06-25 13:08:35 +00:00
_zoneinfo.c.h
arraymodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
binascii.c.h
blake2module.c.h [3.14] gh-144545: Improve handling of default values in Argument Clinic (GH-146016) (GH-146052) 2026-03-17 10:55:15 +00:00
cmathmodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
fcntlmodule.c.h [3.14] gh-140615: Update docstrings in the fcntl module (GH-140619) (GH-141231) 2025-11-08 11:16:45 +00:00
gcmodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
grpmodule.c.h
hmacmodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
itertoolsmodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
mathmodule.c.h [3.14] Correct frexp() docs for zero and non-finite numbers (GH-149753) (GH-150653) 2026-05-31 08:02:32 +00:00
md5module.c.h [3.14] gh-134696: align OpenSSL and HACL*-based hash functions constructors AC signatures (GH-134713) (#134961) 2025-06-01 10:26:56 +02:00
mmapmodule.c.h [3.14] gh-116738: make mmap module thread-safe (GH-139237) (#139825) 2025-10-09 20:19:03 +05:30
overlapped.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
posixmodule.c.h [3.14] Fix various issues in the 'Timer File Descriptors' documentation (GH-156027) (#156481) 2026-08-27 16:41:26 +00:00
pwdmodule.c.h
pyexpat.c.h [3.14] gh-156821: Fix inaccuracies in the xml.parsers.expat documentation (GH-156822) (GH-156853) 2026-09-03 00:09:21 +03:00
readline.c.h
resource.c.h [3.14] gh-137044: Support large limit values in getrlimit() and setrlimit() (GH-137338) (#137506) 2025-10-07 20:43:12 +02:00
selectmodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
sha1module.c.h [3.14] gh-134696: align OpenSSL and HACL*-based hash functions constructors AC signatures (GH-134713) (#134961) 2025-06-01 10:26:56 +02:00
sha2module.c.h [3.14] gh-134696: align OpenSSL and HACL*-based hash functions constructors AC signatures (GH-134713) (#134961) 2025-06-01 10:26:56 +02:00
sha3module.c.h [3.14] gh-134696: align OpenSSL and HACL*-based hash functions constructors AC signatures (GH-134713) (#134961) 2025-06-01 10:26:56 +02:00
signalmodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
socketmodule.c.h [3.14] gh-139748: fix leaks in AC error paths when using unicode FS-b… (#139789) 2025-10-08 22:16:21 +05:30
symtablemodule.c.h [3.14] gh-139748: fix leaks in AC error paths when using unicode FS-b… (#139789) 2025-10-08 22:16:21 +05:30
syslogmodule.c.h
termios.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00
timemodule.c.h
unicodedata.c.h
zlibmodule.c.h [3.14] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) 2026-05-27 16:24:18 +00:00