Terry Jan Reedy
9ec6abf6dc
gh-90654: IDLE - Insert blank line in NEWS.txt ( #95478 )
...
Needed for backports.
2022-07-30 15:57:37 -04:00
Robert O'Shea
cd26595232
gh-95454: Replace truthy/falsy with true/false (GH-95456)
2022-07-30 00:42:21 -07:00
Serhiy Storchaka
0956b6d9c4
gh-94938: Fix test (GH-95396)
2022-07-30 09:16:22 +03:00
Erlend Egeberg Aasland
7e19e417b5
gh-95411: IDLE - Enable using the module browser with .pyw files ( #95397 )
...
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-07-30 00:42:13 -04:00
Erlend Egeberg Aasland
d92b19e1b5
gh-95273: Relocate sqlite3 enable load extension note ( #95430 )
2022-07-29 21:27:15 +02:00
Steve Dower
e3bae80e70
gh-94302: Clarify use of the 'open' operation in os.startfile (GH-95441)
2022-07-29 17:24:56 +01:00
Christian Heimes
f81a6c5fc7
gh-95415: Make availability directive consistent (GH-95416)
2022-07-29 16:42:09 +02:00
Erlend Egeberg Aasland
2fbee85931
gh-95432: Fixup sqlite3 tutorial example ( #95431 )
...
- the insert statement should have five placeholders, not four
- missing ... in the multiline row list
2022-07-29 14:31:41 +02:00
Oleg Iarygin
a739ee412c
gh-94512: Fix forced arg format in AC-processed resource (GH-94515)
2022-07-29 12:48:11 +01:00
Erlend Egeberg Aasland
e003b64f40
gh-95273: Improve sqlite3 class descriptions ( #95379 )
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-29 11:53:23 +02:00
Erlend Egeberg Aasland
f0bf7956e6
gh-95273: Move sqlite3 executemany examples from reference to tutorial ( #95351 )
2022-07-29 09:42:22 +02:00
Erlend Egeberg Aasland
e9c8de669d
gh-95273: Condense sqlite3 executescript example ( #95383 )
2022-07-29 09:40:44 +02:00
Eric Snow
3e7cad3bca
gh-94673: Add Per-Interpreter tp_weaklist for Static Builtin Types ( #95302 )
...
* Store tp_weaklist on the interpreter state for static builtin types.
* Factor out _PyStaticType_GET_WEAKREFS_LISTPTR().
* Add _PyStaticType_ClearWeakRefs().
* Add a comment about how _PyStaticType_ClearWeakRefs() loops.
* Document the change.
* Update Doc/whatsnew/3.12.rst
* Fix a typo.
2022-07-28 19:23:47 -06:00
BenjaminHelyer
6e44bf9558
Improve documentation for adding datetime and timedelta (gh-95403)
2022-07-28 20:09:51 -04:00
Erlend Egeberg Aasland
06fc249135
gh-89610: Add .pyi as a recognised extension for IDLE on macOS ( #95393 )
...
This allows opening stub files by double clicking on them in the Finder.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-07-28 19:04:26 -04:00
Raghunandan Bhat
edb72047f3
gh-43414: os.get_terminal_size() now uses the actual file descriptor on Windows instead of mapping to standard handles ( #93203 )
2022-07-28 23:48:33 +01:00
Jingxuan He
390847922c
Fix misused variable that was preventing permutations of classes from being tested (GH-93935)
2022-07-28 23:42:51 +01:00
[object Object]
7df2f4d787
gh-86128: Add warning to ThreadPoolExecutor docs about atexit behaviour (GH-94008)
2022-07-28 23:38:56 +01:00
Pamela Fox
70068b9336
Fix Unicode doc and replace use of macro with PyMem_New function (GH-94088)
2022-07-28 23:32:16 +01:00
JustAnotherArchivist
03da5d0f5b
gh-59200: Clarify `PyLong_FromString` documentation (GH-94363)
2022-07-28 23:12:27 +01:00
Oleg Iarygin
26d4af0ba5
gh-94512: Fix forced arg format in AC-processed overlapped (GH-94516)
2022-07-28 23:09:46 +01:00
Steve Dower
38bb2068fe
gh-95359: Fix py.exe launcher handling of per-user py.ini and command names (GH-95399)
2022-07-28 21:11:17 +01:00
Ken Jin
a1daf6e5cc
Update link to faster cpython benchmarks (GH-95391)
2022-07-29 00:22:24 +08:00
Kumar Aditya
54f48844d1
GH-95097: fix `asyncio.run` for tasks without `uncancel` method ( #95211 )
...
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
2022-07-28 08:47:54 -07:00
Irit Katriel
bceb197947
gh-95369: add missing decref in error case of exception group's split (GH-95370)
2022-07-28 11:38:46 +01:00
Honglin Zhu
b946f529ef
gh-95355: Check tokens[0] after allocating memory (GH-95356)
...
#95355
Automerge-Triggered-By: GH:pablogsal
2022-07-28 03:00:34 -07:00
Thomas Grainger
e16d4ed590
gh-95166: cancel map waited on future on timeout (GH-95169)
...
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-07-28 11:20:10 +02:00
Mark Shannon
b8b2990fb3
GH-90081: Run python tracers at full speed (GH-95328)
2022-07-28 10:17:22 +01:00
Erlend Egeberg Aasland
ea269b9a38
Docs: Fix refs & tweak wording in sqlite3 'Using shortcut methods'
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-28 07:38:36 +02:00
Serhiy Storchaka
ebad53a4dc
gh-94938: Fix errror detection of unexpected keyword arguments (GH-94999)
...
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.
2022-07-28 07:40:36 +03:00
Christian Heimes
0fe645d6fd
gh-95174: Add pthread stubs for WASI (GH-95234)
...
Co-authored-by: Brett Cannon <brett@python.org>
2022-07-27 20:28:06 +02:00
Stéphane Bidoul
226d02bb10
gh-95339: update bundled pip to 22.2.1 (gh-95340)
2022-07-27 19:14:42 +01:00
Pablo Galindo Salgado
f40bc7fa49
gh-95324: Emit a warning if an object doesn't call PyObject_GC_UnTrack during deallocation in debug mode ( #95325 )
2022-07-27 16:03:38 +01:00
Christian Heimes
2833f3798d
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.
2022-07-27 15:30:36 +02:00
Erlend Egeberg Aasland
2361908a9d
gh-95273: Normalise sqlite3 reference wording ( #95274 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-27 15:24:13 +02:00
Kumar Aditya
4dd099baff
GH-93899: fix checks for eventfd flags (GH-95170)
2022-07-27 06:05:29 -07:00
Erlend Egeberg Aasland
2b37395612
gh-94630: Fixup sqlite3 argument spec docs for connection execute* methods ( #95319 )
2022-07-27 14:46:21 +02:00
Kumar Aditya
deacf391d7
GH-95045: gc untrack _lsprof.Profiler before deallocating it (GH-95315)
...
Automerge-Triggered-By: GH:pablogsal
2022-07-27 05:03:50 -07:00
Jason R. Coombs
78eb3f79ea
gh-93963: Remove usage of deprecated interface from importlib.abc. ( #95217 )
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2022-07-27 04:54:31 -04:00
Aivars Kalvāns
8c88e360e7
gh-95005: Replace PyAccu with PyUnicodeWriter (gh-95006)
2022-07-27 17:43:34 +09:00
Christian Heimes
565403038b
gh-95280: Fix test_get_ciphers on systems without RSA key exchange (GH-95282)
2022-07-27 09:19:49 +02:00
Christian Heimes
8b24d60f1b
gh-95174: WASI: skip missing sockets functions (GH-95179)
2022-07-27 08:19:23 +02:00
Christian Heimes
daa64d6a59
gh-95085: Promote Emscripten and WASI to PEP 11 tier 3 (GH-95086)
2022-07-27 08:18:34 +02:00
Erlend Egeberg Aasland
2e35a13e46
gh-94635: Add sqlite3 'Introduction' and 'Tutorial' doc headings ( #95269 )
2022-07-27 07:43:24 +02:00
Eric Snow
47e75a0025
gh-94673: Add Per-Interpreter Storage for Static Builtin Types ( #95255 )
...
This is the last precursor to storing tp_subclasses (and tp_weaklist) on the interpreter state for static builtin types.
Here we add per-type storage on PyInterpreterState, but only for the static builtin types. This involves the following:
* add PyInterpreterState.types
* move PyInterpreterState.type_cache to it
* add a "num_builtins_initialized" field
* add a "builtins" field (a static array big enough for all the static builtin types)
* add _PyStaticType_GetState() to look up a static builtin type's state
* (temporarily) add PyTypeObject.tp_static_builtin_index (to hold the type's index into PyInterpreterState.types.builtins)
We will be eliminating tp_static_builtin_index in a later change.
2022-07-26 17:26:43 -06:00
Steve Dower
7ac5bb3e6a
gh-95285: py.exe launcher fails with short argv0 (GH-95295)
2022-07-26 21:24:44 +01:00
Christian Heimes
51c56f8d72
gh-93678: Address stack exhaustion on WASI (GH-95296)
2022-07-26 22:14:35 +02:00
Christian Heimes
9af7f87d76
gh-94801: Fix regression in configure's CPPFLAGS handling (GH-95288)
2022-07-26 21:39:04 +02:00
Erlend Egeberg Aasland
152eb90311
gh-95291: Use import helper to improve sqlite3 audit tests ( #95292 )
...
Now the tests are correctly reported as skipped if sqlite3 is not available.
2022-07-26 21:18:16 +02:00
Roman Novak
b8c528694e
Fix minor docstring issues in `dataclasses.py`. (gh-93024)
...
Previously, when using `functools.wrap` around them (and inherit their docstrings), sphinx renders the docstrings badly and raises warnings about wrong indent.
2022-07-26 10:48:58 -04:00