Commit Graph

3242 Commits

Author SHA1 Message Date
Miss Islington (bot) 69b3de65ad
bpo-40170: Update What's New in Python 3.9 (GH-29470)
The PyType_HasFeature() change has been reverted: the static inline
function access directly the PyTypeObject.tp_flags member.
(cherry picked from commit 99c7e9853f)

Co-authored-by: Victor Stinner <vstinner@python.org>
2021-11-08 09:05:15 -08:00
Miss Islington (bot) 77afb76942
bpo-45741: docs: fix plural (GH-29461) (GH-29463)
"entry points provides" -> "entry points provide"

Automerge-Triggered-By: GH:ericvsmith
(cherry picked from commit 19b107e9b5)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2021-11-08 01:32:23 -05:00
Miss Islington (bot) e086bfee03
Fix dataclassses spelling (GH-28837) (GH-28841)
(cherry picked from commit 5b4a7675bc)

Co-authored-by: Landon Yarrington <33426811+jly36963@users.noreply.github.com>

Co-authored-by: Landon Yarrington <33426811+jly36963@users.noreply.github.com>
2021-10-09 15:50:45 -04:00
Miss Islington (bot) 86bf45e69e
[3.10] Remove draft notice on the 3.10 What's new document (GH-28806) (GH-28807)
Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit 32485cecab)


Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-10-07 11:25:26 -07:00
Miss Islington (bot) ee92205bb2
[3.10] Fix typo in whatsnew 3.10.rst (GH-26854) (GH-28782)
Thanks for the fix @wiggin15 .
(cherry picked from commit 599c07006a)


Co-authored-by: Arnon Yaari <wiggin15@yahoo.com>

