Miss Islington (bot)
efeda8b4a1
GH-95097: fix asyncio.run
for tasks without uncancel
method (GH-95211) (GH-95387)
...
(cherry picked from commit 54f48844d1
)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
2022-07-29 14:38:02 +02:00
Miss Islington (bot)
c26470f0cc
gh-95273: Improve sqlite3 class descriptions (GH-95379)
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit e003b64f40
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2022-07-29 03:02:16 -07:00
Miss Islington (bot)
00566a8124
GH-90081: Run python tracers at full speed (GH-95328) ( #95363 )
...
(cherry picked from commit b8b2990fb3
)
Co-authored-by: Mark Shannon <mark@hotpy.org>
Co-authored-by: Mark Shannon <mark@hotpy.org>
2022-07-29 09:43:52 +01:00
Miss Islington (bot)
f06f3656c5
gh-95273: Move sqlite3 executemany examples from reference to tutorial (GH-95351)
...
(cherry picked from commit f0bf7956e6
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2022-07-29 00:51:20 -07:00
Miss Islington (bot)
6eae15abb6
gh-95273: Condense sqlite3 executescript example (GH-95383)
...
(cherry picked from commit e9c8de669d
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2022-07-29 00:48:47 -07:00
Miss Islington (bot)
3e9a496b6b
Improve documentation for adding datetime and timedelta (gh-95403) (gh-95408)
...
(cherry picked from commit 6e44bf9558
)
Co-authored-by: BenjaminHelyer <91896754+BenjaminHelyer@users.noreply.github.com>
Co-authored-by: BenjaminHelyer <91896754+BenjaminHelyer@users.noreply.github.com>
2022-07-28 20:14:05 -04:00
Miss Islington (bot)
309c8f316d
gh-89610: Add .pyi as a recognised extension for IDLE on macOS (GH-95393)
...
This allows opening stub files by double clicking on them in the Finder.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 06fc249135
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-07-28 16:28:50 -07:00
Miss Islington (bot)
b50f58ecb4
gh-86128: Add warning to ThreadPoolExecutor docs about atexit behaviour (GH-94008)
...
(cherry picked from commit 7df2f4d787
)
Co-authored-by: [object Object] <lucas.wiman@gmail.com>
2022-07-28 15:46:45 -07:00
Miss Islington (bot)
1368a1f724
gh-95359: Fix py.exe launcher handling of per-user py.ini and command names (GH-95399)
...
(cherry picked from commit 38bb2068fe
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2022-07-28 13:52:13 -07:00
Miss Islington (bot)
9626dea86f
[3.11] Update link to faster cpython benchmarks (GH-95391) (GH-95392)
...
(cherry picked from commit a1daf6e5cc
)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Automerge-Triggered-By: GH:Fidget-Spinner
2022-07-28 09:31:31 -07:00
Miss Islington (bot)
6934726d22
gh-95369: add missing decref in error case of exception group's split (GH-95370)
...
(cherry picked from commit bceb197947
)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2022-07-28 04:28:46 -07:00
Miss Islington (bot)
763801aae2
gh-95166: cancel map waited on future on timeout (GH-95169) (GH-95364)
...
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
(cherry picked from commit e16d4ed590
)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
2022-07-28 12:56:21 +02:00
Miss Islington (bot)
123079241d
Docs: Fix refs & tweak wording in sqlite3 'Using shortcut methods' ( #95357 )
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit ea269b9a38
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-07-28 12:32:56 +02:00
Miss Islington (bot)
d3cc99bdce
gh-95355: Check tokens[0] after allocating memory (GH-95356)
...
GH-95355
Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit b946f529ef
)
Co-authored-by: Honglin Zhu <zhuhonglin.zhl@alibaba-inc.com>
2022-07-28 03:29:50 -07:00
Kumar Aditya
7813d976ae
[3.11] GH-93899: fix checks for eventfd flags (GH-95170). ( #95342 )
...
(cherry picked from commit 4dd099baff
)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-07-28 12:24:36 +02:00
Serhiy Storchaka
33efd7f7a3
[3.11] gh-94938: Fix errror detection of unexpected keyword arguments (GH-94999) (GH-95353)
...
When keyword argument name is an instance of a str subclass with
overloaded methods __eq__ and __hash__, the former code could not find
the name of an extraneous keyword argument to report an error, and
_PyArg_UnpackKeywords() returned success without setting the
corresponding cell in the linearized arguments array. But since the number
of expected initialized cells is determined as the total number of passed
arguments, this lead to reading NULL as a keyword parameter value, that
caused SystemError or crash or other undesired behavior.
(cherry picked from commit ebad53a4dc
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-07-28 09:51:45 +03:00
Miss Islington (bot)
547f0bb82f
gh-95339: update bundled pip to 22.2.1 (gh-95340)
...
(cherry picked from commit 226d02bb10
)
Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
2022-07-27 12:11:15 -07:00
Miss Islington (bot)
503a3a77c1
[3.11] gh-95324: Emit a warning if an object doesn't call PyObject_GC_UnTrack during deallocation in debug mode (GH-95325) ( #95336 )
...
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2022-07-27 16:55:44 +01:00
Miss Islington (bot)
25086f1eed
gh-95174: Move WASIX logic into wasi-env (GH-95320)
...
wasi-env now sets WASIX flags. This allows us to control all build
parameter for wasm32-wasi buildbot from CPython repository.
Also export and improve SYSROOT parameter.
(cherry picked from commit 2833f3798d
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-07-27 07:11:00 -07:00
Miss Islington (bot)
e14c4d5a2b
gh-95273: Normalise sqlite3 reference wording (GH-95274)
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 2361908a9d
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2022-07-27 06:33:01 -07:00
Miss Islington (bot)
f28118211f
gh-94630: Fixup sqlite3 argument spec docs for connection execute* methods (GH-95319)
...
(cherry picked from commit 2b37395612
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-07-27 05:56:07 -07:00
Miss Islington (bot)
6b01fc7045
GH-95045: gc untrack _lsprof.Profiler before deallocating it (GH-95315)
...
Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit deacf391d7
)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-07-27 05:37:43 -07:00
Christian Heimes
c72c1d65cb
[3.11] gh-94801: Fix regression in configure's CPPFLAGS handling (GH-95288) (GH-95297)
...
(cherry picked from commit 9af7f87d76
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-07-27 12:51:36 +02:00
Miss Islington (bot)
9640c4c88c
gh-95041: Fail syslog.syslog in case inner call to syslog.openlog fails (GH-95264)
...
(cherry picked from commit b1f648efc5
)
Co-authored-by: Noam Cohen <noam@noam.me>
2022-07-27 03:32:02 -07:00
Miss Islington (bot)
202311c67a
[3.11] gh-95085: Promote Emscripten and WASI to PEP 11 tier 3 (GH-95086) (GH-95307)
...
Co-authored-by: Christian Heimes <christian@python.org>
2022-07-27 11:16:38 +02:00
Miss Islington (bot)
131fc72700
[3.11] gh-95280: Fix test_get_ciphers on systems without RSA key exchange (GH-95282) (GH-95310)
...
Co-authored-by: Christian Heimes <christian@python.org>
2022-07-27 11:15:29 +02:00
Miss Islington (bot)
f083adfdac
Fix minor docstring issues in dataclasses.py
. (gh-93024) (GH-95286)
...
Previously, when using `functools.wrap` around them (and inherit their docstrings), sphinx renders the docstrings badly and raises warnings about wrong indent.
(cherry picked from commit b8c528694e
)
Co-authored-by: Roman Novak <44512421+romanngg@users.noreply.github.com>
2022-07-27 10:08:21 +02:00
Miss Islington (bot)
c72940a609
gh-95291: Use import helper to improve sqlite3 audit tests (GH-95292) (GH-95293)
...
Now the tests are correctly reported as skipped if sqlite3 is not available.
(cherry picked from commit 152eb90311
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-07-27 10:07:32 +02:00
Miss Islington (bot)
7df3a1ce4b
gh-95285: py.exe launcher fails with short argv0 (GH-95295) (GH-95298)
...
(cherry picked from commit 7ac5bb3e6a
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2022-07-27 10:06:59 +02:00
Miss Islington (bot)
0d812a58a7
gh-94635: Add sqlite3 'Introduction' and 'Tutorial' doc headings (GH-95269) (GH-95304)
...
(cherry picked from commit 2e35a13e46
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-07-27 10:05:50 +02:00
Miss Islington (bot)
820904eab2
gh-95041: Fix several minor issues in syslog.openlog() (GH-95058) (GH-95261)
...
* syslog_get_argv() swallows exceptions, but not in all cases.
* if ident is non UTF-8 encodable, syslog.openlog() fails after setting the
global reference to ident. Now the C string saved internally in the previous
call to openlog() points to the freed memory.
* PySys_Audit() can crash if ident is NULL.
* There may be a race condition with syslog.syslog(), because the global
reference to ident is decrefed before setting the new value.
* Possible use of freed memory if syslog.openlog() is called while
the GIL is released in syslog.syslog().
(cherry picked from commit 68c555a50a
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-07-26 12:21:48 +02:00
Miss Islington (bot)
5e971e816d
gh-93351: Add news entry and what's new entry for changes in gh-93351 (GH-95175) (GH-95177)
...
(cherry picked from commit 9762572d0a
)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2022-07-26 12:20:51 +02:00
Miss Islington (bot)
6fe7e0264f
gh-91810: Fix regression with writing an XML declaration with encoding='unicode' (GH-93426) (GH-93793)
...
Suppress writing an XML declaration in open files in ElementTree.write()
with encoding='unicode' and xml_declaration=None.
If file patch is passed to ElementTree.write() with encoding='unicode',
always open a new file in UTF-8.
(cherry picked from commit d7db9dc3cc
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-07-26 12:20:33 +02:00
Miss Islington (bot)
86eb500068
[3.11] gh-95185: Check recursion depth in the AST constructor (GH-95186) (GH-95208)
...
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit 0047447294
)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2022-07-26 12:19:22 +02:00
Miss Islington (bot)
5a9920fcf5
gh-95235: Add explicit parameter list to some sqlite3 methods (GH-95240) (GH-95263)
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 5012bedc7c
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-07-26 12:17:59 +02:00
Miss Islington (bot)
6284f23258
gh-95205: Improve WASM README.md (GH-95267) (GH-95270)
...
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
(cherry picked from commit e8f3e8f0ab
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-07-26 12:17:05 +02:00
Miss Islington (bot)
19d953682e
gh-95051: ensure that timeouts scheduled with asyncio.Timeout
that have already expired are deliverered promptly (GH-95109) (GH-95216)
...
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
(cherry picked from commit 0c6f898005
)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
2022-07-26 12:16:12 +02:00
Pablo Galindo
2fb64a0687
Post 3.11.0b5
2022-07-26 11:12:43 +01:00
Pablo Galindo
0771d71eea
Python 3.11.0b5
2022-07-25 23:21:18 +01:00
Pablo Galindo Salgado
7f73194339
[3.11] GH-92678: Expose managed dict clear and visit functions (GH-95246). ( #95256 )
...
Co-authored-by: Mark Shannon <mark@hotpy.org>
2022-07-25 23:05:27 +01:00
Miss Islington (bot)
4c10dbab4e
gh-95235: Document undocumented parameters in sqlite3 functions and methods (GH-95236)
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit ac6a94c669
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-07-25 09:55:01 -07:00
Miss Islington (bot)
92170517d7
gh-93610: Improve docs for importlib.resources (GH-93611) (GH-95247)
...
(cherry picked from commit ccd7c7a0bd
)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2022-07-25 18:26:46 +02:00
Mark Shannon
e5ff5ec3ff
[3.11] GH-94739: Backport GH-94958 to 3.11 ( #94965 )
2022-07-25 12:11:06 +01:00
Miss Islington (bot)
df95ad3d72
gh-95205: Improve wasm README (GH-95206)
...
Co-authored-by: Christian Heimes <christian@python.org>
(cherry picked from commit 310f94871a
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2022-07-25 02:52:47 -07:00
Miss Islington (bot)
3ec139fa4d
gh-95087: Fix IndexError in parsing invalid date in the email module (GH-95201)
...
Co-authored-by: wouter bolsterlee <wouter@bolsterl.ee>
(cherry picked from commit ea5ed0ba51
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-07-24 23:40:17 -07:00
Miss Islington (bot)
49d038496e
gh-95212: make multiprocessing test case parallel-safe (GH-95213)
...
(cherry picked from commit 5956de16cd
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-07-24 22:11:30 -07:00
Miss Islington (bot)
88ea2b6952
gh-95173: Revert commit 51ed2c56a1
(GH-95176)
...
(cherry picked from commit 9007dec606
)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2022-07-24 15:01:47 -07:00
Miss Islington (bot)
687dd50760
gh-95199: upgrade bundled setuptools to 63.2.0 (gh-95200)
...
(cherry picked from commit 3c94d3395e
)
Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
2022-07-24 04:28:24 -07:00
Miss Islington (bot)
9639cc1126
gh-95194: upgrade bundled pip to 22.2 (gh-95195)
...
upgrade bundled pip to 22.2
(cherry picked from commit 068ffafa54
)
Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
2022-07-24 03:22:12 -07:00
Miss Islington (bot)
00cda6b530
gh-95174: Handle missing waitpid and gethostbyname in WASI (GH-95181)
...
(cherry picked from commit 8184f0fce3
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-07-23 23:30:39 -07:00