summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.10.rst
Commit message (Collapse)AuthorAgeFilesLines
* Add What's New for dataclass keyword-only parameters. (GH-28158)Eric V. Smith2021-09-041-1/+60
|
* bpo-45000: Update whatsnews about deleting __debug__ (GH-27956)Dong-hee Na2021-08-261-0/+2
|
* bpo-38291: Update 3.10 WhatsNew with typing.{io|re} DeprecationWarning ↵Ken Jin2021-08-231-0/+13
| | | | (GH-27872)
* bpo-44584: Deprecate PYTHONTHREADDEBUG env var (GH-27065)Victor Stinner2021-08-061-0/+5
| | | | | The threading debug (PYTHONTHREADDEBUG environment variable) is deprecated in Python 3.10 and will be removed in Python 3.12. This feature requires a debug build of Python.
* bpo-41103: Resurrect the old buffer protocol. (GH-27437)Inada Naoki2021-07-291-5/+0
| | | | | Revert "bpo-41103: Remove old buffer protocol support (#21117)" This reverts commit 6f8a6ee59cb7f99f68df8ee9c3e8c8cf19af3eed.
* bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378)Mariusz Felisiak2021-07-261-2/+2
| | | 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
|
* Add release highlights for the 3.10 what's new document (GH-27150)Pablo Galindo Salgado2021-07-141-1/+29
|
* [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>
* 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-44362: ssl: improve deprecation warnings and docs (GH-26646)Christian Heimes2021-06-111-12/+31
| | | Signed-off-by: Christian Heimes <christian@python.org>
* 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-44305: Improve syntax error for try blocks without except or finally ↵Pablo Galindo2021-06-031-0/+14
| | | | (GH-26523)
* 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-44246: Remove note about access by index now that a compatibility shim ↵Jason R. Coombs2021-05-311-4/+1
| | | | is offered. (GH-26472)
* 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-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
* bpo-43908: Add What's New entry for Py_TPFLAGS_IMMUTABLETYPE flag (GH-25816)Erlend Egeberg Aasland2021-05-131-0/+10
|
* bpo-39906: Document new follow_symlinks argument to pathlib.Path.stat() and ↵Barney Gale2021-05-131-0/+5
| | | | chmod() in 3.10 whatsnew. (GH-26089)
* bpo-43757: Document os.path.realpath(strict=True) in 3.10 whatsnew. (GH-26090)Barney Gale2021-05-131-0/+8
|
* Correct the changelog entry for the syntax error message for multiple ↵Thomas Grainger2021-05-111-1/+1
| | | | exception types (GH-26038)
* bpo-43149: Correct the syntax error message for multiple exception types ↵Pablo Galindo2021-05-081-1/+1
| | | | | (GH-25996) Automerge-Triggered-By: GH:pablogsal
* bpo-42725: mention the changes on what's new (GH-25974)Batuhan Taskaya2021-05-081-0/+10
|
* Copyedits to 3.10 What's New (#25787)Jelle Zijlstra2021-05-041-46/+46
| | | Co-authored-by: Dominic Davis-Foster <dominic@davis-foster.co.uk>
* bpo-44001: improve Literal documentation (GH-25877)Jelle Zijlstra2021-05-041-2/+2
|
* bpo-37903: IDLE: add shell sidebar mouse interactions (GH-25708)Tal Einat2021-05-031-0/+26
| | | | | | Left click and drag to select lines. With selection, right click for context menu with copy and copy-with-prompts. Also add copy-with-prompts to the text-box context menu. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-38820: Add ssl, hashlib, and hmac changes to whatsnew 3.10 (GH-25817)Christian Heimes2021-05-021-0/+55
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-43987: Add "Annotations Best Practices" HOWTO doc. (#25746)larryhastings2021-05-021-2/+6
| | | Add "Annotations Best Practices" HOWTO doc.
* bpo-43998: Default to TLS 1.2 and increase cipher suite security (GH-25778)Christian Heimes2021-05-011-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ssl module now has more secure default settings. Ciphers without forward secrecy or SHA-1 MAC are disabled by default. Security level 2 prohibits weak RSA, DH, and ECC keys with less than 112 bits of security. :class:`~ssl.SSLContext` defaults to minimum protocol version TLS 1.2. Settings are based on Hynek Schlawack's research. ``` $ openssl version OpenSSL 1.1.1k FIPS 25 Mar 2021 $ openssl ciphers -v '@SECLEVEL=2:ECDH+AESGCM:ECDH+CHACHA20:ECDH+AES:DHE+AES:!aNULL:!eNULL:!aDSS:!SHA1:!AESCCM' TLS_AES_256_GCM_SHA384 TLSv1.3 Kx=any Au=any Enc=AESGCM(256) Mac=AEAD TLS_CHACHA20_POLY1305_SHA256 TLSv1.3 Kx=any Au=any Enc=CHACHA20/POLY1305(256) Mac=AEAD TLS_AES_128_GCM_SHA256 TLSv1.3 Kx=any Au=any Enc=AESGCM(128) Mac=AEAD TLS_AES_128_CCM_SHA256 TLSv1.3 Kx=any Au=any Enc=AESCCM(128) Mac=AEAD ECDHE-ECDSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=ECDSA Enc=AESGCM(256) Mac=AEAD ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD ECDHE-ECDSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH Au=ECDSA Enc=AESGCM(128) Mac=AEAD ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(128) Mac=AEAD ECDHE-ECDSA-CHACHA20-POLY1305 TLSv1.2 Kx=ECDH Au=ECDSA Enc=CHACHA20/POLY1305(256) Mac=AEAD ECDHE-RSA-CHACHA20-POLY1305 TLSv1.2 Kx=ECDH Au=RSA Enc=CHACHA20/POLY1305(256) Mac=AEAD ECDHE-ECDSA-AES256-SHA384 TLSv1.2 Kx=ECDH Au=ECDSA Enc=AES(256) Mac=SHA384 ECDHE-RSA-AES256-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AES(256) Mac=SHA384 ECDHE-ECDSA-AES128-SHA256 TLSv1.2 Kx=ECDH Au=ECDSA Enc=AES(128) Mac=SHA256 ECDHE-RSA-AES128-SHA256 TLSv1.2 Kx=ECDH Au=RSA Enc=AES(128) Mac=SHA256 DHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=DH Au=RSA Enc=AESGCM(256) Mac=AEAD DHE-RSA-AES128-GCM-SHA256 TLSv1.2 Kx=DH Au=RSA Enc=AESGCM(128) Mac=AEAD DHE-RSA-AES256-SHA256 TLSv1.2 Kx=DH Au=RSA Enc=AES(256) Mac=SHA256 DHE-RSA-AES128-SHA256 TLSv1.2 Kx=DH Au=RSA Enc=AES(128) Mac=SHA256 ``` Signed-off-by: Christian Heimes <christian@python.org>
* Noted my recent contributions in "What's New In Python 3.10". (#25771)larryhastings2021-05-011-20/+33
| | | Noted my recent contributions in "What's New In Python 3.10". Also made some edits clarifying "annotations" vs "type hints", and some other edits for correctness.
* bpo-42269: Add slots parameter to dataclass decorator (GH-24171)Yurii Karabas2021-05-011-0/+6
| | | Add slots parameter to dataclass decorator and make_dataclass function.
* bpo-43916: Add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag (GH-25721)Victor Stinner2021-04-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new Py_TPFLAGS_DISALLOW_INSTANTIATION type flag to disallow creating type instances: set tp_new to NULL and don't create the "__new__" key in the type dictionary. The flag is set automatically on static types if tp_base is NULL or &PyBaseObject_Type and tp_new is NULL. Use the flag on the following types: * _curses.ncurses_version type * _curses_panel.panel * _tkinter.Tcl_Obj * _tkinter.tkapp * _tkinter.tktimertoken * _xxsubinterpretersmodule.ChannelID * sys.flags type * sys.getwindowsversion() type * sys.version_info type Update MyStr example in the C API documentation to use Py_TPFLAGS_DISALLOW_INSTANTIATION. Add _PyStructSequence_InitType() function to create a structseq type with the Py_TPFLAGS_DISALLOW_INSTANTIATION flag set. type_new() calls _PyType_CheckConsistency() at exit.
* bpo-43908: Document Static Types in the C API (GH-25710)Victor Stinner2021-04-291-1/+2
| | | Update also PyTypeObject structure definition in the doc.
* bpo-41139: Deprecate `cgi.log()` (GH-25625)Inada Naoki2021-04-291-0/+3
|