summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-133264: Correct documentation of how Py_Main and Py_RunMain handle ↵Miss Islington (bot)2025-06-111-22/+8
| | | | | | | | SystemExit (GH-135337) (#135395) gh-133264: Correct documentation of how Py_Main and Py_RunMain handle SystemExit (GH-135337) (cherry picked from commit b706ff003c536c5bca24dfdd3a8917bffcfa3df1) Co-authored-by: Malcolm Smith <smith@chaquo.com>
* [3.13] Use f-strings in csv docs example (GH-135245) (#135286)Miss Islington (bot)2025-06-091-1/+1
| | | | | | Use f-strings in csv docs example (GH-135245) (cherry picked from commit 2677dd017a033eaaad3b8e1e0eb5664a44e7e231) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* [3.13] gh-135263: Fix typo in token.NAME documentation (GH-135275) (#135281)Miss Islington (bot)2025-06-081-1/+1
| | | | | | gh-135263: Fix typo in token.NAME documentation (GH-135275) (cherry picked from commit 8d17a412da7e7d8412efc625d48dcb5eecea50b0) Co-authored-by: Vladyslav Lazoryk <80263725+lazorikv@users.noreply.github.com>
* [3.13] Update tutorial for new "Copy" button (GH-135007) (#135271)Miss Islington (bot)2025-06-081-4/+3
| | | | | Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
* [3.13] gh-134976: document the exception type that can be raised by `s[i]` ↵Miss Islington (bot)2025-06-081-1/+4
| | | | | | | | (GH-134977) (#135259) gh-134976: document the exception type that can be raised by `s[i]` (GH-134977) (cherry picked from commit 158e5162bfaa8a49178ce2c3f2455c3e03b60157) Co-authored-by: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com>
* [3.13] Docs: Update `PyExc_*` tables in the c-api documentation (GH-131640) ↵Miss Islington (bot)2025-06-062-0/+14
| | | | | | | | | | (GH-135221) Docs: Update `PyExc_*` tables in the c-api documentation (GH-131640) Add `PyExc_BaseExceptionGroup` and `PyExc_EncodingWarning` (cherry picked from commit f00512db20561370faad437853f6ecee0eec4856) Co-authored-by: Yuki Kobayashi <drsuaimqjgar@gmail.com>
* [3.13] feat(docs): type fix - apply pep8 by using docstring instead of ↵Miss Islington (bot)2025-06-061-2/+4
| | | | | | | | | | comment in the doc. (GH-135181) (#135211) feat(docs): type fix - apply pep8 by using docstring instead of comment in the doc. (GH-135181) Giving the right example incitates the tutorial readers to do the same in the future. (cherry picked from commit 343182853f19a42c0ba8980d3104076a8c7bcfe7) Co-authored-by: Jean-Louis GUENEGO <jlguenego@gmail.com>
* [3.13] gh-135151: Fix incorrect packaging of pyconfig.h in Windows installer ↵Steve Dower2025-06-051-0/+8
| | | | (GH-135180)
* [3.13] gh-131531: android.py enhancements to support cibuildwheel ↵Malcolm Smith2025-06-051-0/+9
| | | | | | | | | | | | | (GH-132870) (#135164) Modifies the environment handling and execution arguments of the Android management script to support the compilation of third-party binaries, and the use of the testbed to invoke third-party test code. (cherry picked from commit 2e1544fd2b0cd46ba93fc51e3cdd47f4781d7499) Co-authored-by: Malcolm Smith <smith@chaquo.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
* [3.13] gh-134160: Improve multi-phase init note on isolation & ↵Miss Islington (bot)2025-06-042-13/+33
| | | | | | | | subinterpreters (GH-134775) (GH-134983) (cherry picked from commit eb145fabbdd755f803296beba2d235fc32efe592) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Python 3.13.4v3.13.4Thomas Wouters2025-06-035-7/+7
|
* [3.13] gh-135034: Normalize link targets in tarfile, add ↵T. Wouters2025-06-033-3/+82
| | | | | | | | | | | | | | `os.path.realpath(strict='allow_missing')` (GH-135037) (GH-135064) Addresses CVEs 2024-12718, 2025-4138, 2025-4330, and 2025-4517. (cherry picked from commit 3612d8f51741b11f36f8fb0494d79086bac9390a) Co-authored-by: Łukasz Langa <lukasz@langa.pl> Signed-off-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Seth Michael Larson <seth@python.org> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.13] gh-74232: Add a note about roundtrip of non-float numerics in CSV ↵Miss Islington (bot)2025-06-021-2/+8
| | | | | | | (GH-134963) (GH-135049) (cherry picked from commit e814f43f2c655b931af8ee9e1c128bd1027549fb) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.13] gh-122153: indicate that Windows does not support ↵Bénédikt Tran2025-06-021-3/+3
| | | | | | | | `socket.{send,recv}_fds` (GH-134960) (#135017) This amends commit e3b6ff19aaa318a813130ba9ad2ab0a332f27feb. (cherry picked from commit 128195e12eb6d5b9542558453df7045dd7aa1e15) Co-authored-by: GalaxySnail <me@glxys.nl>
* [3.13] gh-133503: clarify `compileall -s/-p` docs (GH-134756) (#134996)Miss Islington (bot)2025-06-011-3/+10
| | | | | | | gh-133503: clarify `compileall -s/-p` docs (GH-134756) (cherry picked from commit fe6f8a3619242b287a793a5b5d8645f402482c71) Co-authored-by: Rihaan Meher <meherrihaan@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* [3.13] gh-134835: Remove outdated list from `howto/urllib2.rst` (GH-134844) ↵Miss Islington (bot)2025-05-311-67/+19
| | | | | | | | | | (#134985) gh-134835: Remove outdated list from `howto/urllib2.rst` (GH-134844) :teapot: (cherry picked from commit 3704171415c1ea6ebbeb2f992758b6565f42e378) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
* [3.13] gh-134918: Fix and improve doctest's documentation (GH-134919) ↵Miss Islington (bot)2025-05-311-48/+47
| | | | | | | (GH-134967) (cherry picked from commit 3c66e5976669a599adfb260514c03815b1a9e4e9) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.13] GH-106235: Clarify `parse_known_args` documentation by removing ↵Miss Islington (bot)2025-05-301-6/+9
| | | | | | | | "remaining" (GH-126921) (#134914) GH-106235: Clarify `parse_known_args` documentation by removing "remaining" (GH-126921) (cherry picked from commit a4251411a97304ab001721c6231d86ddf4eac3f0) Co-authored-by: Savannah Bailey <savannahostrowski@gmail.com>
* [3.13] gh-134733: Fix documentation for the show_empty option of ast.dump() ↵Miss Islington (bot)2025-05-301-2/+3
| | | | | | | | (GH-134925) (GH-134941) Optional None values are always omitted. (cherry picked from commit 1a89991d2362867a9127e151376135615bc92a4c) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Doc: remove unnecessary section header (GH-134917)Miss Islington (bot)2025-05-301-4/+0
| | | (cherry picked from commit b367e27af9b52528e395f95b277ec7b69e98e287)
* [3.13] ast docs: Fix description of ast.Constant (GH-134741) (#134912)Miss Islington (bot)2025-05-301-3/+3
| | | | | | | | | | | Contrary to the current docs, ast.Constant will never hold containers such as frozenset or tuple; the Python parser only emits it for simple literals. For precision, add the exact list of types that may be contained in an ast.Constant. (cherry picked from commit 381020d41fb1f8b33421f01c609ba0d0edb99764) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* [3.13] gh-133260: Remove claim that PyUnicode_InternFromString immortalizes ↵Miss Islington (bot)2025-05-291-4/+0
| | | | | | | (GH-134213) (GH-134884) (cherry picked from commit 4109a9c6b33faa0032ffc95d96cd0db482af3ce2) Co-authored-by: Petr Viktorin <encukou@gmail.com>
* [3.13] gh-69011: : clarify & deduplicate `ctypes.create_*_buffer` docs ↵Miss Islington (bot)2025-05-291-16/+36
| | | | | | | | | (GH-132858) (GH-134882) This adds a warning about the possibly-missing NUL terminator, but in a way that doesn't make it sound like a bug/wart. (cherry picked from commit b783e1791b2076ef560104f8207156d75859c0a6) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
* [3.13] GH-134848: Use a set to store ``AuditEvents.sources`` (GH-134849) ↵Miss Islington (bot)2025-05-281-8/+8
| | | | | | | | (#134854) GH-134848: Use a set to store ``AuditEvents.sources`` (GH-134849) (cherry picked from commit b265a7ddeb12b2040d80b471d447ce4c3ff4bb95) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.13] gh-134817: Document [Timed]RotatingFileHandler shouldRollover method ↵Miss Islington (bot)2025-05-281-1/+9
| | | | | (GH-134818) (GH-134824) (cherry picked from commit 7be5916f6dc3db95744b5fec945327d82cce0183)
* [3.13] gh-134160: Block multiple module initialization (GH-134773) (#134828)Miss Islington (bot)2025-05-281-4/+24
| | | | | | | gh-134160: Block multiple module initialization (GH-134773) (cherry picked from commit 469a56470b1d8df03862d8ceb73aebca14772dcf) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.13] Update outdated statement from `math` about C standard (GH-134621) ↵Miss Islington (bot)2025-05-281-2/+2
| | | | | | | | | (#134826) Update outdated statement from `math` about C standard (GH-134621) (cherry picked from commit 21672b694bd1786bad6eb71a9eff89291a91554b) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* [3.13] gh-134789: Document del s[i] operation for mutable sequences ↵Miss Islington (bot)2025-05-271-0/+2
| | | | | | | | | | | | | | (GH-134804) (#134809) gh-134789: Document del s[i] operation for mutable sequences (GH-134804) [main] Update stdtypes.rst - Added explicit mention of `del s[i]` (item deletion by index) to the Mutable Sequence Types section. - Clarified that this operation removes the item at the specified index from the sequence. - Addresses issue GH-134789. (cherry picked from commit 967f361993c9c97eb3ff3076a409b78ea32938df) Co-authored-by: Rishabh Singh <67859818+rishabh11336@users.noreply.github.com>
* [3.13] gh-133678: Document C API third party tools (GH-134526) (#134792)Miss Islington (bot)2025-05-274-35/+46
| | | | | | | | gh-133678: Document C API third party tools (GH-134526) (cherry picked from commit c3c88064f5905889057dcdfaaaa4a48f8e2d53d4) Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.13] gh-134664: document `cleanup_socket` parameter in ↵Miss Islington (bot)2025-05-271-1/+8
| | | | | | | | `asyncio.start_unix_server` (GH-134750) (#134780) gh-134664: document `cleanup_socket` parameter in `asyncio.start_unix_server` (GH-134750) (cherry picked from commit 92ea1eb38ff97ac046a0031d505c30a51f58a43f) Co-authored-by: Shamil <ashm.tech@proton.me>
* [3.13] gh-134160: Use multi-phase init in documentation examples (GH-134296) ↵Miss Islington (bot)2025-05-2612-196/+228
| | | | | | | | | (#134754) gh-134160: Use multi-phase init in documentation examples (GH-134296) (cherry picked from commit 96905bdd273d2e5724d2c1b6b0f95ecb0daeaabe) Co-authored-by: neonene <53406459+neonene@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.13] gh-134559: Add versionadded for ``object.__replace__()`` (GH-134672) ↵Miss Islington (bot)2025-05-261-0/+2
| | | | | | | | (#134700) gh-134559: Add versionadded for ``object.__replace__()`` (GH-134672) (cherry picked from commit 71290a6fbe79cef3773a3af6fcf08d8bf15c8460) Co-authored-by: tmlnv <108088921+tmlnv@users.noreply.github.com>
* [3.13] Fix sphinx-lint warnings (default-role used). (GH-134647) (#134669)Miss Islington (bot)2025-05-253-3/+3
| | | | | | Fix sphinx-lint warnings (default-role used). (GH-134647) (cherry picked from commit 24a47155d2172966fab7d56f2bf9181056fba8d0) Co-authored-by: Julien Palard <julien@palard.fr>
* [3.13] gh-134595: Update HOWTO to reflect change in CIBW option (GH-134598) ↵Miss Islington (bot)2025-05-241-1/+1
| | | | | | (#134623) Co-authored-by: Jasper Wong <111284156+3willows@users.noreply.github.com>
* [3.13] gh-80334: fix multiprocessing.freeze_support for other spawn ↵Miss Islington (bot)2025-05-241-5/+5
| | | | | | | | | | | | | | platforms (GH-134462) (#134620) gh-80334: fix multiprocessing.freeze_support for other spawn platforms (GH-134462) Doc/library/multiprocessing.rst: freeze_support: Change to specify spawn method instead of platform Have multiprocessing.freeze_support() enable on spawn, not just win32. --------- (cherry picked from commit 80284b5c5eebd0e603c38322f94a97a2853ceeba) Co-authored-by: Eddy Mulyono <eddymul@gmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
* [3.13] gh-106318: Add example for `str.count()` (GH-134519) (#134573)Miss Islington (bot)2025-05-231-2/+12
| | | | Co-authored-by: Blaise Pabon <blaise@gmail.com>
* [3.13] gh-106318: Add example for `str.center()` (GH-134518) (#134572)Miss Islington (bot)2025-05-231-2/+8
| | | | Co-authored-by: Blaise Pabon <blaise@gmail.com>
* [3.13] Add notes on nogil & reinitialization to the Opt-Out section in ↵Miss Islington (bot)2025-05-231-0/+15
| | | | | | | | | Module Isolation HOWTO (GH-134141) (GH-134491) Add notes on nogil & reinitialization to the Opt-Out section in Module Isolation HOWTO (GH-134141) (cherry picked from commit 1f0a294e8c2ff009c6b74ca5aa71da6269aec0dd) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Sam Gross <colesbury@gmail.com>
* [3.13] Docs: fix link in free-threading-python.rst (GH-134548) (#134556)Miss Islington (bot)2025-05-231-1/+1
|
* [3.13] Avoid `__file__` in `hashlib` example (GH-134540) (#134550)Miss Islington (bot)2025-05-221-1/+1
| | | | | | Avoid `__file__` in `hashlib` example (GH-134540) (cherry picked from commit 9b292ff0223dab0f999d5c1e13355552fd7cd528) Co-authored-by: Josh Cannon <joshdcannon@gmail.com>
* [3.13] Docs: Add note to tutorial clarifying scope (GH-134534) (#134545)Kattni2025-05-221-1/+6
| | | (cherry picked from commit 742d5b5c5d75eae44c66a43ebfa24a4f286ea8a1)
* [3.13] Consistent sentence case in docs template files (GH-134412) (#134496)Miss Islington (bot)2025-05-224-10/+10
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.13] gh-80050: Update BufferedReader.read docs around non-blocking ↵Gregory P. Smith2025-05-211-34/+41
| | | | | | | (GH-130653) (#134445) (cherry picked from commit e1f891414b2329414a6160ed246f5f869a218bfd) Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
* [3.13] gh-132246: Add special buffer methods to C API Type Object docs ↵Miss Islington (bot)2025-05-211-3/+4
| | | | | | | | | | | | (gh-132247) (gh-134427) Two special methods, __buffer__ and __release_buffer__ were added to Python 3.12 by PEP 688. The C API Type Object documentation for slots includes `tp_as_buffer`, and sub-slots `bf_getbuffer`, `bf_releasebuffer` but does not refer to the Python Data Model version of those. Add the missing references. (cherry picked from commit b529b60fc239d19245e5fafd0514d90097c2eb40) Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
* [3.13] gh-110631: Fix some incorrect indents in the documentation ↵Miss Islington (bot)2025-05-214-69/+69
| | | | | | (GH-129312) (#134420) Co-authored-by: Yuki Kobayashi <drsuaimqjgar@gmail.com>
* [3.13] gh-85045: clarified that the underlying buffer of a TextIOBase can be ↵Miss Islington (bot)2025-05-201-3/+4
| | | | | | | | | | a RawIOBase (GH-134372) (#134375) gh-85045: clarified that the underlying buffer of a TextIOBase can be a RawIOBase (GH-134372) Added a clarification that the underlying binary buffer of a TextIOBase can be a BufferedIOBase OR a RawIOBase (cherry picked from commit 36eb711d2f26849214774a017fe8c8a5be3eec30) Co-authored-by: Alex Kautz <alex@takemobi.com>
* [3.13] gh-101100: Fix Sphinx warnings in `library/decimal.rst` (GH-134303) ↵Hugo van Kemenade2025-05-203-32/+42
| | | | | | (#134339) Co-authored-by: Yuki Kobayashi <drsuaimqjgar@gmail.com>
* [3.13] gh-128307: Update what's new in 3.13 with create_task changes of ↵Guido van Rossum2025-05-201-0/+16
| | | | | | | asyncio (#134304) (#134335) (It's complicated.) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.13] gh-53189: Document peculiarities of InteractiveConsole in relation to ↵Miss Islington (bot)2025-05-201-0/+6
| | | | | | | | | | pickle (GH-123069) (GH-134329) gh-53189: Document peculiarities of InteractiveConsole in relation to pickle (GH-123069) (cherry picked from commit a31bbc951a9d74cd7b9092555c101e51a2b9482b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.13] gh-134201: Expand explanation of Base85 encodings in base64 docs ↵Miss Islington (bot)2025-05-201-11/+37
| | | | | | | | | | | | | (GH-134288) (#134297) gh-134201: Expand explanation of Base85 encodings in base64 docs (GH-134288) Explain history of de-facto standard and how to pick between the two Base-85 encoding functions in the base-64 module. --------- (cherry picked from commit 66aaad61037785639aec393be7618cb54b1372dc) Co-authored-by: Alek Binion <aleksander.binion@gmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>