Stan Ulbrych
d2deb8fdef
gh-101100: Fix reference warnings in c-api/init.rst documenting PyGILState_STATE ( #139572 )
2025-10-09 12:34:35 +03:00
Bénédikt Tran
197c610a1e
gh-88046: remove impossible conditional import for _ssl.RAND_egd ( #139648 )
...
`_ssl.RAND_egd` was removed in b8d0fa035d .
2025-10-09 11:14:36 +02:00
Cody Maloney
fa60354245
gh-101100: Resolve some os sphinx reference warnings ( #139636 )
2025-10-08 23:53:27 +05:30
Stan Ulbrych
d9cb191df8
gh-138843: Clean up downloads page ( #138844 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-10-08 19:14:09 +03:00
Stan Ulbrych
99fd525632
gh-101100: Fix all Sphinx warnings in Doc/library/subprocess.rst ( #139576 )
2025-10-08 18:26:22 +03:00
Petr Viktorin
59a6f9d8c5
gh-135676: Add a summary of source characters (GH-138194)
...
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Blaise Pabon <blaise@gmail.com>
Co-authored-by: Micha Albert <info@micha.zone>
Co-authored-by: KeithTheEE <kmurrayis@gmail.com>
2025-10-08 16:34:19 +02:00
Cody Maloney
8b9606a2c5
gh-139452: Clarify redirect_stdout, stderr behavior (gh-139490)
2025-10-08 08:28:29 -05:00
Cornelius Roemer
25edfa7cf1
Doc: Improve clarity for subinterpreters in What's New in 3.14 ( #139221 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-10-07 18:53:27 +00:00
Stan Ulbrych
d396a32b3d
gh-139698: Fix typo in What's New 3.14 ( #139699 )
2025-10-07 23:09:45 +05:30
Adam Turner
0e2cdd313b
gh-139436: Remove `dist-pdf` from the docs archives rebuild target ( #139437 )
2025-10-07 13:29:18 +01:00
Adam Turner
134ff810cf
GH-123299: Announce final release in What's New in Python 3.14 ( #139631 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-10-07 08:49:59 +00:00
Alyssa Coghlan
331158065b
Add warnings filter suggestions to PEP 765 entry in What's New ( #139658 )
...
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-10-06 20:41:08 +01:00
Cycloctane
69cfad0b3e
gh-116488: Mention dict.get in the data structures tutorial (GH-139643)
2025-10-06 09:04:59 -04:00
Adam Turner
3195da0b1a
gh-105812: Use the `:deco:` role in place of manual decorator markup ( #139619 )
2025-10-05 21:15:36 +01:00
Adam Turner
46de475af7
GH-123299: Copyedit 3.14 What's New: Trivia ( #139618 )
2025-10-05 22:45:58 +03:00
George Ogden
dadbb2662a
Replace ambiguous word "pound" by "hash" in difflib docs ( #139601 )
2025-10-05 17:10:24 +00:00
Adam Turner
5389234fca
GH-123299: Copyedit 3.14 What's New: New Features ( #139543 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-10-05 20:05:29 +03:00
Jost Migenda
29616f3d2c
gh-118767: Remove `bool(NotImplemented)` from pending-removal document ( #139526 )
2025-10-05 14:03:54 +03:00
Zachary Ware
98e748b3a0
gh-139573: Update OpenSSL in CI (GH-139577)
2025-10-04 19:43:17 -05:00
Dave Peck
880c9526f9
gh-138558: Improve description of `Interpolation.expression` ( #139187 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-10-04 22:06:56 +01:00
Kumar Aditya
0b2168275e
gh-138703: clarify data buffer requirement of asyncio.StreamWriter.write ( #139564 )
2025-10-04 21:44:05 +05:30
rowanbudge
04a2f80a60
gh-101100: Fix some Sphinx reference warnings in `whatsnew/2.6.rst` ( #139236 )
...
Co-authored-by: rowanvil <rowan@anvil.works>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-10-04 15:59:39 +00:00
Semyon Moroz
8d17d79299
gh-138044: Remove deprecated parameter alias for importlib.resources.files ( #138059 )
2025-10-04 14:53:43 +01:00
Adam Turner
c33dc154b4
GH-123299: Copyedit 3.14 What's New: New and Improved Modules ( #139530 )
2025-10-04 15:58:51 +03:00
Alex Willmer
fb114cf497
gh-139495: Fix hashlib.file_digest() versionchanged description of BlockingIOError (GH-139496)
...
* Fix `hashlib.file_digest()` versionchanged description of `BlockingIOError`
The sentence was missing a negation and contradicted the other two
descriptions in the same commit. I believe code behaviour is correct.
* fixup! Fix `hashlib.file_digest()` versionchanged description of `BlockingIOError`
* Remove unncessary NEWS.d entry
2025-10-02 12:50:36 -07:00
Eric Snow
46a1f0a9ff
gh-135944: Add a "Runtime Components" Section to the Execution Model Docs (gh-135945)
...
The section provides a brief overview of the Python runtime's execution environment. It is meant to be implementation agnostic,
2025-10-02 09:13:22 -06:00
Adam Turner
60655cd6fa
GH-123299: Copyedit 3.14 What's New: Other Language Changes ( #139425 )
2025-10-02 15:51:48 +01:00
Peter
f3d7faeafa
gh-139487: add missing imports for standalone doctest Enum examples ( #139488 )
2025-10-02 12:28:29 +02:00
Petr Viktorin
80cdf3ef74
Document that PyInterpreterState_GetDict returns a borrowed reference ( #139451 )
2025-10-01 09:46:06 +05:30
Adam Turner
98a41af5b0
GH-123299: Copyedit 3.14 What's New: Deprecated ( #139433 )
2025-09-30 18:18:13 +00:00
Bénédikt Tran
bc172ee830
gh-139283: correctly handle size limit in cursor.fetchmany() ( #139296 )
...
Passing a negative or zero size to `cursor.fetchmany()` made it fetch all rows
instead of none.
While this could be considered a security vulnerability, it was decided to treat
this issue as a regular bug as passing a non-sanitized *size* value in the first
place is not recommended.
2025-09-30 11:18:55 +02:00
AN Long
bd1ada6df3
gh-138092: Allow calling mmap.flush with offset only ( #138093 )
2025-09-30 11:08:50 +02:00
Adam Turner
6b5f15698a
Remove link to the PDF downloads ( #139142 )
2025-09-29 18:59:25 +01:00
Adam Turner
8bfdda21a3
GH-123299: Copyedit 3.14 What's New: CPython bytecode changes ( #139402 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-09-29 15:11:54 +00:00
Hugo van Kemenade
872eafd2b0
gh-76007: Deprecate __version__ attribute ( #138675 )
...
Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-09-29 12:03:23 +03:00
Russell Keith-Magee
195d13c85e
gh-132006: Add support for handling XCPrivacy manifests ( #139163 )
...
Adds a PrivacyInfo.xcprivacy file when packaging `_hashlib` and `_ssl` modules
for iOS (based on the original OpenSSL sources); and adds handling to the build
script to allow any app to add `xcprivacy` handling for a binary module.
2025-09-29 05:50:46 +08:00
Yongzi Li
519bc470fc
gh-135447: Document the `NOT_TAKEN & POP_ITER` bytecode instructions ( #135803 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Ken Jin <kenjin4096@gmail.com>
2025-09-28 16:46:01 +00:00
yihong
e18dda96c9
gh-139374: colorize traceback when using timeit command-line interface ( #139375 )
...
---------
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-09-28 11:49:18 +00:00
Bénédikt Tran
666112376d
gh-90949: expose Expat API to tune exponential expansion protections ( #139368 )
...
Expose the XML Expat 2.7.2 APIs to tune protections against
"billion laughs" [1] attacks.
The exposed APIs are available on Expat parsers, that is,
parsers created by `xml.parsers.expat.ParserCreate()`, as:
- `parser.SetBillionLaughsAttackProtectionActivationThreshold(threshold)`, and
- `parser.SetBillionLaughsAttackProtectionMaximumAmplification(max_factor)`.
This completes the work in f04bea44c3 ,
and improves the existing related documentation.
[1]: https://en.wikipedia.org/wiki/Billion_laughs_attack
2025-09-28 08:27:04 +00:00
Bénédikt Tran
68a1778b77
gh-90949: amend GH-139234 in prevision of future mitigation API ( #139366 )
...
Fix some typos left in f04bea44c3 ,
and simplify some internal functions to ease maintenance of future
mitigation APIs.
2025-09-26 17:59:40 +00:00
Bénédikt Tran
f04bea44c3
gh-90949: add Expat API to prevent XML deadly allocations (CVE-2025-59375) ( #139234 )
...
Expose the XML Expat 2.7.2 mitigation APIs to disallow use of
disproportional amounts of dynamic memory from within an Expat
parser (see CVE-2025-59375 for instance).
The exposed APIs are available on Expat parsers, that is,
parsers created by `xml.parsers.expat.ParserCreate()`, as:
- `parser.SetAllocTrackerActivationThreshold(threshold)`, and
- `parser.SetAllocTrackerMaximumAmplification(max_factor)`.
2025-09-26 14:13:56 +00:00
sobolevn
0aab07ccf7
gh-115119: Defer --with-system-libmpdec removal to 3.16 ( #139318 )
2025-09-26 14:21:38 +03:00
Sebastian Pipping
6fa1e552e0
gh-127502: Fix typo in XML security notes ( #139335 )
2025-09-26 11:59:08 +02:00
Raymond Hettinger
7909b30493
gh-138682: Add symmetric difference to Counter (gh-138766)
2025-09-26 00:04:49 -05:00
sobolevn
06703d6637
Remove .. deprecated-removed notes for typing.{NamedTuple, TypedDict} ( #139298 )
2025-09-24 16:24:58 +03:00
Bénédikt Tran
a5e0562350
gh-133644: remove PyWeakref_GetObject and PyWeakref_GET_OBJECT (GH-133657)
2025-09-24 11:25:56 +02:00
Stan Ulbrych
30f849250b
gh-83336: Add alias for consistency to utf-8-sig ( #136530 )
...
Closes #83336
2025-09-24 10:38:57 +02:00
Serhiy Storchaka
1a2e00c97a
gh-67795: Accept any real numbers as timestamp and timeout (GH-139224)
...
Functions that take timestamp or timeout arguments now accept any
real numbers (such as Decimal and Fraction), not only integers or floats,
although this does not improve precision.
2025-09-23 21:31:42 +03:00
Stan Ulbrych
4fb338d844
Doc/library/zoneinfo.rst: Fix typo (#139190 )
...
Removes duplicated wording.
2025-09-22 07:25:39 -04:00
Stan Ulbrych
9c3d09b984
Doc/library/os.rst: Remove spurious parenthesis (GH-139205)
2025-09-21 14:57:13 -04:00