summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
Commit message (Collapse)AuthorAgeFilesLines
* [docs] Mention RESUME opcode in whatsnew/3.11.rst (GH-95595) (GH-95851)Miss Islington (bot)2022-08-101-0/+2
| | | | | (cherry picked from commit cf28540fd361eaca7b457e3fa43d62fd97a94d17) Co-authored-by: esc <esc@users.noreply.github.com>
* gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650) (GH-95780)Miss Islington (bot)2022-08-101-1/+1
| | | | | (cherry picked from commit cc9160a29bc3356ced92348bcd8e6668c67167c9) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* GH-92678: Document that you shouldn't be doing your own dictionary offset ↵Miss Islington (bot)2022-08-091-0/+4
| | | | | | | calculations. (GH-95598) (GH-95821) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Co-authored-by: Mark Shannon <mark@hotpy.org>
* [3.11] Remove draft notice from 3.11 What's new (GH-95713) (#95715)Miss Islington (bot)2022-08-051-7/+0
| | | Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* GH-90997: Document CACHEs (GH-95694) (GH-95696)Miss Islington (bot)2022-08-051-0/+7
| | | | | (cherry picked from commit 5f3c9fda1825737fa7b671b995f84a8ab9a4adb8) Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
* gh-94936: C getters: co_varnames, co_cellvars, co_freevars (GH-95008)Miss Islington (bot)2022-08-041-4/+7
| | | | | (cherry picked from commit 42b102bbf9a9ae6fae8f6710202fb7afeeac277c) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642)Miss Islington (bot)2022-08-043-5/+5
| | | | | | | It updates links which redirect to HTTPS with different authority or path. (cherry picked from commit d0d0154443cafb2f0a2cdfb6a1267d80cce8388e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-91838: Use HTTPS links in docs for resources which redirect to ↵Serhiy Storchaka2022-08-048-14/+14
| | | | | | | | | | | | HTTPS (GH-95527) (GH-95643) 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.. (cherry picked from commit f79547a429d5c90af83a0da821e082cba20d4712) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-95191: IDLE Prompts entry for What's New 3.10 (GH-95633)Miss Islington (bot)2022-08-041-0/+3
| | | | | (cherry picked from commit bcc74d509a3bd7e4fdc658179ae6d77614d1fd36) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-95191: IDLE Prompts entry for Whatnew 3.11 (GH-95632)Miss Islington (bot)2022-08-041-0/+3
| | | | | (cherry picked from commit c569526faccb328a55691664b5931171d1a1494a) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] [Enum] add whatsnew entries (GH-95455) (GH-95620)Miss Islington (bot)2022-08-031-0/+43
| | | | | (cherry picked from commit 6bde34000d70dfefafa71e54c8cb5672f423073c) Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
* [3.11] Update link to faster cpython benchmarks (GH-95391) (GH-95392)Miss Islington (bot)2022-07-281-1/+1
| | | | | | | | (cherry picked from commit a1daf6e5ccd78e43ba1eb6fa8d0347e939ce8243) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Automerge-Triggered-By: GH:Fidget-Spinner
* [3.11] gh-95085: Promote Emscripten and WASI to PEP 11 tier 3 (GH-95086) ↵Miss Islington (bot)2022-07-271-4/+13
| | | | | (GH-95307) Co-authored-by: Christian Heimes <christian@python.org>
* gh-95173: Revert commit 51ed2c56a1852cd6b09c85ba81312dc9782772ce (GH-95176)Miss Islington (bot)2022-07-241-7/+0
| | | | | (cherry picked from commit 9007dec606b790c05e158e588b696f3c210c2795) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.11] gh-93351: Add news entry and what's new entry for changes in gh-93351 ↵Pablo Galindo Salgado2022-07-231-0/+4
| | | | | | | (GH-95175) (#95178) (cherry picked from commit 9762572d0aa3569ba82eeceb708ddea9f12918fd) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* Fix scheme count in `sysconfig` whatsnew entry (GH-94110)Miss Islington (bot)2022-07-221-1/+1
| | | | | (cherry picked from commit 9c47cf337c595618dcac81efdefb8254e8ee2edf) Co-authored-by: Frank Dana <ferdnyc@gmail.com>
* gh-95112: Fix What's New 3.11 contribution note periods (GH-95115)Miss Islington (bot)2022-07-221-5/+5
| | | | | | Some are missing, a few placed after the ')'. (cherry picked from commit 8df8ef974374a3bb3ca3eef1ee676f7f173dad5c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-95112: Fix What's New 3.10 contribution note periods (GH-95114)Miss Islington (bot)2022-07-221-25/+25
| | | | | | | Some are missing, a few placed after the ')'. One ') was missing. (cherry picked from commit c944649ffc06f155acea8454f9449fdccad0a74e) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-91181: Add a What's New entry for dropping bytes support for `sys.path` ↵Miss Islington (bot)2022-07-171-0/+7
| | | | | | | (GH-94918) (cherry picked from commit ec4745b5f2c2a460f12c97243c5b7d875f24b0c8) Co-authored-by: Brett Cannon <brett@python.org>
* [3.11] gh-93883: elide traceback indicators when possible (GH-93994) (GH-94740)John Belmonte2022-07-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Elide traceback column indicators when the entire line of the frame is implicated. This reduces traceback length and draws 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 ``` Automerge-Triggered-By: GH:pablogsal
* Docs: remove redundant "adverb-adjective" hyphens from compound modifiers ↵Miss Islington (bot)2022-07-0511-26/+26
| | | | | | | | (GH-94551) (GH-94557) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021 (cherry picked from commit 3440d197a55800ecceea3e115e44b4262411359c) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* gh-93626: Set the release for `__future__.annotations` to `None` (GH-93628) ↵Miss Islington (bot)2022-07-051-0/+7
| | | | | | | | (GH-94553) Co-authored-by: Guido van Rossum <gvanrossum@gmail.com> (cherry picked from commit 4791a8a8357e67431cb686d9559aa419074b8e33) Co-authored-by: KotlinIsland <65446343+KotlinIsland@users.noreply.github.com>
* GH-90908: Document asyncio.TaskGroup (GH-94359) (GH-94456)Miss Islington (bot)2022-06-301-0/+5
| | | | | | Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit b6ec6d4041a5d937f0b63764a329582af4948a3c) Co-authored-by: Guido van Rossum <guido@python.org>
* [3.11] gh-86404: [doc] Fix missing backtick and double target name. ↵Julien Palard2022-06-231-2/+2
| | | | | | | (GH-94120) (GH-94159) (cherry picked from commit 11e865c74baa45ac9eda69f2f6af05505fc03ce5) Co-authored-by: Julien Palard <julien@palard.fr>
* gh-93851: Fix all broken links in Doc/ (GH-93853) (GH-94076)Miss Islington (bot)2022-06-217-14/+21
| | | | | (cherry picked from commit f62ff97f31a775cc7956adeae32c14e7c85bdc15) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* gh-93937, C API: Move PyFrame_GetBack() to Python.h (#93938) (#94000)Victor Stinner2022-06-201-1/+15
| | | | | | | | | | | | | | | | | | Move the follow functions and type from frameobject.h to pyframe.h, so the standard <Python.h> provide frame getter functions: * PyFrame_Check() * PyFrame_GetBack() * PyFrame_GetBuiltins() * PyFrame_GetGenerator() * PyFrame_GetGlobals() * PyFrame_GetLasti() * PyFrame_GetLocals() * PyFrame_Type Remove #include "frameobject.h" from many C files. It's no longer needed. (cherry picked from commit 27b989403356ccdd47545a93aeab8434e9c69f21)
* What's new in 3.10: fix link to issue (GH-93968)Miss Islington (bot)2022-06-191-1/+1
| | | | | | | | | | | | * What's new in 3.10: fix link to issue * What's new in 3.10: fix link to GH issue Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 59c1b33805fe553fe6a157ae9b346153b96f7ff1) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-90153: whatsnew: "z" option in format spec (GH-93624)Miss Islington (bot)2022-06-111-0/+3
| | | | | | Add what's new entry for PEP 682 in Python 3.11. (cherry picked from commit 010284b46b604bb07a99775a2e51475b720da030) Co-authored-by: John Belmonte <john@neggie.net>
* Fix contributor name in WhatsNew 3.11 (GH-93556)Miss Islington (bot)2022-06-071-1/+1
| | | | | (cherry picked from commit 74039330f29461ac06297b6e55c91c89e649c990) Co-authored-by: Samodya Abeysiriwardane <379594+sransara@users.noreply.github.com>
* gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-93544)Miss Islington (bot)2022-06-061-0/+2
| | | | | (cherry picked from commit 56b5daf15970be449d44e91f08db84c698ac5506) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* gh-92240 : Include release dates for "What's New In Python 3.X" (GH-92937)Miss Islington (bot)2022-05-298-8/+11
| | | | | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> (cherry picked from commit 877ad7b3b2778a305d3989d58ebd68cb01baf26e) Co-authored-by: georgically <40323509+georgically@users.noreply.github.com>
* [3.11] bpo-40514: Drop EXPERIMENTAL_ISOLATED_SUBINTERPRETERS (gh-93185) ↵Eric Snow2022-05-281-0/+5
| | | | | | | | | | | | | (GH-93306) (cherry picked from commit caa279d6fd5f151e57f891cd4f6ba51b532501c6) This was added for bpo-40514 (gh-84694) to test out a per-interpreter GIL. However, it has since proven unnecessary to keep the experiment in the repo. (It can be done as a branch in a fork like normal.) So here we are removing: * the configure option * the macro * the code enabled by the macro Automerge-Triggered-By: GH:ericsnowcurrently
* gh-90817: Deprecate explicitly locale.resetlocale() (GH-93196)Miss Islington (bot)2022-05-251-1/+5
| | | | | | | The function was already deprecated in Python 3.11 since it calls locale.getdefaultlocale() which was deprecated in Python 3.11. (cherry picked from commit bf58cd01b313837511d9399f18588ccd2e5dc5a9) Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-92728: Restore re.template, but deprecate it (GH-93161)Miss Islington (bot)2022-05-251-0/+5
| | | | | | | | Revert "bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)" This reverts commit b09184bf05b07b77c5ecfedd4daa846be3cbf0a9. (cherry picked from commit 16a7e4a0b75080275bf12cfb71d54b01d85099b2) Co-authored-by: Miro Hrončok <miro@hroncok.cz>
* Doc: No need to use rst syntax in code comments. (GH-93102)Miss Islington (bot)2022-05-231-2/+2
| | | | | | And it raises `make suspicious` false positives. (cherry picked from commit e739ff141680fd7e2a762cf98c4352c6c850af1f) Co-authored-by: Julien Palard <julien@palard.fr>
* gh-71223: Improve rendering of some references in the docs (GH-93041)Miss Islington (bot)2022-05-211-3/+3
| | | | | | | For example, instead of "eval()uated" (link from "eval()") show "evaluated" (link from the whole word). (cherry picked from commit 7f835923c179d1d2da54b232e0113abc2c56ea31) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-91860: documentation for typing.dataclass_transform (GH-92768)Miss Islington (bot)2022-05-201-5/+5
| | | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> (cherry picked from commit f20a6a54fb041507a334ad71706974960d1b473f) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* gh-92913: Clarify changes to PyInitConfig.module_search_paths[_set] fields ↵Miss Islington (bot)2022-05-191-0/+15
| | | | | | | (GH-92980) (cherry picked from commit 403d16fa28764718dcd0536ccb3ab8d05768465d) Co-authored-by: Steve Dower <steve.dower@python.org>
* gh-91491: Complete Whats New in 3.11 for typing (GH-92708)Miss Islington (bot)2022-05-191-4/+36
| | | | | | | | | Fixes GH-91491 Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> (cherry picked from commit 6b51773afd5658e15d23ce220f66fcc39c02dcae) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* Include ``asyncio.Barrier`` in 3.11 Whats New (GH-92927)Miss Islington (bot)2022-05-191-0/+4
| | | | | (cherry picked from commit 60ee61571a60bcf4e40a4074e8db356b5af793c1) Co-authored-by: Duprat <yduprat@gmail.com>
* gh-81548: Clarify the deprecation of octal sequences affect byte strings ↵Miss Islington (bot)2022-05-171-2/+2
| | | | | | | | (GH-92643) Automerge-Triggered-By: GH:pablogsal (cherry picked from commit 0d8500c739dc5ea926b2ec1ec02e400738225dac) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* gh-87670: Add web.archive redirects from effbot (GH-92816)Miss Islington (bot)2022-05-163-4/+5
| | | | | (cherry picked from commit 3ed1cae9ed9d1f0dd9d68da4b30b731fdf6be768) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* Document Py_ssize_t. (GH-92512)Miss Islington (bot)2022-05-131-1/+1
| | | | | | | | | It fixes 252 errors from a Sphinx nitpicky run (sphinx-build -n). But there's 8182 errors left. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 664aa94b570a4a8f3535efb2e3d638a4ab655943) Co-authored-by: Julien Palard <julien@palard.fr>
* [3.11] gh-89336: Fix configparser.RawConfigParser.readfp typo (GH-92636) ↵Miss Islington (bot)2022-05-111-1/+1
| | | | | | | | | | (GH-92662) (cherry picked from commit 75e463430efcb5b20efa93f9a5d98ccd03d83a3d) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Automerge-Triggered-By: GH:serhiy-storchaka
* Revert "gh-92550 - Fix regression in `pathlib.Path.rglob()` (GH-92583)" ↵Serhiy Storchaka2022-05-111-0/+9
| | | | | (GH-92599) This reverts commit a51baec9ce0eae2b4db069a55daf8f03be3ab2f4.
* gh-91928: Add what's new entry for datetime.UTC alias (GH-92567)Miss Islington (bot)2022-05-101-0/+2
| | | | | | | | | | | | I merged this without a What's New entry to avoid merge conflicts, so here's the follow-up adding the entry. @Kab1r do you mind reviewing? Closes GH-91928 Automerge-Triggered-By: GH:pganssle (cherry picked from commit a0a825c38a0c2ceec024a276f1f527c93ba57af2) Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com>
* gh-92550 - Fix regression in `pathlib.Path.rglob()` (GH-92583)Miss Islington (bot)2022-05-101-9/+0
| | | | | | | | | | We could try to remedy this by taking a slice, but we then run into an issue where the empty string will match altsep on POSIX. That rabbit hole could keep getting deeper. A proper fix for the original issue involves making pathlib's path normalisation more configurable - in this case we want to retain trailing slashes, but in other we might want to preserve `./` prefixes, or elide `../` segments when we're sure we won't encounter symlinks. This reverts commit ea2f5bcda1a392804487e6883be89fbad38a01a5. (cherry picked from commit dcdf250d2de1428f7d8b4e9ecf51d2fd8200e21a) Co-authored-by: Barney Gale <barney.gale@gmail.com>
* gh-91345: Talk about ``sys._getframe`` compatibility in 3.11 whatsnew (GH-92552)Miss Islington (bot)2022-05-091-4/+5
| | | | | (cherry picked from commit be3cdd66c95806c648b6000c2b9f0e8417473eb8) Co-authored-by: Ken Jin <kenjin4096@gmail.com>
* What's New in Python 3.11: move C API changes (GH-92390)Miss Islington (bot)2022-05-091-31/+31
| | | | | | Move C API changes to the C API > Porting to Python 3.11 section. (cherry picked from commit d8104d13cd80737f5efe1cd94aeec5979f912cd0) Co-authored-by: Victor Stinner <vstinner@python.org>
* Use percentage over factor for 3.11 whatsnew performance (GH-92496)Miss Islington (bot)2022-05-081-1/+1
| | | | | (cherry picked from commit 9304f9855852f8cc823534b954206181b933065e) Co-authored-by: Ken Jin <kenjin4096@gmail.com>