summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
Commit message (Collapse)AuthorAgeFilesLines
* bpo-44740: Make minor edits to lowercasing "internet" and "web". (GH-27385)Mariusz Felisiak2021-07-271-1/+1
| | | Follow up to 11749e2dc20ad6a76e9a39e948853e89b2b4bbed
* bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378)Mariusz Felisiak2021-07-267-12/+12
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44490: Add 'Whats New' docs regarding types.Union changes (GH-27215)Yurii Karabas2021-07-261-1/+2
|
* bpo-44611: Update docs for os and whatsnew 3.11 (#27314)Dong-hee Na2021-07-241-2/+2
|
* bpo-44611: Use BCryptGenRandom instead of CryptGenRandom on Windows (GH-27168)Dong-hee Na2021-07-231-0/+8
|
* Add release highlights for the 3.10 what's new document (GH-27150)Pablo Galindo Salgado2021-07-141-1/+29
|
* bpo-33346: Allow async comprehensions inside implicit async comprehensions ↵Serhiy Storchaka2021-07-131-7/+10
| | | | | (GH-6766) Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
* bpo-43950: Add documentation for PEP-657 (GH-27047)Ammar Askar2021-07-131-0/+77
| | | | Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
* bpo-43908: Immutable types inherit vectorcall (GH-27001)Erlend Egeberg Aasland2021-07-081-0/+5
| | | | | | Heap types with the Py_TPFLAGS_IMMUTABLETYPE flag can now inherit the PEP 590 vectorcall protocol. Previously, this was only possible for static types. Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-41137: Use utf-8 encoding while reading .pdbrc files (GH-21263)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2021-07-081-0/+3
|
* bpo-43234: Prohibit non-ThreadPoolExecutor in loop.set_default_executor ↵Illia Volochii2021-07-011-0/+9
| | | | (GH-24540)
* bpo-43216: Remove @asyncio.coroutine (GH-26369)Illia Volochii2021-07-011-1/+9
| | | | | | | | | Remove the @asyncio.coroutine decorator enabling legacy generator-based coroutines to be compatible with async/await code; remove asyncio.coroutines.CoroWrapper used for wrapping legacy coroutine objects in the debug mode. The decorator has been deprecated since Python 3.8 and the removal was initially scheduled for Python 3.10.
* Doc: Remove trailing whitespaces. (GH-26953)Julien Palard2021-06-291-3/+3
|
* bpo-44471: Change error type for bad objects in ExitStack.enter_context() ↵Serhiy Storchaka2021-06-291-0/+6
| | | | | | | | | (GH-26820) A TypeError is now raised instead of an AttributeError in ExitStack.enter_context() and AsyncExitStack.enter_async_context() for objects which do not support the context manager or asynchronous context manager protocols correspondingly.
* bpo-12022: Change error type for bad objects in "with" and "async with" ↵Serhiy Storchaka2021-06-291-0/+6
| | | | | | | | | (GH-26809) A TypeError is now raised instead of an AttributeError in "with" and "async with" statements for objects which do not support the context manager or asynchronous context manager protocols correspondingly.
* [doc] Fix typo in what's new in 3.10 (GH-26911)Rodrigo Girão Serrão2021-06-281-1/+1
| | | The `try` statement was missing a colon and therefore was not exemplifying the correct `SyntaxError`.
* bpo-44464: Remove special exclusion for flake8 in the deprecation warnings. ↵Jason R. Coombs2021-06-271-1/+1
| | | | | (#26807) Sync with importlib_metadata 4.6.
* bpo-44498: Issue a deprecation warning on asynchat, asyncore and smtpd ↵Barry Warsaw2021-06-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | import (#26882) * Issue a deprecation warning on smtpd import * Also issue DeprecationWarnings for asynchat and asyncore * Fix some tests * test___all__ requires the word 'module' or 'package' in the deprecation warning text, so add those to smtpd, asynchat, and asyncore. * In test_support, use pprint now instead of asyncore as the landmark. * Add What's New * Use ..deprecated:: * Use ..deprecated:: * Update Lib/smtpd.py Co-authored-by: Miro Hrončok <miro@hroncok.cz> * Update Doc/library/smtpd.rst Co-authored-by: Miro Hrončok <miro@hroncok.cz> * Import async{hat,ore} after the DeprecationWarning for this module Co-authored-by: Miro Hrončok <miro@hroncok.cz>
* bpo-44491: Allow clearing the sqlite3 authoriser callback (GH-26863)Erlend Egeberg Aasland2021-06-241-0/+8
|
* Fix typo in whatsnew 3.10.rst (GH-26854)Arnon Yaari2021-06-241-1/+1
| | | Thanks for the fix @wiggin15 .
* bpo-40939: Remove documentation for `PyParser_*` & add porting notes (GH-26855)Petr Viktorin2021-06-241-3/+38
| | | | | | I tried to be relatively thorough and give lots of links. One reason is that this wasn't deprecated very long; also it seems people running into this tend to not be familiar with similar APIs. Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-44466: Faulthandler now detects the GC (GH-26823)Victor Stinner2021-06-211-0/+7
| | | | The faulthandler module now detects if a fatal error occurs during a garbage collector collection (only if all_threads is true).
* bpo-44077: Expose IP_RECVTOS in the socket module (GH-25992)Georg Sauthoff2021-06-201-0/+3
| | | Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
* Fix typos and grammatical changes in the 3.10 what's new document (GH-26319)Hemangii2021-06-201-1/+1
|
* Add a note about NameError/AttributeError suggestions with custom error ↵Pablo Galindo2021-06-181-0/+11
| | | | functions (GH-26794)
* bpo-43475: Add what's new entry for NaN hash changes (GH-26725)Mark Dickinson2021-06-151-0/+7
|
* bpo-44339: Fix math.pow corner case to comply with IEEE 754 (GH-26606)Mark Dickinson2021-06-121-2/+8
| | | Change the behaviour of `math.pow(0.0, -math.inf)` and `math.pow(-0.0, -math.inf)` to return positive infinity instead of raising `ValueError`. This makes `math.pow` consistent with the built-in `pow` (and the `**` operator) for this particular special case, and brings the `math.pow` special-case handling into compliance with IEEE 754.
* bpo-44362: ssl: improve deprecation warnings and docs (GH-26646)Christian Heimes2021-06-111-12/+31
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-44357:Add `math.cbrt()` function: Cube Root (GH-26622)Ajith Ramachandran2021-06-101-0/+7
| | | | | | * Add math.cbrt() function: Cube Root Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* bpo-35800: Remove smtpd.MailmanProxy since 3.11 (GH-26617)Dong-hee Na2021-06-091-0/+7
|
* bpo-43833: Emit warnings for numeric literals followed by keyword (GH-25466)Serhiy Storchaka2021-06-081-0/+23
| | | | | | | | Emit a deprecation warning if the numeric literal is immediately followed by one of keywords: and, else, for, if, in, is, or. Raise a syntax error with more informative message if it is immediately followed by other keyword or identifier. Automerge-Triggered-By: GH:pablogsal
* bpo-43795: Note Stable ABI PEP in What's New (GH-26479)Petr Viktorin2021-06-081-0/+10
| | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-44348: Revert "bpo-39573: Py_TYPE becomes a static inline function ↵Pablo Galindo2021-06-081-28/+0
| | | | | | (GH-26493)" (GH-26596) This reverts commit f3fa63ec75fdbb4a08a10957a5c631bf0c4a5970 as is causing crashes in some Windows tests in the buildbots.
* bpo-44258: support PEP 515 for Fraction's initialization from string (GH-26422)Sergey B Kirpichev2021-06-071-0/+5
| | | | | | | | | | | | | | | | | | | * bpo-44258: support PEP 515 for Fraction's initialization from string * regexps's version * A different regexps version, which doesn't suffer from catastrophic backtracking * revert denom -> den * strip "_" from the decimal str, add few tests * drop redundant tests * Add versionchanged & whatsnew entry * Amend Fraction constructor docs * Change .. versionchanged:...
* bpo-44305: Improve syntax error for try blocks without except or finally ↵Pablo Galindo2021-06-031-0/+14
| | | | (GH-26523)
* bpo-39573: Py_TYPE becomes a static inline function (GH-26493)Victor Stinner2021-06-031-0/+28
| | | | | Convert the Py_TYPE() and Py_SIZE() macros to static inline functions. The Py_SET_TYPE() and Py_SET_SIZE() functions must now be used to set an object type and size.
* Add bpo-42914 to What's New (GH-25124)Wm. Keith van der Meulen2021-06-031-0/+3
| | | | | BPO-42914 was not added to the What's New in #24864. This includes it in the "Improved Modules" section. Automerge-Triggered-By: GH:gpshead
* bpo-44263: Py_TPFLAGS_HAVE_GC requires tp_traverse (GH-26463)Victor Stinner2021-06-011-1/+6
| | | | | The PyType_Ready() function now raises an error if a type is defined with the Py_TPFLAGS_HAVE_GC flag set but has no traverse function (PyTypeObject.tp_traverse).
* bpo-44246: Remove note about access by index now that a compatibility shim ↵Jason R. Coombs2021-05-311-4/+1
| | | | is offered. (GH-26472)
* bpo-44235: Remove deprecated functions in the gettext module. (GH-26378)Dong-hee Na2021-05-301-0/+12
|
* bpo-44246: Update What's New for importlib.metadata. (#26408)Jason R. Coombs2021-05-271-3/+9
| | | | | | | | | | | | | | | * bpo-44246: Update What's New for importlib.metadata. Bump version of importlib_metadata included. Add note about compatibility notice and fix link to entry_points documentation. Add note about removal of access by index on Distribution.entry_points. * Fix syntax mistake in issue reference. Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> * Fix broken reference in entry-points. Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-42392: [docs] Add deprecated-removed loop labels for asyncio (GH-26357)Ken Jin2021-05-261-0/+1
| | | | * Add deprecated-removed loop labels for all reelvant functions/classes in asyncio
* bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI (GH-26241)Petr Viktorin2021-05-251-0/+4
| | | | | | | | | | | Py_FrozenMain was added to the Limited C API in [bpo-42591]() (3.10.0a4); but to fix that issue it would be enough to add it to the regular C API. The function is undocumented, tests were added very recently ([bpo-44131]()), and most importantly, it is not present in all builds of Python, as the linker sometimes omits it as unused. It should be added back when these issues are fixed. Note that this does not affect Python's regular C API.
* bpo-38908: [docs] Add changes to 3.10 whatsnew and fix some minor ↵Ken Jin2021-05-241-0/+8
| | | | | inaccuracies in news (GH-26096) The fix only applies to ``isinstance``. ``issubclass`` isn't affected (because it was always working to begin with). So I also fixed the news to reflect that.
* Fix typo in whatsnew/3.10.rst (GH-26310)Tushar Sadhwani2021-05-231-1/+1
|
* Remove duplicate words in docs. (GH-26167)Mariusz Felisiak2021-05-211-1/+1
|
* bpo-26110: Document `CALL_METHOD_KW` (GH-26159)Ken Jin2021-05-191-1/+15
| | | Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-44010: IDLE: colorize pattern-matching soft keywords (GH-25851)Tal Einat2021-05-191-0/+6
|
* bpo-44139: Use a more descriptive syntax error comprehension case in the ↵Pablo Galindo2021-05-151-2/+2
| | | | What's New for 3.10 (GH-26145)
* bpo-43977: Update pattern matching language reference docs (GH-25917)Ken Jin2021-05-141-1/+1
| | | | | * Update patma language reference with new changes to sequence and mapping * update 3.10 whatsnew too