summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.14.0a7v3.14.0a7Hugo van Kemenade2025-04-0813-22/+22
|
* gh-74598: add `fnmatch.filterfalse` for excluding names matching a patern ↵Bénédikt Tran2025-04-082-0/+17
| | | | (#121185)
* Fixed a typo in the documentation (#132005)David Brochart2025-04-081-1/+1
|
* gh-132021: Add bool type to the list of allowed JSON key types (#132048)Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)2025-04-081-2/+2
| | | Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
* gh-115942: Add `locked` to several multiprocessing locks (#115944)sobolevn2025-04-082-0/+27
| | | | Co-authored-by: mpage <mpage@cs.stanford.edu> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* Add psfhosted Plausible instance to analytics (#132252)Ee Durbin2025-04-081-0/+1
|
* gh-130521: Add Open Graph meta tags to template pages (#130523)Stan Ulbrych2025-04-073-0/+37
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-118761: Cover the import time optimisations in What's New (#132035)Adam Turner2025-04-071-0/+10
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-130843: add UUIDv7 timestamp recipes (#132154)Bénédikt Tran2025-04-071-2/+13
| | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* Docs HTML: Remove self-closing tags (#132220)Hugo van Kemenade2025-04-074-22/+22
| | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* gh-132221: Fix `__match_args__` generation docs in `dataclasses.rst` (#132222)sobolevn2025-04-071-4/+7
|
* gh-123299: List PEPs 758 and 768 in 3.14 release highlights (#132211)Hugo van Kemenade2025-04-071-3/+5
|
* gh-131912: Use different grouping options for the integral and fractional ↵Prometheus33752025-04-071-4/+4
| | | | parts (#132170)
* Docs: Add a single table summary for ``cmath`` (#131887)Sergey B Kirpichev2025-04-061-0/+51
| | | | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
* gh-132168: Add `__class_getitem__` to `ctypes.py_object` (#132169)Brian Schubert2025-04-062-0/+8
|
* gh-84481: Add ZipFile.data_offset attribute (#132165)Emma Smith2025-04-061-0/+8
| | | | | | | | | * Add ZipFile.data_offset attribute This attribute provides the offset to zip data from the start of the file, when available. * Add blurb-it * Try fixing class ref in NEWS
* gh-132139: 3.14 what's new: elaborate on why you can no longer set `Union` ↵Alex Waygood2025-04-061-2/+3
| | | | attributes (#132157)
* gh-132139: Document that you can no longer set attributes on unions (#132146)Jelle Zijlstra2025-04-061-0/+2
|
* Fix numbered list syntax in programming.rst (#130158)Rafael Fontenelle2025-04-051-5/+5
|
* Generate social media preview cards for the documentation (#132101)Adam Turner2025-04-053-5/+14
| | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-85162: Add `HTTPSServer` to `http.server` to serve files over HTTPS ↵Semyon Moroz2025-04-052-3/+83
| | | | | | | (#129607) The `http.server` module now supports serving over HTTPS using the `http.server.HTTPSServer` class. This functionality is also exposed by the command-line interface (`python -m http.server`) through the `--tls-cert`, `--tls-key` and `--tls-password-file` options.
* Docs: document `plistlib.InvalidFileException` (#132069)Yuki Kobayashi2025-04-051-2/+10
|
* gh-131912: Improve description of grouping options in the format ↵Prometheus33752025-04-051-37/+50
| | | | | specification docs (#132030) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-129463, gh-128593: Simplify ForwardRef (#129465)Jelle Zijlstra2025-04-053-8/+4
|
* gh-131933: Document UnionType/Union merger in What's New (#131941)Jelle Zijlstra2025-04-041-0/+53
| | | | Co-authored-by: Alex Waygood Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-99108: Implement HACL* HMAC (#130157)Bénédikt Tran2025-04-041-0/+16
| | | | | | | A new extension module, `_hmac`, now exposes the HACL* HMAC (formally verified) implementation. The HACL* implementation is used as a fallback implementation when the OpenSSL implementation of HMAC is not available or disabled. For now, only named hash algorithms are recognized and SIMD support provided by HACL* for the BLAKE2 hash functions is not yet used.
* gh-128661: Remove DeprecationWarning in evaluate_forward_ref (#128930)Jelle Zijlstra2025-04-032-20/+20
| | | | | | | | | | It doesn't make sense to use a deprecation for evaluate_forward_ref, as it is a new function in Python 3.14 and doesn't have compatibility guarantees. I considered making it throw an error if type_params it not passed and there is no owner. However, I think this is too unfriendly for users. The case where this param is really needed is fairly esoteric and I don't think this case is worth the pain of forcing users to write "type_params=()".
* gh-131591: Implement PEP 768 (#131937)Pablo Galindo Salgado2025-04-034-0/+110
| | | | Co-authored-by: Ivona Stojanovic <stojanovic.i@hotmail.com> Co-authored-by: Matt Wozniski <godlygeek@gmail.com>
* gh-60115: Support frozen modules for linecache.getline() (#131638)Tian Gao2025-04-022-0/+15
|
* gh-131544: Update docs for PyType_AddWatcher (gh-132015)Donghee Na2025-04-021-0/+3
|
* gh-131831: Implement PEP 758 – Allow except and except* expressions ↵Pablo Galindo Salgado2025-04-012-1/+31
| | | | without parentheses (#131833)
* gh-130704: Strength reduce `LOAD_FAST{_LOAD_FAST}` (#130708)mpage2025-04-011-3/+17
| | | Optimize `LOAD_FAST` opcodes into faster versions that load borrowed references onto the operand stack when we can prove that the lifetime of the local outlives the lifetime of the temporary that is loaded onto the stack.
* Minor improvements to the programming FAQ (#127261)Rafael Fontenelle2025-04-011-7/+7
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* gh-121249: Note struct module changes in What's New (#131867)Sergey B Kirpichev2025-04-011-0/+9
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* gh-125957: sync argument naming in sphinx docs of the cmath and help() ↵Sergey B Kirpichev2025-04-011-50/+50
| | | | | (#125958) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-131531: Add `android.py package` command (#131532)Malcolm Smith2025-04-011-4/+4
| | | | | Adds a `package` entry point to the `android.py` build script to support creating an Android distribution artefact.
* gh-130843: expose 48-bit timestamp for UUIDv7 (#131838)Bénédikt Tran2025-03-311-8/+9
|
* gh-131885: Document that `dict.setdefault` and `dict.get` take no keyword ↵Adam Dangoor2025-03-301-2/+2
| | | | arguments (#128208)
* gh-129994: update docs when using `dualstack_ipv6` in `socket.create_server` ↵Alexander Ershov2025-03-301-4/+4
| | | | (#129996)
* gh-127541: Update os.walk example (GH-127765)Totosuki2025-03-291-8/+8
| | | | | Update os.walk example to be more modern, skip `__pycache__` dirs rather than `CVS` dirs. Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-131236: allow to generate multiple UUIDs at once via CLI (#131218)Simon Legner2025-03-262-4/+16
| | | Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-131741: Add documentation for Windows version detection change in ↵Idan Noiman2025-03-261-0/+8
| | | | | | | | | `platform` (#131742) Document the behavior change between 3.11 & 3.12, where ``platform`` now correctly detects Windows 11 and Windows Server releases past Windows Server 2012. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Wulian <1055917385@qq.com>
* document that `sys._is_gil_enabled` is CPython-specific (#131748)Ralf Gommers2025-03-261-0/+3
|
* gh-111178: fix UBSan for example code in `extending/newtypes_tutorial` docs ↵Bénédikt Tran2025-03-245-70/+120
| | | | | (GH-131606) Co-authored-by: Petr Viktorin <encukou@gmail.com>
* gh-115684: Clarify datetime `replace` documentation (#116519)David Lowry-Duda2025-03-241-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | * Clarify datetime `replace` documentation In #115684, HopedForLuck noted that `datetime.date.replace()` documentation was confusing because it looked like it would be changing immutable objects. This documentation change specifies that the `replace()` methods in `datetime` return new objects. This uses similar wording to the documentation for `datetime.combine()`, which specifies that a new datetime is returned. This is also similar to wording for `string.replace()`, except `string.replace()` emphasizes that a "copy" is returned. Resolves #115684. * Include reviewer comments Thanks Privat33r-dev for the comments! --------- Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com>
* gh-128715: Expose ctypes.CField, with info attributes (GH-128950)Petr Viktorin2025-03-242-5/+103
| | | | | | | - Restore max field size to sys.maxsize, as in Python 3.13 & below - PyCField: Split out bit/byte sizes/offsets. - Expose CField's size/offset data to Python code - Add generic checks for all the test structs/unions, using the newly exposed attrs
* gh-123909: Remove obsolete note in PyType_FromMetaclass docs (GH-131506)Petr Viktorin2025-03-241-4/+0
| | | | | | Docs of the other `PyType_From*` functions link to `PyType_FromMetaclass`, which noted that they differ for backwards compatibility reasons. The note is no longer relevant in 3.14. The other functions have `versionchanged` blurbs.
* no-issue: Fix typo in importlib.metadata.rst (gh-131596)Zsolt Dollenstein2025-03-231-1/+1
|
* gh-130283: update deprecated links and examples in `urllib.request` docs ↵Kanishk Pachauri2025-03-231-14/+15
| | | | | (#130284) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-121529: Document `from_` parameter in `_mboxMMDF` public methods (#121530)Sebb2025-03-231-2/+27
|