Automerge-Triggered-By: GH:JulienPalard
2021-10-07 02:26:12 -07:00
Christian Clauss d15f47d179
[3.10] [doc] Fix typos found using codespell (GH-28744) (GH-28758) 2021-10-06 15:56:57 +02:00
Łukasz Langa 8f9d398b46
[3.10] [docs] Improve the markup of powers (GH-28598) (GH-28607)
(cherry picked from commit 4f05f15d7b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-09-28 23:09:58 +02:00
Łukasz Langa c523022ba8
[3.10] bpo-43914: What's New 3.10: add new SyntaxError attributes (GH-28558) (GH-28562)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 71f8ff45c6)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-09-25 11:32:26 +02:00
Miss Islington (bot) 55576893b3
bpo-43760: Document PyThreadState.use_tracing removal (GH-28527) (GH-28529)
(cherry picked from commit f4ccb79d52)

Co-authored-by: Victor Stinner <vstinner@python.org>
2021-09-23 22:40:15 +02:00
Miss Islington (bot) dda5ff2d09
bpo-4356: Mention the new key arguments for the bisect module APIs in the 3.10 What's new (GH-28339) (GH-28340)
(cherry picked from commit 1aaa859497)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-09-14 21:02:18 +01:00
Miss Islington (bot) b045174a6d
bpo-44964: Correct the note about the f_lasti field (GH-28208) (GH-28276)
(cherry picked from commit ab327f2929)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-09-10 18:16:51 +02:00
Miss Islington (bot) 20f6d485ec
Fix minor typo in 3.10.rst (GH-28253) (GH-28259)
(cherry picked from commit 7366854135)

Co-authored-by: D.Lintin <diantolintin3@gmail.com>

Co-authored-by: D.Lintin <diantolintin3@gmail.com>
2021-09-09 13:10:04 -04:00
Miss Islington (bot) fc840736e5
bpo-44964: Add a note explaining the new semantics of f_last_i in frame objects (GH-28200)
(cherry picked from commit fa2c0b85a8)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-09-07 04:36:43 -07:00
Miss Islington (bot) 9438443a5f
Add What's New for dataclass keyword-only parameters. (GH-28158) (GH-28163)
(cherry picked from commit a1ba3597d2)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
2021-09-04 14:59:29 -04:00
Dong-hee Na 6ea6cf22e9
[3.10] bpo-45000: Update whatsnews about deleting __debug__ (GH-27956) (GH-27958)
(cherry picked from commit c764dfbcbc)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
2021-08-26 10:52:00 +01:00
Miss Islington (bot) 27f2f62ad4
bpo-38291: Update 3.10 WhatsNew with typing.{io|re} DeprecationWarning (GH-27872)
(cherry picked from commit 1a995b0cee)

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-08-23 10:32:35 -07:00
Miss Islington (bot) 1204dfc89c
bpo-36384: [doc] Mention CVE-2021-29921 fix in 3.8.12 (GH-27824)
(cherry picked from commit 0fd66e46b2)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-08-19 02:16:15 -07:00
Miss Islington (bot) a11158ecef
bpo-44584: Deprecate PYTHONTHREADDEBUG env var (GH-27065)
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.
(cherry picked from commit 4d77691172)

Co-authored-by: Victor Stinner <vstinner@python.org>
2021-08-06 04:32:37 -07:00
Miss Islington (bot) 6b922dae6c
bpo-41103: Resurrect the old buffer protocol. (GH-27437) (GH-27441)
Revert "bpo-41103: Remove old buffer protocol support (GH-21117)"

This reverts commit 6f8a6ee59c.
(cherry picked from commit ce5e1a6809)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2021-07-29 13:31:42 +02:00
Miss Islington (bot) be2415487a
bpo-44740: Make minor edits to lowercasing "internet" and "web". (GH-27385) (#27386)
Follow up to 11749e2dc2
(cherry picked from commit 2e41df4d60)

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-07-27 11:20:11 +02:00
Miss Islington (bot) 6fc1efa454
bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 11749e2dc2)

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-07-27 00:34:32 +02:00
Miss Islington (bot) 4a5457d5d4
bpo-44490: Add 'Whats New' docs regarding types.Union changes (GH-27215) (GH-27368)
(cherry picked from commit 6c1b57d958)

Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
2021-07-26 21:32:05 +02:00
Pablo Galindo Salgado 03c85d49ed
[3.10] Add release highlights for the 3.10 what's new document (GH-27150) (GH-27152)
(cherry picked from commit 2b47af6398)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-07-14 23:22:12 +01:00
Ethan Furman 9bf7c2d638
[3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010)
* [Enum] revert enum module to 3.9
2021-07-03 21:08:42 -07:00
Miss Islington (bot) a6acd1ab08
[doc] Fix typo in what's new in 3.10 (GH-26911) (GH-26940)
The `try` statement was missing a colon and therefore was not exemplifying the correct `SyntaxError`.
(cherry picked from commit dcb1caef5b)

Co-authored-by: Rodrigo Girão Serrão <rodrigogiraoserrao@gmail.com>
2021-06-29 12:12:23 +01:00
Miss Islington (bot) dc10264eb8
bpo-40939: Remove documentation for `PyParser_*` & add porting notes (GH-26855) (GH-26898)
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.

(cherry picked from commit 29987f7265)

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2021-06-28 11:35:52 +02:00
Miss Islington (bot) f4b31cdbc0
bpo-44464: Remove special exclusion for flake8 in the deprecation warnings. (GH-26807) (GH-26929)
Sync with importlib_metadata 4.6.
(cherry picked from commit efe7d08d17)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2021-06-27 18:19:24 -04:00
Miss Islington (bot) a80a38ee9a
[3.10] bpo-44498: Issue a deprecation warning on asynchat, asyncore and smtpd import (GH-26882) (GH-26904)
* 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>
(cherry picked from commit 8488b85c63)


Co-authored-by: Barry Warsaw <barry@python.org>

Automerge-Triggered-By: GH:warsaw
2021-06-24 12:57:55 -07:00
Victor Stinner 9b0bbb9143
bpo-44466: Faulthandler now detects the GC (GH-26823) (GH-26826)
The faulthandler module now detects if a fatal error occurs during a
garbage collector collection (only if all_threads is true).

(cherry picked from commit d19163912b)
2021-06-21 14:23:13 +02:00
Miss Islington (bot) 28fe0159f5
bpo-44077: Expose IP_RECVTOS in the socket module (GH-25992)
Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
(cherry picked from commit a317778fd5)

Co-authored-by: Georg Sauthoff <mail@georg.so>
2021-06-20 13:36:21 -07:00
Miss Islington (bot) 26c89e7c7a
Fix typos and grammatical changes in the 3.10 what's new document (GH-26319) (GH-26814) 2021-06-20 20:53:14 +01:00
Miss Islington (bot) 344487b956
Add a note about NameError/AttributeError suggestions with custom error functions (GH-26794) (GH-26796)
(cherry picked from commit 83c9dad8da)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2021-06-20 20:22:40 +01:00
Mark Dickinson 8d0b2ca493
[3.10] bpo-43475: Add what's new entry for NaN hash changes (GH-26725) (GH-26743)
(cherry picked from commit 1d10bf0bb9)

Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
2021-06-15 20:13:10 +01:00
Miss Islington (bot) d7930fb720
bpo-44362: ssl: improve deprecation warnings and docs (GH-26646)
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit e26014f1c4)

