[Python-checkins] gh-119555: catch SyntaxError from compile() in the InteractiveColoredConsole (#119557)

2024-05-28 Thread pablogsal
https://github.com/python/cpython/commit/86d1a1aa8841ea182eaf434ae6b942b3e93f58db commit: 86d1a1aa8841ea182eaf434ae6b942b3e93f58db branch: main author: Sergey B Kirpichev committer: pablogsal date: 2024-05-29T07:57:50+01:00 summary: gh-119555: catch SyntaxError from compile() in the InteractiveC

[Python-checkins] gh-119704: Fix reference leak in the ``Python/Python-tokenize.c`` (#119705)

2024-05-28 Thread pablogsal
https://github.com/python/cpython/commit/c0faade891e6ccb61137041fe10cc05e5fa8d534 commit: c0faade891e6ccb61137041fe10cc05e5fa8d534 branch: main author: Kirill Podoprigora committer: pablogsal date: 2024-05-29T07:56:44+01:00 summary: gh-119704: Fix reference leak in the ``Python/Python-tokenize.c

[Python-checkins] [3.13] gh-119443: Turn off from __future__ import annotations in REPL (GH-119493) (#119697)

2024-05-28 Thread JelleZijlstra
https://github.com/python/cpython/commit/17d3398486dcbc6f5e977bf4c052d7780013c074 commit: 17d3398486dcbc6f5e977bf4c052d7780013c074 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: JelleZijlstra date: 2024-05-29T01:26:19Z summary: [3.13] gh-11

[Python-checkins] gh-119443: Turn off from __future__ import annotations in REPL (#119493)

2024-05-28 Thread JelleZijlstra
https://github.com/python/cpython/commit/a8e35e8ebad8c3bb44d14968aa05d1acbc028247 commit: a8e35e8ebad8c3bb44d14968aa05d1acbc028247 branch: main author: Jelle Zijlstra committer: JelleZijlstra date: 2024-05-28T17:05:18-07:00 summary: gh-119443: Turn off from __future__ import annotations in REPL

[Python-checkins] gh-117398: Convert datetime.IsoCalendarDate To A Heap Type (gh-119637)

2024-05-28 Thread ericsnowcurrently
https://github.com/python/cpython/commit/548a11d5cf1dbb32d86ce0c045130c77f50c1427 commit: 548a11d5cf1dbb32d86ce0c045130c77f50c1427 branch: main author: Eric Snow committer: ericsnowcurrently date: 2024-05-28T16:42:23-06:00 summary: gh-117398: Convert datetime.IsoCalendarDate To A Heap Type (gh-1

[Python-checkins] [3.13] gh-119538: Add missing expat build dependencies (GH-119647) (#119685)

2024-05-28 Thread erlend-aasland
https://github.com/python/cpython/commit/ef9fd10670f70c3c26bd1f9eba48cf26229f9052 commit: ef9fd10670f70c3c26bd1f9eba48cf26229f9052 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: erlend-aasland date: 2024-05-28T22:10:59Z summary: [3.13] gh-1

[Python-checkins] [3.12] gh-119538: Add missing expat build dependencies (GH-119647) (#119686)

2024-05-28 Thread erlend-aasland
https://github.com/python/cpython/commit/46a37a1a92a1fc2850979d9d56a70afe4ea10b94 commit: 46a37a1a92a1fc2850979d9d56a70afe4ea10b94 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: erlend-aasland date: 2024-05-28T22:10:49Z summary: [3.12] gh-1

[Python-checkins] [3.13] gh-117398: Statically Allocate the Datetime C-API (GH-119472) (gh-119641)

2024-05-28 Thread ericsnowcurrently
https://github.com/python/cpython/commit/12a580b82d018949c40fea235d5ff8a97e362709 commit: 12a580b82d018949c40fea235d5ff8a97e362709 branch: 3.13 author: Eric Snow committer: ericsnowcurrently date: 2024-05-28T21:00:04Z summary: [3.13] gh-117398: Statically Allocate the Datetime C-API (GH-119472)

[Python-checkins] [3.12] gh-119118: Fix performance regression in tokenize module (GH-119615) (#119683)

2024-05-28 Thread lysnikolaou
https://github.com/python/cpython/commit/4a0af0cfdcc0b81da5d78dc219df4985c4403f9c commit: 4a0af0cfdcc0b81da5d78dc219df4985c4403f9c branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: lysnikolaou date: 2024-05-28T22:49:02+02:00 summary: [3.12] gh

[Python-checkins] [3.13] gh-119118: Fix performance regression in tokenize module (GH-119615) (#119682)

2024-05-28 Thread lysnikolaou
https://github.com/python/cpython/commit/0d0be6b3efeace4743329f81c08f9720cc221207 commit: 0d0be6b3efeace4743329f81c08f9720cc221207 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: lysnikolaou date: 2024-05-28T22:47:45+02:00 summary: [3.13] gh

[Python-checkins] gh-119538: Add missing expat build dependencies (#119647)

2024-05-28 Thread erlend-aasland
https://github.com/python/cpython/commit/606be663622c6784aed4ffa55b877adbd6fe8e54 commit: 606be663622c6784aed4ffa55b877adbd6fe8e54 branch: main author: Erlend E. Aasland committer: erlend-aasland date: 2024-05-28T22:05:19+02:00 summary: gh-119538: Add missing expat build dependencies (#119647)

[Python-checkins] [3.12] gh-119011: `type.__type_params__` now return an empty tuple (GH-119296) (#119681)

2024-05-28 Thread JelleZijlstra
https://github.com/python/cpython/commit/7f06cd335e91b0ec79c4608f23018c2a785332b1 commit: 7f06cd335e91b0ec79c4608f23018c2a785332b1 branch: 3.12 author: Jelle Zijlstra committer: JelleZijlstra date: 2024-05-28T19:54:47Z summary: [3.12] gh-119011: `type.__type_params__` now return an empty tuple (

[Python-checkins] GH-119258: Handle STORE_ATTR_WITH_HINT in tier two (GH-119481)

2024-05-28 Thread brandtbucher
https://github.com/python/cpython/commit/5cd3ffd6b70a63dbae4d34a1b4db033e19184159 commit: 5cd3ffd6b70a63dbae4d34a1b4db033e19184159 branch: main author: Brandt Bucher committer: brandtbucher date: 2024-05-28T12:47:54-07:00 summary: GH-119258: Handle STORE_ATTR_WITH_HINT in tier two (GH-119481) f

[Python-checkins] GH-119476: Split _CHECK_FUNCTION_VERSION out of _CHECK_FUNCTION_EXACT_ARGS (GH-119510)

2024-05-28 Thread brandtbucher
https://github.com/python/cpython/commit/cfcc054dee87a5a3f18c99d83a2957bf3487de1d commit: cfcc054dee87a5a3f18c99d83a2957bf3487de1d branch: main author: Brandt Bucher committer: brandtbucher date: 2024-05-28T12:45:11-07:00 summary: GH-119476: Split _CHECK_FUNCTION_VERSION out of _CHECK_FUNCTION_E

[Python-checkins] gh-119118: Fix performance regression in tokenize module (#119615)

2024-05-28 Thread pablogsal
https://github.com/python/cpython/commit/d87b0151062e36e67f9e42e1595fba5bf23a485c commit: d87b0151062e36e67f9e42e1595fba5bf23a485c branch: main author: Lysandros Nikolaou committer: pablogsal date: 2024-05-28T19:17:49Z summary: gh-119118: Fix performance regression in tokenize module (#119615)

[Python-checkins] [3.13] gh-119011: `type.__type_params__` now return an empty tuple (GH-119296) (#119678)

2024-05-28 Thread JelleZijlstra
https://github.com/python/cpython/commit/c0e99617985d64e6134964f758ae0a1a20f9f433 commit: c0e99617985d64e6134964f758ae0a1a20f9f433 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: JelleZijlstra date: 2024-05-28T19:09:04Z summary: [3.13] gh-11

[Python-checkins] gh-119676: remove several pseudo instructions which are use only in codegen (#119677)

2024-05-28 Thread iritkatriel
https://github.com/python/cpython/commit/ae9140f32a1630838374f1af402291d4649a0be0 commit: ae9140f32a1630838374f1af402291d4649a0be0 branch: main author: Irit Katriel <[email protected]> committer: iritkatriel <[email protected]> date: 2024-05-28T

[Python-checkins] gh-119011: `type.__type_params__` now return an empty tuple (#119296)

2024-05-28 Thread JelleZijlstra
https://github.com/python/cpython/commit/6b240c2308a044e38623900ccb8fa58c3549d4ae commit: 6b240c2308a044e38623900ccb8fa58c3549d4ae branch: main author: Nikita Sobolev committer: JelleZijlstra date: 2024-05-28T18:12:58Z summary: gh-119011: `type.__type_params__` now return an empty tuple (#119296

[Python-checkins] gh-117865: Defer import of re in ast (#119546)

2024-05-28 Thread JelleZijlstra
https://github.com/python/cpython/commit/ae11d68ab90324a3359699ca13fcf9a229966713 commit: ae11d68ab90324a3359699ca13fcf9a229966713 branch: main author: Jelle Zijlstra committer: JelleZijlstra date: 2024-05-28T11:04:08-07:00 summary: gh-117865: Defer import of re in ast (#119546) This is used on

[Python-checkins] [3.13] gh-119311: Fix name mangling with PEP 695 generic classes (#119464) (#119643)

2024-05-28 Thread JelleZijlstra
https://github.com/python/cpython/commit/6394a72e99b342d980297ec437ecafea92a044c4 commit: 6394a72e99b342d980297ec437ecafea92a044c4 branch: 3.13 author: Jelle Zijlstra committer: JelleZijlstra date: 2024-05-28T11:03:33-07:00 summary: [3.13] gh-119311: Fix name mangling with PEP 695 generic classe

[Python-checkins] [3.12] gh-119581: Add a test of InitVar with name shadowing (GH-119582) (#119673)

2024-05-28 Thread AlexWaygood
https://github.com/python/cpython/commit/08636c1a7d514a4d1d555b1fa903d985b47e8875 commit: 08636c1a7d514a4d1d555b1fa903d985b47e8875 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: AlexWaygood date: 2024-05-28T17:42:01Z summary: [3.12] gh-1195

[Python-checkins] [3.13] gh-119581: Add a test of InitVar with name shadowing (GH-119582) (#119672)

2024-05-28 Thread AlexWaygood
https://github.com/python/cpython/commit/2b46253c5fdf57fd35eb471ad0035e61afe924a6 commit: 2b46253c5fdf57fd35eb471ad0035e61afe924a6 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: AlexWaygood date: 2024-05-28T17:41:02Z summary: [3.13] gh-1195

[Python-checkins] gh-117398: gh-119655: datetime: Init static state once & don't free it (GH-119662)

2024-05-28 Thread encukou
https://github.com/python/cpython/commit/a89fc26f4ac90156a1b108135f92dcf7698190f2 commit: a89fc26f4ac90156a1b108135f92dcf7698190f2 branch: main author: Petr Viktorin committer: encukou date: 2024-05-28T17:27:52Z summary: gh-117398: gh-119655: datetime: Init static state once & don't free it (GH

[Python-checkins] gh-119581: Add a test of InitVar with name shadowing (#119582)

2024-05-28 Thread AlexWaygood
https://github.com/python/cpython/commit/6ec371223dff4da7719039e271f35a16a5b861c6 commit: 6ec371223dff4da7719039e271f35a16a5b861c6 branch: main author: Steven Troxler committer: AlexWaygood date: 2024-05-28T18:18:57+01:00 summary: gh-119581: Add a test of InitVar with name shadowing (#119582) f

[Python-checkins] gh-119396: Optimize unicode_repr() (#119617)

2024-05-28 Thread vstinner
https://github.com/python/cpython/commit/0518edc17049a2f474b049b7d7fe3ef4339ceb83 commit: 0518edc17049a2f474b049b7d7fe3ef4339ceb83 branch: main author: Victor Stinner committer: vstinner date: 2024-05-28T18:05:20+02:00 summary: gh-119396: Optimize unicode_repr() (#119617) Use stringlib to speci

[Python-checkins] [3.10] gh-112769: test_zlib: test_zlib: Fix comparison of ZLIB_RUNTIME_VERSION with non-int suffix (GH-112771) (#119565)

2024-05-28 Thread pablogsal
https://github.com/python/cpython/commit/48f9d3e3faec5faaa4f7c9849fecd27eae4da213 commit: 48f9d3e3faec5faaa4f7c9849fecd27eae4da213 branch: 3.10 author: Ned Deily committer: pablogsal date: 2024-05-28T16:57:05+01:00 summary: [3.10] gh-112769: test_zlib: test_zlib: Fix comparison of ZLIB_RUNTIME_V

[Python-checkins] gh-119659: Move `@no_rerun` to `test.support` (#119660)

2024-05-28 Thread sobolevn
https://github.com/python/cpython/commit/2da0dc094fa855ed4df251aab58b6f8a2b6969a1 commit: 2da0dc094fa855ed4df251aab58b6f8a2b6969a1 branch: main author: Nikita Sobolev committer: sobolevn date: 2024-05-28T18:50:50+03:00 summary: gh-119659: Move `@no_rerun` to `test.support` (#119660) files: M Li

[Python-checkins] [3.12] Clarify base64.a85encode docs: *wrapcols* doesn't count the newline (GH-119409) (GH-119482)

2024-05-28 Thread encukou
https://github.com/python/cpython/commit/3af9b75df5c1fda0ae9f1869da104e90805e8467 commit: 3af9b75df5c1fda0ae9f1869da104e90805e8467 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: encukou date: 2024-05-28T16:55:43+02:00 summary: [3.12] Clarif

[Python-checkins] [3.13] Clarify base64.a85encode docs: *wrapcols* doesn't count the newline (GH-119409) (GH-119483)

2024-05-28 Thread encukou
https://github.com/python/cpython/commit/cc8586a1edc0ec2844008827b59fd50da73e735c commit: cc8586a1edc0ec2844008827b59fd50da73e735c branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: encukou date: 2024-05-28T16:55:37+02:00 summary: [3.13] Clarif

[Python-checkins] [3.13] [doc] Clarify the nature of the root logger in the `logging` documentation (GH-119440) (GH-119651)

2024-05-28 Thread vsajip
https://github.com/python/cpython/commit/47fb0f82cdd949b863e6e8dda13e38c62d6509cb commit: 47fb0f82cdd949b863e6e8dda13e38c62d6509cb branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vsajip date: 2024-05-28T15:04:46+01:00 summary: [3.13] [doc] C

[Python-checkins] [3.12] [doc] Clarify the nature of the root logger in the `logging` documentation (GH-119440) (GH-119652)

2024-05-28 Thread vsajip
https://github.com/python/cpython/commit/5cca0419cf3778a6b3a4f7f67147437ba8c84dfe commit: 5cca0419cf3778a6b3a4f7f67147437ba8c84dfe branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: vsajip date: 2024-05-28T15:04:19+01:00 summary: [3.12] [doc] C

[Python-checkins] gh-118824: Remove deprecated `master_open` and `slave_open` from `pty` (#118826)

2024-05-28 Thread sobolevn
https://github.com/python/cpython/commit/f912e5a2f6d128b17f85229b722422e4a2478e23 commit: f912e5a2f6d128b17f85229b722422e4a2478e23 branch: main author: Nikita Sobolev committer: sobolevn date: 2024-05-28T16:42:35+03:00 summary: gh-118824: Remove deprecated `master_open` and `slave_open` from `pt

[Python-checkins] [doc] Clarify the nature of the root logger in the `logging` documentation (GH-119440)

2024-05-28 Thread vsajip
https://github.com/python/cpython/commit/b407ad38fb93585332c370b8fa56905fb238cdfd commit: b407ad38fb93585332c370b8fa56905fb238cdfd branch: main author: Justin Kunimune committer: vsajip date: 2024-05-28T11:31:20+01:00 summary: [doc] Clarify the nature of the root logger in the `logging` document

[Python-checkins] gh-118263: Add additional arguments to path_t (Argument Clinic type) in posixmodule (GH-119608)

2024-05-28 Thread zooba
https://github.com/python/cpython/commit/09a85eaa4cec3cbe26fa81e1f95650046e98db10 commit: 09a85eaa4cec3cbe26fa81e1f95650046e98db10 branch: 3.12 author: Nice Zombies committer: zooba date: 2024-05-28T11:13:01+01:00 summary: gh-118263: Add additional arguments to path_t (Argument Clinic type) in

[Python-checkins] [3.13] gh-116860: Remove outdated `test_parserhack` from `test_future` (GH-116861) (#119649)

2024-05-28 Thread sobolevn
https://github.com/python/cpython/commit/3b111a38ea1ae395a0c33106b232ed840627939b commit: 3b111a38ea1ae395a0c33106b232ed840627939b branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2024-05-28T09:55:37Z summary: [3.13] gh-116860:

[Python-checkins] [3.12] gh-116860: Remove outdated `test_parserhack` from `test_future` (GH-116861) (#119648)

2024-05-28 Thread sobolevn
https://github.com/python/cpython/commit/ab9b605efae420cbbc9ae1aa9776ee8249141f89 commit: ab9b605efae420cbbc9ae1aa9776ee8249141f89 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2024-05-28T09:50:26Z summary: [3.12] gh-116860:

[Python-checkins] gh-116860: Remove outdated `test_parserhack` from `test_future` (#116861)

2024-05-28 Thread sobolevn
https://github.com/python/cpython/commit/669175bf8edc2c02d48401bac0e4c7d99a33f15b commit: 669175bf8edc2c02d48401bac0e4c7d99a33f15b branch: main author: Nikita Sobolev committer: sobolevn date: 2024-05-28T09:16:52Z summary: gh-116860: Remove outdated `test_parserhack` from `test_future` (#116861)

[Python-checkins] gh-117557: Improve error messages when a string, bytes or bytearray of length 1 are expected (GH-117631)

2024-05-28 Thread serhiy-storchaka
https://github.com/python/cpython/commit/b313cc68d50de5fb5f43acffd402c5c4da6516fc commit: b313cc68d50de5fb5f43acffd402c5c4da6516fc branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-05-28T12:01:37+03:00 summary: gh-117557: Improve error messages when a string, bytes or

[Python-checkins] Fix typos in comments (#119645)

2024-05-28 Thread erlend-aasland
https://github.com/python/cpython/commit/bf08f0a5fe5750904aa4a239945db16d2c43f6e7 commit: bf08f0a5fe5750904aa4a239945db16d2c43f6e7 branch: main author: Xie Yanbo committer: erlend-aasland date: 2024-05-28T09:53:32+02:00 summary: Fix typos in comments (#119645) files: M Tools/clinic/libclinic/ds