summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.12.rst
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-120345: Fix incorrect use of the :class: role with the "()" suffix ↵Miss Islington (bot)2024-06-121-1/+1
| | | | | | | | | | (GH-120347) (GH-120411) * Remove "()" when refer to a class as a type. * Use :func: when refer to a callable. * Fix reference to the datetime.astimezone() method. (cherry picked from commit 92c9c6ae147e1e658bbc8d454f8c7b2c4dea31d1) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.13] gh-119577: Adjust DeprecationWarning when testing element truth ↵Miss Islington (bot)2024-06-071-2/+5
| | | | | | | | | | values in ElementTree (GH-119762) (GH-120189) gh-119577: Adjust DeprecationWarning when testing element truth values in ElementTree (GH-119762) Adjust DeprecationWarning when testing element truth values in ElementTree, we're planning to go with the more natural True return rather than a disruptive harder to code around exception raise, and are deferring the behavior change for a few more releases. (cherry picked from commit 6b606522ca97488aad6fe2f193d4511e7a8f8334) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
* [3.13] docs: fix a few typos identified by codespell (GH-119516) (#119570)Miss Islington (bot)2024-05-261-1/+1
| | | | Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* [3.13] Fix version number in use_load_tests deprecation reference ↵Miss Islington (bot)2024-05-221-1/+1
| | | | | | | | (GH-119151) (GH-119386) Deprecation took place in d78742a260ba09e53c844de7b1fd11a11c674945 (3.5) (cherry picked from commit aee8f03abbebfb76357f459dfb297026862e3c0b) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
* gh-118013: Use weakrefs for the cache key in `inspect._shadowed_dict` (#118202)Alex Waygood2024-04-241-4/+3
|
* Use "Contributed by" in a couple of occurrences of 3.12 whatsnew (#118070)Rafael Fontenelle2024-04-191-3/+3
|
* Docs: add link roles with Sphinx extlinks (#117850)Hugo van Kemenade2024-04-151-7/+4
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Docs: make the `whatsnew-typing-py312` anchor point to things that were new ↵Alex Waygood2024-04-151-2/+2
| | | | in the typing module (#117904)
* gh-100734: What's New in 3.x: Add missing detail from 3.x branch (#114689)Hugo van Kemenade2024-02-151-0/+2
|
* gh-113732: Fix support of QUOTE_NOTNULL and QUOTE_STRINGS in csv.reader ↵Serhiy Storchaka2024-01-301-1/+1
| | | | (GH-113738)
* gh-111301: Advertise importlib methods removal in What's new in Python 3.12 ↵Karolina Surma2024-01-171-0/+12
| | | | (GH-111630)
* # gh-111700: Fix syntax highlighting for C code in the "What's New In Python ↵Parth Doshi2024-01-011-1/+3
| | | | | 3.12" documentation (#113609) Fix PEP 684 syntax highlighting in what's new Python 3.12
* gh-112826: Add a "What's New" Entry About _thread._is_main_interpreter ↵Eric Snow2023-12-071-0/+9
| | | | | | | (gh-112853) As of gh-112661, the threading module expects the _thread module to have a _is_main_interpreter(), which is used in the internal threading._shutdown(). This change causes a problem for anyone that replaces the _thread module with a custom one (only if they don't provide _is_main_interpreter()). They need to be sure to add it for 3.13+, thus this PR is adding a note in "What's New". This also forward-ports the "What's New" entry from 3.12 (gh-112850). Note that we do not also forward-port the fix in that PR. The fix is there only due to a regression from 3.12.0. There is no regression in 3.13+.
* gh-101100: Improve documentation of code object attributes (#112781)Alex Waygood2023-12-061-2/+3
|
* gh-112645: remove deprecation warning for use of onerror in shutil.rmtree ↵Irit Katriel2023-12-031-4/+3
| | | | (#112659)
* gh-111699: Move smtpd note to dedicated section in What's New Python 3.12 ↵Matt Prodani2023-11-301-1/+4
| | | | | | | doc (GH-112544) Relocate smtpd deprecation notice to it's own section rather than under 'locale' in docs for What's New in Python 3.12 doc
* Move What's New In Python 3.12 entries to the right section (#112447)Victor Stinner2023-11-271-7/+8
| | | Jython and ctypes removals are unrelated to C API Removals.
* gh-94309: "What's new in Python 3.12": improve deprecation notice for ↵Ori Avtalion2023-11-171-2/+3
| | | | typing.Hashable and typing.Sized (#112196)
* gh-111301: Move `importlib.resources.files` change to What's new in Python ↵Karolina Surma2023-10-311-0/+3
| | | | 3.12 (#111512)
* gh-111187: Postpone removal version for locale.getdefaultlocale() to 3.15 ↵Hugo van Kemenade2023-10-251-1/+11
| | | | (#111188)
* gh-110631: fix wrong indentation in the `Doc/whatsnew` dir (#110632)Ezio Melotti2023-10-111-9/+9
| | | Fix wrong indentation in the Doc/whatsnew dir.
* Fix typo in py312 whatsnew: add missing closing paren (#110255)Lele Gaifax2023-10-031-1/+1
|
* gh-107073: Make PyObject_VisitManagedDict() public (#108763)Victor Stinner2023-10-021-1/+1
| | | | | | | | Make PyObject_VisitManagedDict() and PyObject_ClearManagedDict() functions public in Python 3.13 C API. * Rename _PyObject_VisitManagedDict() to PyObject_VisitManagedDict(). * Rename _PyObject_ClearManagedDict() to PyObject_ClearManagedDict(). * Document these functions.
* 3.12 What's New: Remove duplicate "up to" (#110219)numbermaniac2023-10-021-1/+1
|
* GH-109190: Announce final release in What's New in Python 3.12 (#110117)Adam Turner2023-10-021-1/+1
| | | | Prepare What's New in Python 3.12 for final release
* GH-109190: Copyedit 3.12 What's New: Bytecode (#109821)Adam Turner2023-09-281-6/+26
| | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* GH-109190: Copyedit 3.12 What's New: Release highlights (#109770)Adam Turner2023-09-271-167/+254
|
* GH-109190: Copyedit 3.12 What's New: Deprecations (``os`` fix) (#109927)Adam Turner2023-09-271-15/+17
| | | Merge the two ``os`` entries
* GH-109190: Copyedit 3.12 What's New: Deprecations (#109766)Adam Turner2023-09-261-92/+153
|
* no-issue: Fix a typo in the parameter name of random.expovariate. (gh-109902)lohaswinner2023-09-261-1/+1
|
* GH-109190: Copyedit 3.12 What's New: Sort Other Language Changes (#109836)Adam Turner2023-09-251-47/+47
|
* GH-109190: Copyedit 3.12 What's New: Synchronise C API deprecations with the ↵Adam Turner2023-09-251-2/+0
| | | | 3.12 branch (#109844)
* GH-109190: Copyedit 3.12 What's New: Improve the C-API deprecations section ↵Adam Turner2023-09-251-13/+96
| | | | | | (#109751) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* GH-109190: Copyedit 3.12 What's New: Use the present tense (#109754)Adam Turner2023-09-251-30/+30
|
* GH-109190: Copyedit 3.12 What's New: Trivia (#109760)Adam Turner2023-09-251-7/+4
|
* GH-109190: Copyedit 3.12 What's New: Prefer GitHub issues links (#109753)Adam Turner2023-09-251-4/+4
|
* GH-109190: Copyedit 3.12 What's New: Update the ``imp`` porting guidance ↵Adam Turner2023-09-251-2/+3
| | | | (#109755)
* GH-109190: Copyedit 3.12 What's New: Increase the prominence of the ↵Adam Turner2023-09-251-0/+7
| | | | setuptools removal (#109768)
* Sync whatsnew with the edit I made in the 3.12 backport PR. (#109807)Gregory P. Smith2023-09-241-1/+3
| | | | | | A post main merge edit to the text was added in the 3.12 backport PR. https://github.com/python/cpython/pull/109773/commits/e38d7104b8f245e5db6d487932c44edf0d2c4762 This includes that in main. It's a minor edit over #109767 to resolve the comment there.
* GH-109190: Copyedit 3.12 What's New: Use the ``:file:`` role (#109756)Adam Turner2023-09-241-11/+11
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-100228: Document the os.fork threads DeprecationWarning. (#109767)Gregory P. Smith2023-09-231-0/+12
| | | | | | | | Document the `os.fork` posix threads detected `DeprecationWarning` in 3.12 What's New, os, multiprocessing, and concurrent.futures docs. Many reviews and doc cleanup edits by Adam & Hugo. 🥳 Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Docs: Update Donghee Na's name (#109743)Hugo van Kemenade2023-09-221-4/+4
|
* GH-109190: Copyedit 3.12 What's New: asyncio (#109661)Adam Turner2023-09-221-4/+4
| | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Itamar Oren <itamarost@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* GH-109190: Copyedit 3.12 What's New: PEP 669 (#109658)Adam Turner2023-09-221-3/+5
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* GH-109190: Copyedit 3.12 What's New: Other Language Changes (#109660)Adam Turner2023-09-221-8/+8
|
* GH-109190: Copyedit 3.12 What's New: PEP 684 (#109657)Adam Turner2023-09-221-4/+4
|
* GH-109190: Copyedit 3.12 What's New: bytecode (LOAD_METHOD) (#109665)Adam Turner2023-09-221-2/+2
| | | bytecode: suppress reference to removed LOAD_METHOD
* GH-109190: Copyedit 3.12 What's New: calendar (#109662)Adam Turner2023-09-221-1/+2
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* GH-109190: Copyedit 3.12 What's New: tokenize (#109663)Adam Turner2023-09-221-2/+2
|
* GH-109190: Copyedit 3.12 What's New: Consistently show module names (#109664)Adam Turner2023-09-221-20/+20
| | | Consistently show module names