| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
1. SyntaxError args have a tuple of other attributes.
2. Attributes are adjusted for errors in f-string field expressions.
3. Compile() can raise SyntaxErrors.
(cherry picked from commit 67dfa6f2a508c325715625fe442f2ce20270a8b3)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
|
|
| |
(cherry picked from commit 71be46170490d08743c714b9fa4484038aa7a23e)
Co-authored-by: NAKAMURA Osamu <osamu0329nakamura@users.noreply.github.com>
|
|
|
|
|
|
|
| |
GIL held (GH-26551) (GH_26552)
(cherry picked from commit 6e3b7cf3af3ed7758b2c2193c1d393feb8ab8f72)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
|
|
|
|
|
|
| |
objects (GH-26545)
(cherry picked from commit fa106a685c1f199aca5be5c2d0277a14cc9057bd)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
suite (GH-26542) (GH-26544)
(cherry picked from commit f171877ebe276749f31386baed5841ce37cbee2e)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
|
|
|
|
|
|
| |
(GH-26492) (GH-26538)
(cherry picked from commit dda9ecbfece28aad7b8ba7eaf7951dd9816f78b1)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 006fd869e4798b68e266f5de89c83ddb531a756b)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
|
|
|
|
|
|
|
|
|
| |
test_disallow_instantiation and test_readonly_types try to test all the available
digests, however under FIPS mode, while the algorithms are available, trying to use
them will fail with a ValueError.
(cherry picked from commit a46c220edc5cf716d0b71eb80ac29ecdb4ebb430)
Co-authored-by: stratakis <cstratak@redhat.com>
Co-authored-by: stratakis <cstratak@redhat.com>
|
|
|
|
|
|
|
| |
finally (GH-26523) (GH-26524)
(cherry picked from commit b250f89bb7e05e72a4641d44b988866b919575db)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
(GH-26477) (GH-26478)
Use "ellipsis" instead of "Ellipsis" in syntax error messages to eliminate confusion with built-in variable Ellipsis.
(cherry picked from commit 39dd141)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
When compiling an AST object with a direct / indirect reference
cycles, on the conversion phase because of exceeding amount of
calls, a segfault was raised. This patch adds recursion guards to
places for preventing user inputs to not to crash AST but instead
raise a RecursionError.
(cherry picked from commit f3491242e41933aa9529add7102edb68b80a25e9)
Co-authored-by: Batuhan Taskaya <batuhan@python.org>
|
|
|
|
|
|
|
| |
Fix test_ssl.test_wrong_cert_tls13(): use suppress_ragged_eofs=False,
since read() can raise ssl.SSLEOFError on Windows.
(cherry picked from commit ea0210fa8ccca769896847f25fc6fadfe9a717bc)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
| |
* Backport 937cebc93 to 3.10
* Update importlib
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allocate and track statement objects in pysqlite_statement_create.
By allocating and tracking creation of statement object in
pysqlite_statement_create(), the caller does not need to worry about GC
syncronization, and eliminates the possibility of getting a badly
created object. All related fault handling is moved to
pysqlite_statement_create().
Co-authored-by: Victor Stinner <vstinner@python.org>.
(cherry picked from commit fffa0f92adaaed0bcb3907d982506f78925e9052)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
|
|
|
|
|
|
|
| |
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 4846ea95d1a121df5e8081e2a290f63d1419cad8)
Co-authored-by: Wm. Keith van der Meulen <keith@wkeithvan.com>
|
|
|
|
|
|
|
| |
It wasn't actually detecting the regression due to the
assertion being too lenient.
(cherry picked from commit e60ab843cbb016fb6ff8b4f418641ac05a9b2fcc)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
|
|
|
|
| |
(GH-26491) (GH-26499)
Signed-off-by: Tal Einat <532281+taleinat@users.noreply.github.com>
(cherry picked from commit adef445dc34685648bd0ea1c125df2ef143912ed)
Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
(GH-26486)
This was flagged by a static analyzer, but the logic of why this is NULL on error is hard to follow for humans as well.
(cherry picked from commit bdb56902a3bfe12b10f85a941d5dd0eae739f1a8)
Co-authored-by: stratakis <cstratak@redhat.com>
|
|
|
|
|
|
|
| |
Fix test_pha_required_nocert() of test_ssl: catch two more EOF cases
(when the recv() method returns an empty string).
(cherry picked from commit 320eaa7f42b413cd5e5436ec92d4dc5ba150395f)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
|
|
|
| |
(GH-26480)
(cherry picked from commit 87272b70f157af76cb14ff90d73dfc5d9bfb945a)
Co-authored-by: MapleCCC <littlelittlemaple@gmail.com>
|
|
|
|
|
|
|
|
|
| |
is offered. (GH-26472) (#26473)
(cherry picked from commit 78d9a9b1904f0e1d9db1e941c19782f4f5a881d4)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [bpo-44246](): Entry points performance improvements.
From importlib_metadata 4.3.1.
* [bpo-44246](): Sync with importlib_metadata 4.4
(cherry picked from commit c34ed08d975fb7daa7b329f7c631647782290393)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Automerge-Triggered-By: GH:jaraco
|
|
|
|
|
|
| |
From importlib_metadata 4.3.1.
(cherry picked from commit 410b70d39d9d77384f8b8597560f6731530149ca)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* _testcapi.heapgctype: implement a traverse function since the type
is defined with Py_TPFLAGS_HAVE_GC.
* _decimal: PyDecSignalDictMixin_Type is no longer defined with
Py_TPFLAGS_HAVE_GC since it has no traverse function.
(cherry picked from commit 142e5c5445c019542246d93fe2f9e195d3131686)
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
|
|
| |
(cherry picked from commit 4b20f2574d412f4c4a5b1ab799d8e71a5dd3b766)
Co-authored-by: Hai Shi <shihai1992@gmail.com>
Co-authored-by: Hai Shi <shihai1992@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit d1124b09e8251061dc040cbd396f35ae57783f4a)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
|
|
|
|
|
|
| |
(GH-25465) (GH-26453)
(cherry picked from commit 0b11c429c7f1721d9ffb9ae19e3e8e2e7bd6444d)
Co-authored-by: Martmists <mail@martmists.com>
|
|
|
|
|
|
|
| |
(cherry picked from commit 43cf7c864a2941b3f8f823e5928721dd286b7778)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
(GH-26448)
On macOS, tk defers to system setting for button background when in normal state.
Give turtledemo button text a color that works on either light or dark background.
(cherry picked from commit af5a324843de395cecc562cb0c757b3768f2077f)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
|
|
| |
(GH-26442) (GH-26443)
(cherry picked from commit 8b55bc3f93a655bc803bff79725d5fe3f124e2f0)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
|
|
|
|
|
|
| |
(cherry picked from commit 7e6f2375698036d62464c238059ef2073755fdaf)
Co-authored-by: Sean Grady <vedicmonk@gmail.com>
Co-authored-by: Sean Grady <vedicmonk@gmail.com>
|
|
|
|
|
|
|
| |
(GH-26441)
(cherry picked from commit 8b4312b909abff3100c1f18fb3efa5c25617fee3)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit acac6c71ff370413374c6aca1df808c426e8a30c)
Co-authored-by: Ayush Parikh <ayushparikh332@gmail.com>
|
|
|
|
|
| |
* bpo-42972: Fully support GC for _winapi.Overlapped (GH-26381)
* untrack earlier
|
|
|
|
|
| |
(cherry picked from commit 3f8d33252722750e6c019d3df7ce0fabf7bdd45e)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
|
|
|
|
|
|
| |
types (GH-26363) (GH-26424)
(cherry picked from commit 8994e9c2cd775ddf7b0723824da53fe0d7c039ac)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
|
|
|
|
|
| |
It is internal use only type.
(cherry picked from commit 28be3191a9db2769ed05e55c6bcbccdd029656dd)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
|
|
|
|
|
|
|
|
|
| |
AutoCompleteWindow.winconfig_event() (GH-26404)
Since the <Configure> event may occur after the
completion window is gone, catch potential
TclError exceptions when accessing acw.
(cherry picked from commit 4e2e5c1c4f792b4011e4c78d011baea2aee39f1b)
|
|
|
|
|
| |
(cherry picked from commit fba42d11880f444bb94d9891e3949f082a57b9a9)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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 28f12c9f4f39d283d823d81e311d863526dfdb54)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Automerge-Triggered-By: GH:jaraco
|
|
|
|
|
|
|
| |
(GH-26413)
(cherry picked from commit f4b70c22c8e37dd7a06702e30b121a6651683421)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
|
|
|
|
| |
(cherry picked from commit 164a4f46d1606e21d82babc010e397a9116e6730)
Co-authored-by: Jakub Kulík <Kulikjak@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 318adeba780851c416505e48a3454cacca831419)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
|
|
|
|
|
|
| |
(GH-26406)
(cherry picked from commit 4d7f8f9f7fb09ea8eb4e43409a16a91b0bf18571)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
|
|
|
|
| |
(cherry picked from commit dcb8786a9848516e823e090bb36079678913d8d3)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|