summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.11.rst
Commit message (Collapse)AuthorAgeFilesLines
* GH-97850: Suppress cross-references to removed ``importlib.util`` functions ↵Adam Turner2023-05-031-1/+1
| | | | | | | | | (#104134) `importlib.utils` -> `importlib.util` in a few places --------- Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* GH-97850: Suppress cross-references to the removed ``module_repr`` method ↵Adam Turner2023-05-031-1/+1
| | | | | (#104133) Suppress cross-references to ``module_repr``
* GH-98040: Suppress cross-references to the removed ``imp`` module (#104131)Adam Turner2023-05-031-1/+1
| | | Suppress cross-references to imp
* gh-98040: Remove find_loader, find_module and other deprecated APIs (#98059)Barry Warsaw2023-05-031-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove deprecated classes from pkgutil * Remove some other PEP 302 obsolescence * Use find_spec instead of load_module * Remove more tests of PEP 302 obsolete APIs * Remove another bunch of tests using obsolete load_modules() * Remove deleted names from __all__ * Remove obsolete footnote * imp is removed * Remove `imp` from generated stdlib names * What's new and blurb * Update zipimport documentation for the removed methods * Fix some Windows tests * Remove any test (or part of a test) that references `find_module()`. * Use assertIsNone() / assertIsNotNone() consistently. * Update Doc/reference/import.rst * We don't need pkgutil._get_spec() any more either * test.test_importlib.fixtures.NullFinder * ...BadLoaderFinder.find_module * ...test_api.InvalidatingNullFinder.find_module * ...test.test_zipimport test of z.find_module * Suppress cross-references to find_loader and find_module * Suppress cross-references to Finder * Suppress cross-references to pkgutil.ImpImporter and pkgutil.ImpLoader --------- Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* GH-103484: Fix redirected permanently URLs (#104001)Rafael Fontenelle2023-05-021-4/+4
| | | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
* gh-100458: Clarify Enum.__format__() change of mixed-in types in the ↵Anže Pečar2023-05-011-13/+5
| | | | | | whatsnew/3.11.rst (GH-100387) Co-authored-by: JosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com> Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
* gh-95913: Consolidate build requirements changes in 3.11 WhatsNew (GH-98781)C.A.M. Gerlach2023-03-071-15/+7
| | | | | Apply suggestion to combine build requirements changes in 3.11 WhatsNew Co-authored-by: Petr Viktorin <encukou@gmail.com>
* gh-95913: Edit Faster CPython section in 3.11 WhatsNew (GH-98429)C.A.M. Gerlach2023-03-071-77/+109
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-100700: Remove Date and Release fields in past whatsnews (GH-100728)Zachary Ware2023-01-031-2/+1
|
* Docs: Use `PY_VERSION_HEX` for version comparison (#100179)Hugo van Kemenade2022-12-171-1/+1
|
* gh-100008: Document Python build requirements (#100009)Victor Stinner2022-12-051-1/+1
| | | | Document also configure --without-freelists option added to Python 3.11.
* fix a typo in whatsnew/3.11 (#98603)July Tikhonov2022-10-251-1/+1
|
* Fix typos in deprecation section of 3.11 What's New (#98628)Jacob Walls2022-10-251-3/+3
|
* gh-95913: Prepare Improved Modules in 3.11 WhatsNew for final edits (#98631)C.A.M. Gerlach2022-10-251-22/+91
| | | | | | | | | * Add two line breaks and ref target labels to remaining subsections * Fix a few out of order Improved Modules * Fix a few minor textual formatting issues in sections * Fix remaining Sphinx warnings in the Improved Modules section
* gh-95913: Fix grammar for SpooledTemporaryFile 3.11 whatsnew entry (#98604)Jelle Zijlstra2022-10-241-1/+1
| | | Followup from #98312.
* gh-95913: Fix, sort & expand pending removal sect in 3.11 WhatsNew (GH-98583)C.A.M. Gerlach2022-10-241-20/+43
| | | | | | | | | | | | * Fix names/references of pending removal APIs * Sort list of APIs pending removal alphabetically * Add missing modules/submodules pending removal in 3.12 * Add table of unittest deprecated aliases to 3.11 What's New Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
* gh-95913: Add io support for SpooledTemporaryFile in 3.11 Whatsnew (#98312)C.A.M. Gerlach2022-10-241-0/+13
|
* gh-95913: Edit & expand Deprecated section of 3.11 WhatsNew (#98581)C.A.M. Gerlach2022-10-241-82/+108
| | | | | | | * Refine Sphinx syntax and grammar/phrasing in Deprecated section items * Organize into lang/builtins, modules & stdlib sections * Convert PEP 594 module list into a grid to not waste as much space * Add importlib.resources deprecated functions to section
* gh-95913: Edit, expand & format Bytecode sect in 3.11 WhatsNew (GH-98559)C.A.M. Gerlach2022-10-241-39/+81
|
* gh-95913: Edit, link and sort 3.11 WhatsNew Build section (#98588)C.A.M. Gerlach2022-10-241-57/+67
|
* gh-95913: Edit, sort & expand 3.11 WhatsNew Porting section (#98585)C.A.M. Gerlach2022-10-241-30/+31
|
* gh-95913: Edit, xref & sort 3.11 WhatsNew Removed section (#98584)C.A.M. Gerlach2022-10-241-58/+61
|
* gh-95913 Add string section to Whatsnew with new Template methods (#98311)C.A.M. Gerlach2022-10-241-0/+12
|
* gh-95913: Edit & expand Optimizations in 3.11 WhatsNew (#98426)C.A.M. Gerlach2022-10-221-20/+39
|
* gh-95913: Copyedit & xref FrameInfo in Whatsnew inspect section (#98304)C.A.M. Gerlach2022-10-221-9/+20
|
* gh-95913: Edit zipfile Whatsnew section & add new APIs (#98314)C.A.M. Gerlach2022-10-191-2/+14
| | | | | | | | | * Link ZipFile in What's New entry discussing it * Add entry for new ZipFile.mkdir method * Add entry for new zipfile.Path.stem/suffix/suffixes methods * Add missing line breaks between zipfile bullet list items
* gh-95913: Add WhatsNew section for new logging APIs (#98320)C.A.M. Gerlach2022-10-191-0/+20
| | | | | | | * Add entry for new logging.getLevelNamesMapping function * Add entry for SysLogHandler.createSocket to whatsnew * Add missing line break between logging bullet list items
* gh-95914: Add links to 3.11 WhatsNew Summary items (#98416)C.A.M. Gerlach2022-10-181-26/+38
| | | Add links to Summary items to where readers can learn more
* gh-95913: Copyedit, xref and organize enum section (#98295)C.A.M. Gerlach2022-10-181-38/+64
| | | | | | | | | | | * Whatsnew: Convert literals in enum section to actual x-references * Whatsnew: Rewrite enum section for clear and consistant phrasing * Whatsnew: Combine directly related enum items instead of seperating them * gh-98250: Describe __str__/__format__ changes more clearly/accurately * Tweak enum section language per feedback from Ethan
* gh-95913: Prepare remaining Whatsnew sections for editing (#98342)C.A.M. Gerlach2022-10-181-28/+105
| | | | | | | | | * Add line breaks & ref targets to Whatsnew to prepare for future changes * Use standard heading underbar symbols for H4 sections * Flatten Porting subsection; clarify scope of/link Python->CAPI sections * Move C API pending deprecations to C API section, to match the others
* gh-95913: Move subinterpreter exper removal to 3.11 WhatsNew (GH-98345)C.A.M. Gerlach2022-10-171-0/+4
| | | | | | | | | | | | Part of #95913 Forward port of #93306, which was a backport of #93185, to address #84694 This adds the What's New entry for the removal of the subinterpreter-related env variable, build-time flag, etc. As @ericsnowcurrently was author of the original changes, I added him as a co-author to the commit. This addition to the Python 3.11 What's New document were only made to the Python 3.11 branch during the backport process, and not added to the version in `main`. Forward-porting it ensures the docs retain these additions for the future, rather than being lost in a legacy Python versions, allows it to be be edited as part of #95913 , and avoids merge conflicts with routine back-ports of PRs touching it. I've pulled in the addition exactly as-is with no modifications; any editing will be done in future PRs (and therefore can be reviewed and backported accordingly). The one other such addition is forward-ported in #98344
* gh-95914: Add What's New item describing PEP 670 changes (#98315)C.A.M. Gerlach2022-10-171-0/+11
|
* gh-95913: Forward-port int/str security change to 3.11 What's New in main ↵C.A.M. Gerlach2022-10-171-0/+11
| | | | | | | (#98344) Add int/str security change from issue gh-95778 PRs gh-96499 / gh-95800 Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google]
* Docs: Fix backtick errors found by sphinx-lint (#97998)Hugo van Kemenade2022-10-071-1/+1
| | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* Add Pynche's move to the What's new in 3.11 (#97974)Barry Warsaw2022-10-061-0/+4
| | | | | | | | | * Add Pynche's move to the What's new in 3.11 * Update Doc/whatsnew/3.11.rst Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-95913: Copyedit/improve Implementation Changes What's New section (#97720)C.A.M. Gerlach2022-10-051-17/+27
| | | | | | | | | | | * Add and refine reST/Sphinx syntax for implementation changes section * Clarify and refine wording in the Implementation Changes section * Elide unnecessary comma Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-93738: Documentation C syntax (Use `c:struct`) (#97772)Adam Turner2022-10-041-1/+1
| | | Use `c:struct`
* gh-95913: Copyedit/improve Other Language Changes What's New section (#97719)C.A.M. Gerlach2022-10-041-31/+36
| | | | | | | | | | | | | | | * Add/refine cross references to items in other lang changes section * Unify context manager exception changes into single non-repetitive item * More clearly describe the intent and consequences of the -P option * Apply minor clarifications & copyedits to rest of section * Tweak the formatting of module references Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-95913: Move py.exe to appropriate What's New section & refine text (#97718)C.A.M. Gerlach2022-10-041-22/+26
| | | | | | | | | | | | | | | * Move Windows py.exe improvements from Typing section to New Features * Add ref target label and use literal for py.exe * Be clearer/explict about what legacy version arg components reprisent * Apply other minor clarity and textual fixes to py.exe launcher text * Refine phrasing of legacy sentence of py.exe desc Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* GH-95913: Update what's new in 3.11 for asyncio (#97806)Guido van Rossum2022-10-041-16/+40
| | | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-95913: Fix PEP number in PEP 678 What's New ref label (#97739)C.A.M. Gerlach2022-10-031-1/+1
| | | What's New: Fix PEP number in PEP 678 ref target label
* gh-95913: Copyedit/improve New Modules What's New section (#97721)C.A.M. Gerlach2022-10-031-3/+6
| | | | | * Link TOML & WSGI in New Modules section, refine text & add ref label * Further reformat new modules & add PEP link to tomllib
* gh-95913: Copyedit, link & format Typing Features section in 3.11 What's New ↵C.A.M. Gerlach2022-09-191-23/+50
| | | | | | | (GH-96097) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-95913: Fix and copyedit New Features section of 3.11 What's New (GH-95915)C.A.M. Gerlach2022-09-191-33/+38
|
* Add dataclass field default change to 3.11 what's new (#96790)Laurie O2022-09-131-0/+8
| | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-96559: Fixes Windows launcher handling of defaults using old-style tags, ↵Steve Dower2022-09-051-0/+22
| | | | and adds What's New section (GH-96595)
* gh-90814: Correct NEWS wording re. optional C11 features (GH-96309)Petr Viktorin2022-08-291-1/+2
| | | | | | | | | | | The previous wording of this entry suggests that CPython won't work if optional compiler features are enabled. That's not the case. The change is that we require C11 rather than C89. Note that PEP 7 does say "Python 3.11 and newer versions use C11 without optional features." It is correct there: that's not a guide for users who compile Python, but for CPython devs who must avoid the features.
* gh-95914: Add Py_UNICODE encode APIs removed in PEP 624 to 3.11 What's New ↵C.A.M. Gerlach2022-08-181-0/+25
| | | | | | | (#96016) * 3.11 Whatsnew: Add Py_UNICODE encode functions removed in PEP 624 * Just use :func: instead of :c:func: for non-resolved funcs so ! works
* gh-95913: Add traceback module additions to what's new in 3.11 (GH-95980)Irit Katriel2022-08-181-0/+14
|
* remove repetitive credit from what's new in 3.11 rst (GH-96024)Irit Katriel2022-08-161-1/+0
|