summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-95914: Add paragraph about PEP 654 in main body of 'What's New in 3.11' ↵Irit Katriel2022-08-131-2/+19
| | | | (GH-95937)
* gh-90300: [docs] Add whatsnew entry for new --help output (GH-95856) (GH-95928)Łukasz Langa2022-08-121-0/+6
| | | Co-authored-by: Éric <merwok@netwok.org>
* gh-95914: Add missing PEPs to the Summary section of 3.11 What's New (GH-95916)CAM Gerlach2022-08-121-5/+23
|
* gh-90385: Add pathlib.Path.walk what's new section (GH-95467)Stanislav Zmiev2022-08-111-0/+7
| | | Automerge-Triggered-By: GH:brettcannon
* gh-95504: Fix negative numbers in PyUnicode_FromFormat (GH-95848)Petr Viktorin2022-08-101-0/+3
| | | Co-authored-by: philg314 <110174000+philg314@users.noreply.github.com>
* [docs] Mention RESUME opcode in whatsnew/3.11.rst (#95595)esc2022-08-101-0/+2
|
* GH-92678: Document that you shouldn't be doing your own dictionary offset ↵Mark Shannon2022-08-091-0/+4
| | | | | | calculations. (GH-95598) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* gh-95781: More strict format string checking in PyUnicode_FromFormatV() ↵Serhiy Storchaka2022-08-081-0/+6
| | | | | | | | | (GH-95784) An unrecognized format character in PyUnicode_FromFormat() and PyUnicode_FromFormatV() now sets a SystemError. In previous versions it caused all the rest of the format string to be copied as-is to the result string, and any extra arguments discarded.
* gh-93274: Expose receiving vectorcall in the Limited API (GH-95717)Petr Viktorin2022-08-081-3/+11
|
* gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650)Serhiy Storchaka2022-08-081-1/+1
|
* gh-93243: Make smtpd private before porting its users (GH-93246)Oleg Iarygin2022-08-061-0/+12
| | | | | | | gh-93243 This PR is required to reduce diffs of the following porting (no need to either maintain documentation and tests consistent with each porting step, or try to port everything and remove smtpd in a single PR). Automerge-Triggered-By: GH:warsaw
* Remove draft notice from 3.11 What's new (#95713)Pablo Galindo Salgado2022-08-051-7/+0
|
* GH-90997: Document CACHEs (GH-95694)Brandt Bucher2022-08-051-0/+7
|
* gh-94673: Add Per-Interpreter tp_subclasses for Static Builtin Types (gh-95301)Eric Snow2022-08-051-0/+10
|
* gh-93274: Make vectorcall safe on mutable classes & inherit it by default ↵Petr Viktorin2022-08-041-0/+9
| | | | (#95437)
* gh-95388: Deprecate creating immutable types with mutable bases (GH-95533)Petr Viktorin2022-08-041-0/+7
|
* gh-94936: C getters: co_varnames, co_cellvars, co_freevars (#95008)Ken Jin2022-08-041-4/+7
|
* gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642)Serhiy Storchaka2022-08-043-5/+5
| | | | It updates links which redirect to HTTPS with different authority or path.
* gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS ↵Serhiy Storchaka2022-08-048-14/+14
| | | | | | | | | | (GH-95527) If an HTTP link is redirected to a same looking HTTPS link, the latter can be used directly without changes in readability and behavior. It protects from a men-in-the-middle attack. This change does not affect Python examples.
* gh-95191: IDLE Prompts entry for What's New 3.10 (#95633)Terry Jan Reedy2022-08-041-0/+3
|
* gh-95191: IDLE Prompts entry for Whatnew 3.11 (#95632)Terry Jan Reedy2022-08-041-0/+3
|
* [Enum] add whatsnew entries (GH-95455)Ethan Furman2022-08-031-0/+43
|
* gh-77617: Add sqlite3 command-line interface (#95026)Erlend Egeberg Aasland2022-08-011-0/+7
| | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Doctest cleanups (GH-95436)Zachary Ware2022-07-301-2/+2
| | | | | | | | | | | | | * GHA: Don't hide doctest output * Enable doctests in math.rst * Squash warnings in nntplib.rst doctests * Squash warning in turtle.rst doctest * Squash warnings in whatsnew/3.2.rst doctests * Treat warnings as errors in Doc/ doctests
* gh-94673: Add Per-Interpreter tp_weaklist for Static Builtin Types (#95302)Eric Snow2022-07-291-0/+7
| | | | | | | | | | | | | | | * Store tp_weaklist on the interpreter state for static builtin types. * Factor out _PyStaticType_GET_WEAKREFS_LISTPTR(). * Add _PyStaticType_ClearWeakRefs(). * Add a comment about how _PyStaticType_ClearWeakRefs() loops. * Document the change. * Update Doc/whatsnew/3.12.rst * Fix a typo.
* Update link to faster cpython benchmarks (GH-95391)Ken Jin2022-07-281-1/+1
|
* gh-95085: Promote Emscripten and WASI to PEP 11 tier 3 (GH-95086)Christian Heimes2022-07-271-4/+13
|
* gh-93963: Document importlib.abc deprecations (#94546)Hugo van Kemenade2022-07-251-0/+18
|
* gh-85454: Remove distutils documentation (#95239)Christian Heimes2022-07-252-2/+2
| | | | Most places now refer to setuptools or link to setuptools documentation. Some examples like zipapp need to be updated later.
* gh-85454: Remove links from historical mentions of distutils (GH-95192)Oleg Iarygin2022-07-255-8/+8
|
* gh-95173: Revert commit 51ed2c56a1852cd6b09c85ba81312dc9782772ce (#95176)Pablo Galindo Salgado2022-07-241-7/+0
|
* gh-93351: Add news entry and what's new entry for changes in gh-93351 (#95175)Pablo Galindo Salgado2022-07-231-0/+4
|
* Fix scheme count in `sysconfig` whatsnew entry (GH-94110)Frank Dana2022-07-221-1/+1
|
* gh-95112: Fix What's New 3.12 contribution note periods (#95118)Terry Jan Reedy2022-07-221-2/+2
| | | A couple, so far, are missing.
* gh-95112: Fix What's New 3.11 contribution note periods (#95115)Terry Jan Reedy2022-07-221-5/+5
| | | Some are missing, a few placed after the ')'.
* gh-95112: Fix What's New 3.10 contribution note periods (#95114)Terry Jan Reedy2022-07-221-25/+25
| | | | Some are missing, a few placed after the ')'. One ') was missing.
* gh-90016: Deprecate default sqlite3 adapters and converters (#94276)Erlend Egeberg Aasland2022-07-201-0/+6
| | | Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-91181: Add a What's New entry for dropping bytes support for `sys.path` ↵Brett Cannon2022-07-171-0/+7
| | | | (GH-94918)
* gh-93939: Build C extensions without setup.py (GH-94474)Christian Heimes2022-07-141-0/+6
| | | Combines GH-93940, GH-94452, and GH-94433
* gh-94309: Add typing.Hashable and typing.Sized for "What's New for Python ↵MonadChains2022-07-141-0/+3
| | | | | 3.12" (GH-94729) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* Fix heading levels for "Deprecated" section in What's New for 3.12 (GH-94762)Pradyun Gedam2022-07-121-2/+2
| | | | | | These headings were at the same level as the "Deprecated" heading, but likely intended to be a subheading within that section. Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
* gh-93883: elide traceback indicators when possible (#93994)John Belmonte2022-07-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gh-93883: elide traceback indicators when possible Elide traceback column indicators when the entire line of the frame is implicated. This reduces traceback length and draws even more attention to the remaining (very relevant) indicators. Example: ``` Traceback (most recent call last): File "query.py", line 99, in <module> bar() File "query.py", line 66, in bar foo() File "query.py", line 37, in foo magic_arithmetic('foo') File "query.py", line 18, in magic_arithmetic return add_counts(x) / 25 ^^^^^^^^^^^^^ File "query.py", line 24, in add_counts return 25 + query_user(user1) + query_user(user2) ^^^^^^^^^^^^^^^^^ File "query.py", line 32, in query_user return 1 + query_count(db, response['a']['b']['c']['user'], retry=True) ~~~~~~~~~~~~~~~~~~^^^^^ TypeError: 'NoneType' object is not subscriptable ``` Rather than going out of our way to provide indicator coverage in every traceback test suite, the indicator test suite should be responible for sufficient coverage (e.g. by adding a basic exception group test to ensure that margin strings are covered).
* gh-94199: Remove the ssl.wrap_socket() function (#94203)Victor Stinner2022-07-081-0/+9
| | | | | | | | Remove the ssl.wrap_socket() function, deprecated in Python 3.7: instead, create a ssl.SSLContext object and call its sl.SSLContext.wrap_socket() method. Any package that still uses ssl.wrap_socket() is broken and insecure. The function neither sends a SNI TLS extension nor validates server hostname. Code is subject to CWE-295 : Improper Certificate Validation.
* gh-94379: Remove zipimport find_loader() and find_module() methods (#94380)Victor Stinner2022-07-051-0/+5
| | | | | zipimport: Remove find_loader() and find_module() methods, deprecated in Python 3.10: use the find_spec() method instead. See PEP 451 for the rationale.
* Docs: remove redundant "adverb-adjective" hyphens from compound modifiers ↵Ned Batchelder2022-07-0511-26/+26
| | | | | (GH-94551) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021
* gh-93626: Set the release for `__future__.annotations` to `None` (GH-93628)KotlinIsland2022-07-051-0/+7
| | | Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
* gh-94383: Remove ElementTree.Element.copy() method (#94384)Victor Stinner2022-07-041-0/+6
| | | | | | xml.etree: Remove the ElementTree.Element.copy() method of the pure Python implementation, deprecated in Python 3.10, use the copy.copy() function instead. The C implementation of xml.etree has no copy() method, only a __copy__() method.
* gh-94352: shlex.split() no longer accepts None (#94353)Victor Stinner2022-07-041-0/+5
| | | | | shlex.split(): Passing None for s argument now raises an exception, rather than reading sys.stdin. The feature was deprecated in Python 3.9.
* gh-94216: add pseudo instructions to the dis/opcodes modules (GH-94241)Irit Katriel2022-07-011-0/+11
|
* GH-90908: Document asyncio.TaskGroup (GH-94359)Guido van Rossum2022-06-301-0/+5
| | | Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>