Co-authored-by: Christian Heimes <christian@python.org>
2021-06-11 00:36:17 -07:00
Miss Islington (bot) eeefa7f6c0
bpo-43833: Emit warnings for numeric literals followed by keyword (GH-25466)
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
(cherry picked from commit 2ea6d89028)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-06-08 16:52:23 -07:00
Miss Islington (bot) 75185561a9
bpo-43795: Note Stable ABI PEP in What's New (GH-26479) (GH-26603)
(cherry picked from commit 257e400a19)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-06-08 18:00:10 +02:00
Pablo Galindo e53f72a1b4
[3.10] bpo-44305: Improve syntax error for try blocks without except or finally (GH-26523) (GH-26524)
(cherry picked from commit b250f89bb7)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2021-06-04 00:11:43 +01:00
Miss Islington (bot) 41317801a9
Add bpo-42914 to What's New (GH-25124)
BPO-42914 was not added to the What's New in GH-24864. This includes it in the "Improved Modules" section.

Automerge-Triggered-By: GH:gpshead
(cherry picked from commit 4846ea95d1)

Co-authored-by: Wm. Keith van der Meulen <keith@wkeithvan.com>
2021-06-02 21:05:41 -07:00
Miss Islington (bot) d0991e2db3
bpo-44246: Remove note about access by index now that a compatibility shim is offered. (GH-26472) (#26473)
(cherry picked from commit 78d9a9b190)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2021-05-31 18:29:08 -04:00
Miss Islington (bot) 59f9594f90
[3.10] bpo-44246: Update What's New for importlib.metadata. (GH-26408) (GH-26415)
* [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>
(cherry picked from commit 28f12c9f4f)


Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>

Automerge-Triggered-By: GH:jaraco
2021-05-27 16:57:04 -07:00
Miss Islington (bot) 09696a3e21
[3.10] bpo-38908: [docs] Add changes to 3.10 whatsnew and fix some minor inaccuracies in news (GH-26096) (GH-26337)
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.
(cherry picked from commit 8450e8a81f)


Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-05-27 06:50:58 -07:00
Miss Islington (bot) 150a8e8a3e
[3.10] bpo-42392: [docs] Add deprecated-removed loop labels for asyncio (GH-26357) (GH-26390)
* Add deprecated-removed loop labels for all reelvant functions/classes in asyncio
(cherry picked from commit d8fd8c8568)


Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>

Automerge-Triggered-By: GH:gpshead
2021-05-26 15:19:42 -07:00
Miss Islington (bot) 68b9c20a98
bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI (GH-26241) (GH-26353)
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.
(cherry picked from commit d16856960e)

Co-authored-by: Petr Viktorin <encukou@gmail.com>

Co-authored-by: Petr Viktorin <encukou@gmail.com>
2021-05-25 12:59:10 +01:00
Miss Islington (bot) 04a4934a84
Fix typo in whatsnew/3.10.rst (GH-26310) (GH-26323)
(cherry picked from commit 3ad101b317)

Co-authored-by: Tushar Sadhwani <tushar.sadhwani000@gmail.com>
2021-05-23 23:12:13 +01:00
Miss Islington (bot) 37da1f09a2
Remove duplicate words in docs. (GH-26167) (GH-26296)
(cherry picked from commit b06ed1d883)

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-05-22 21:55:17 +01:00
Senthil Kumaran f14015adf5
[3.10] bpo-43882 - Mention urllib.parse changes in Whats new section. (GH-26275)
* [3.10] bpo-43882 - Mention urllib.parse changes in Whats new section.

* escape the \n chars, ReSTify :rfc:, urllib.parse is a :mod:

* minor formatting.

Co-authored-by: Gregory P. Smith <greg@krypto.org>
2021-05-21 05:29:24 -07:00
Miss Islington (bot) 3357604db9
bpo-44010: IDLE: colorize pattern-matching soft keywords (GH-25851)
(cherry picked from commit 60d343a816)

Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com>
2021-05-19 02:44:14 -07:00
Miss Islington (bot) 67729a91a5
bpo-44139: Use a more descriptive syntax error comprehension case in the What's New for 3.10 (GH-26145) (GH-26146)
(cherry picked from commit c5b833046d)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2021-05-15 17:56:28 +01:00
Miss Islington (bot) e7d25d3f3b
bpo-43977: Update pattern matching language reference docs (GH-25917) (GH-26117)
* Update patma language reference with new changes to sequence and mapping

* update 3.10 whatsnew too
(cherry picked from commit 53c91ac525)

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-05-13 22:55:41 -07:00
Miss Islington (bot) ea14a0749a
bpo-43757: Document os.path.realpath(strict=True) in 3.10 whatsnew. (GH-26090) (#26099)
(cherry picked from commit d1560d2429)

Co-authored-by: Barney Gale <barney.gale@gmail.com>

Co-authored-by: Barney Gale <barney.gale@gmail.com>
2021-05-13 22:24:13 -07:00