]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
3 years agogh-86943: implement `pathlib.WindowsPath.is_mount()` (GH-31458)
Barney Gale [Fri, 5 Aug 2022 22:37:44 +0000 (23:37 +0100)] 
gh-86943: implement `pathlib.WindowsPath.is_mount()` (GH-31458)

Have `pathlib.WindowsPath.is_mount()` call `ntpath.ismount()`. Previously it raised `NotImplementedError` unconditionally.

https://bugs.python.org/issue42777

3 years agogh-95251: IDLE - Add What's New section to README (#95688)
Terry Jan Reedy [Fri, 5 Aug 2022 21:15:18 +0000 (17:15 -0400)] 
gh-95251: IDLE - Add What's New section to README (#95688)

Document what I (TJR) currently do for 3.10/3.11.

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
3 years agogh-89362: Doc IDLE menu and search (#95697)
Terry Jan Reedy [Fri, 5 Aug 2022 16:21:45 +0000 (12:21 -0400)] 
gh-89362: Doc IDLE menu and search (#95697)

Update menu item position and capitalization.
Add paragraph about search.
For help.html, include save-as addition.

3 years agoUpdate the magic number in test_util.py (#95714)
Pablo Galindo Salgado [Fri, 5 Aug 2022 14:42:39 +0000 (15:42 +0100)] 
Update the magic number in test_util.py (#95714)

3 years agoRemove draft notice from 3.11 What's new (#95713)
Pablo Galindo Salgado [Fri, 5 Aug 2022 14:40:41 +0000 (15:40 +0100)] 
Remove draft notice from 3.11 What's new (#95713)

3 years agogh-93744: Remove configure --with-cxx-main option (#95651)
Victor Stinner [Fri, 5 Aug 2022 11:26:58 +0000 (13:26 +0200)] 
gh-93744: Remove configure --with-cxx-main option (#95651)

Remove the "configure --with-cxx-main" build option: it didn't work
for many years. Remove the MAINCC variable from configure and
Makefile.

The MAINCC variable was added by the issue gh-42471: commit
0f48d98b740110a672b62d467af192ec160e56ba. Previously, --with-cxx-main
was named --with-cxx.

Keep CXX and LDCXXSHARED variables, even if they are no longer used
by Python build system.

3 years agogh-95573: Reduce test data size in test_asyncio/test_ssl.py (GH-95668)
Fantix King [Fri, 5 Aug 2022 08:45:36 +0000 (04:45 -0400)] 
gh-95573: Reduce test data size in test_asyncio/test_ssl.py (GH-95668)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
3 years agoGH-95685: Fix rendering of the string documentation (#95686)
Mariatta Wijaya [Fri, 5 Aug 2022 07:41:02 +0000 (00:41 -0700)] 
GH-95685: Fix rendering of the string documentation (#95686)

There's an extra underlines that messed the rest of the documentation rendering.

Closes #95685

3 years agogh-95573: Fix a mistake in asyncio ssl tests suppressing all logs (#95687)
Fantix King [Fri, 5 Aug 2022 07:33:35 +0000 (03:33 -0400)] 
gh-95573: Fix a mistake in asyncio ssl tests suppressing all logs (#95687)

3 years agoGH-90997: Document CACHEs (GH-95694)
Brandt Bucher [Fri, 5 Aug 2022 05:45:05 +0000 (22:45 -0700)] 
GH-90997: Document CACHEs (GH-95694)

3 years agogh-65802: IDLE - explain SaveAs and extensions (#95690)
Terry Jan Reedy [Fri, 5 Aug 2022 01:51:14 +0000 (21:51 -0400)] 
gh-65802: IDLE - explain SaveAs and extensions (#95690)

File name extensions may or may not be shown for the current name
and are added in an OS-dependent manner if not given for the new
name.

3 years agogh-94673: Add Per-Interpreter tp_subclasses for Static Builtin Types (gh-95301)
Eric Snow [Fri, 5 Aug 2022 01:26:59 +0000 (19:26 -0600)] 
gh-94673: Add Per-Interpreter tp_subclasses for Static Builtin Types (gh-95301)

3 years agogh-94619: Remove long deprecated methods module_repr() and load_module() (#94624)
Barry Warsaw [Fri, 5 Aug 2022 00:24:26 +0000 (17:24 -0700)] 
gh-94619: Remove long deprecated methods module_repr() and load_module() (#94624)

* gh-94619: Remove long deprecated methods module_repr() and load_module()

Closes #94619

* Update Misc/NEWS.d/next/Library/2022-07-06-14-57-33.gh-issue-94619.PRqKVX.rst

Fix typo

Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Brett Cannon <brett@python.org>
3 years agoDocs: sqlite3 docs fixup (#95681)
Erlend Egeberg Aasland [Thu, 4 Aug 2022 22:06:46 +0000 (00:06 +0200)] 
Docs: sqlite3 docs fixup (#95681)

- Disable links to the module itself
- Fix link indent
- Consistent ref markup

3 years agogh-95271: Extract placeholders howto from sqlite3 tutorial (#95522)
Erlend Egeberg Aasland [Thu, 4 Aug 2022 20:41:18 +0000 (22:41 +0200)] 
gh-95271: Extract placeholders howto from sqlite3 tutorial (#95522)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
3 years agoRemove unnecessary text from documentation. (GH-95670)
fluesvamp [Thu, 4 Aug 2022 20:18:05 +0000 (15:18 -0500)] 
Remove unnecessary text from documentation. (GH-95670)

3 years agogh-95273: Improve documented return values and exceptions raised for sqlite3 class...
Erlend Egeberg Aasland [Thu, 4 Aug 2022 19:58:10 +0000 (21:58 +0200)] 
gh-95273: Improve documented return values and exceptions raised for sqlite3 class methods (#95530)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
3 years agogh-95656: Enable the sqlite3 load extension API in Windows build (#95662)
Erlend Egeberg Aasland [Thu, 4 Aug 2022 19:26:13 +0000 (21:26 +0200)] 
gh-95656: Enable the sqlite3 load extension API in Windows build (#95662)

3 years agoDocs: fix two typos in the sqlite3 docs (#95661)
ceh [Thu, 4 Aug 2022 18:25:53 +0000 (20:25 +0200)] 
Docs: fix two typos in the sqlite3 docs (#95661)

- statment => statement
- transaciton => transaction

3 years agogh-94673: Recover Weaklist Lookup Performance (gh-95544)
Eric Snow [Thu, 4 Aug 2022 17:28:15 +0000 (11:28 -0600)] 
gh-94673: Recover Weaklist Lookup Performance (gh-95544)

gh-95302 seems to have introduced a small performance regression. Here we make some minor changes to recover that lost performance.

3 years agogh-90110: Update the C Analyzer Tool Whitelists (gh-95628)
Eric Snow [Thu, 4 Aug 2022 16:47:02 +0000 (10:47 -0600)] 
gh-90110: Update the C Analyzer Tool Whitelists (gh-95628)

3 years agoFix links to old SF bugs (#95648)
Serhiy Storchaka [Thu, 4 Aug 2022 16:12:35 +0000 (19:12 +0300)] 
Fix links to old SF bugs (#95648)

3 years agogh-95587: Fixes some upgrade detection issues in the Windows installer (GH-95631)
Steve Dower [Thu, 4 Aug 2022 16:12:08 +0000 (17:12 +0100)] 
gh-95587: Fixes some upgrade detection issues in the Windows installer (GH-95631)

3 years agogh-93274: Make vectorcall safe on mutable classes & inherit it by default (#95437)
Petr Viktorin [Thu, 4 Aug 2022 15:19:29 +0000 (17:19 +0200)] 
gh-93274: Make vectorcall safe on mutable classes & inherit it by default (#95437)

3 years agogh-95388: Deprecate creating immutable types with mutable bases (GH-95533)
Petr Viktorin [Thu, 4 Aug 2022 14:13:45 +0000 (16:13 +0200)] 
gh-95388: Deprecate creating immutable types with mutable bases (GH-95533)

3 years agogh-87092: create a 'jump target label' abstraction so that the compiler's codegen...
Irit Katriel [Thu, 4 Aug 2022 13:59:32 +0000 (14:59 +0100)] 
gh-87092: create a 'jump target label' abstraction so that the compiler's codegen stage does not work directly with basic blocks (GH-95398)

3 years agoGH-95289: Always call uncancel() when parent cancellation is requested (#95602)
Kumar Aditya [Thu, 4 Aug 2022 13:57:44 +0000 (19:27 +0530)] 
GH-95289: Always call uncancel() when parent cancellation is requested (#95602)

Co-authored-by: Guido van Rossum <guido@python.org>
3 years agogh-94936: C getters: co_varnames, co_cellvars, co_freevars (#95008)
Ken Jin [Thu, 4 Aug 2022 13:53:31 +0000 (21:53 +0800)] 
gh-94936: C getters: co_varnames, co_cellvars, co_freevars (#95008)

3 years agogh-91323: Revert "Allow overriding a future compliance check in asyncio.Task (GH...
Łukasz Langa [Thu, 4 Aug 2022 13:51:38 +0000 (15:51 +0200)] 
gh-91323: Revert "Allow overriding a future compliance check in asyncio.Task (GH-32197)" (GH-95442)

This reverts commit d4bb38f82bf18b00db3129031ce4969b6f0caab9.

3 years agogh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642)
Serhiy Storchaka [Thu, 4 Aug 2022 10:30:05 +0000 (13:30 +0300)] 
gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642)

It updates links which redirect to HTTPS with different authority or
path.

3 years agogh-95638: Update idlelib README file and menu lists (#95639)
Terry Jan Reedy [Thu, 4 Aug 2022 07:35:42 +0000 (03:35 -0400)] 
gh-95638: Update idlelib README file and menu lists (#95639)

3 years agogh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527)
Serhiy Storchaka [Thu, 4 Aug 2022 07:13:49 +0000 (10:13 +0300)] 
gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527)

If an HTTP link is redirected to a same looking HTTPS link, the latter can
be used directly without changes in readability and behavior.
It protects from a men-in-the-middle attack.

This change does not affect Python examples.

3 years agogh-95191: IDLE Prompts entry for What's New 3.10 (#95633)
Terry Jan Reedy [Thu, 4 Aug 2022 02:17:57 +0000 (22:17 -0400)] 
gh-95191: IDLE Prompts entry for What's New 3.10 (#95633)

3 years agogh-95191: IDLE Prompts entry for Whatnew 3.11 (#95632)
Terry Jan Reedy [Thu, 4 Aug 2022 00:56:05 +0000 (20:56 -0400)] 
gh-95191: IDLE Prompts entry for Whatnew 3.11 (#95632)

3 years agogh-94675: Add a regression test for rjsmin re slowdown (GH-94685)
Miro Hrončok [Wed, 3 Aug 2022 23:19:36 +0000 (01:19 +0200)] 
gh-94675: Add a regression test for rjsmin re slowdown (GH-94685)

Adds a regression test for an re slowdown observed by rjsmin.
Uses multiprocessing to kill the test after SHORT_TIMEOUT.

Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
Co-authored-by: Christian Heimes <christian@python.org>
3 years agogh-90817: Use .. deprecated-removed:: when removal version known (#94960)
Hugo van Kemenade [Wed, 3 Aug 2022 21:47:20 +0000 (00:47 +0300)] 
gh-90817: Use .. deprecated-removed:: when removal version known (#94960)

3 years agogh-94399: Restore PATH search behaviour of py.exe launcher for '/usr/bin/env' shebang...
Steve Dower [Wed, 3 Aug 2022 21:18:51 +0000 (22:18 +0100)] 
gh-94399: Restore PATH search behaviour of py.exe launcher for '/usr/bin/env' shebang lines (GH-95582)

3 years agogh-95597: Fix typo in Lib directory files (#95599)
Jo, Yunjin [Wed, 3 Aug 2022 21:16:15 +0000 (06:16 +0900)] 
gh-95597: Fix typo in Lib directory files (#95599)

3 years ago[Enum] add whatsnew entries (GH-95455)
Ethan Furman [Wed, 3 Aug 2022 21:11:20 +0000 (14:11 -0700)] 
[Enum] add whatsnew entries (GH-95455)

3 years agogh-95423: Update winreg.DeleteKeyEx documentation and remove dynamic function load...
Derek Kim [Wed, 3 Aug 2022 20:55:03 +0000 (15:55 -0500)] 
gh-95423: Update winreg.DeleteKeyEx documentation and remove dynamic function load (GH-95521)

3 years agogh-95273: Align sqlite3 const doc refs with the devguide recommendations (#95525)
Erlend Egeberg Aasland [Wed, 3 Aug 2022 20:21:15 +0000 (22:21 +0200)] 
gh-95273: Align sqlite3 const doc refs with the devguide recommendations (#95525)

3 years agogh-95609: update bundled pip to 22.2.2 (gh-95610)
Stéphane Bidoul [Wed, 3 Aug 2022 19:26:51 +0000 (21:26 +0200)] 
gh-95609: update bundled pip to 22.2.2 (gh-95610)

3 years agogh-91207: Fix CSS bug in Windows CHM help file and add deprecation message (GH-95607)
CAM Gerlach [Wed, 3 Aug 2022 19:23:20 +0000 (14:23 -0500)] 
gh-91207: Fix CSS bug in Windows CHM help file and add deprecation message (GH-95607)

3 years agoGH-92678: Fix tp_dictoffset inheritance. (GH-95596)
Mark Shannon [Wed, 3 Aug 2022 17:56:24 +0000 (18:56 +0100)] 
GH-92678: Fix tp_dictoffset inheritance. (GH-95596)

* Add test for inheriting explicit __dict__ and weakref.

* Restore 3.10 behavior for multiple inheritance of C extension classes that store their dictionary at the end of the struct.

3 years agoDocs: fix incorrect formatting in sqlite3 CLI docs (#95581)
Erlend Egeberg Aasland [Tue, 2 Aug 2022 22:17:09 +0000 (00:17 +0200)] 
Docs: fix incorrect formatting in sqlite3 CLI docs (#95581)

3 years agogh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452)
Christian Heimes [Tue, 2 Aug 2022 19:00:41 +0000 (21:00 +0200)] 
gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452)

Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Michael Droettboom <mdboom@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
3 years agogh-95516: Add param types and clarify param descriptions of LogRecord (GH-95517)
CAM Gerlach [Tue, 2 Aug 2022 07:42:35 +0000 (02:42 -0500)] 
gh-95516: Add param types and clarify param descriptions of LogRecord (GH-95517)

3 years agogh-83270: Update IDLE's credits (#95528)
Erlend Egeberg Aasland [Tue, 2 Aug 2022 04:23:42 +0000 (06:23 +0200)] 
gh-83270: Update IDLE's credits (#95528)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
3 years ago gh-95191: IDLE: Include prompts when saving Shell #95554
Terry Jan Reedy [Tue, 2 Aug 2022 04:10:39 +0000 (00:10 -0400)] 
 gh-95191: IDLE: Include prompts when saving Shell #95554

3 years agogh-92219: Clarify that some options to the installer may break the install (GH-95548)
Steve Dower [Mon, 1 Aug 2022 23:57:46 +0000 (00:57 +0100)] 
gh-92219: Clarify that some options to the installer may break the install (GH-95548)

3 years agogh-90110: Get the C Analyzer Tool Working Again (gh-95545)
Eric Snow [Mon, 1 Aug 2022 23:13:23 +0000 (17:13 -0600)] 
gh-90110: Get the C Analyzer Tool Working Again (gh-95545)

3 years agoGH-95150: Use position and exception tables for code hashing and equality (GH-95509)
Brandt Bucher [Mon, 1 Aug 2022 18:02:56 +0000 (11:02 -0700)] 
GH-95150: Use position and exception tables for code hashing and equality (GH-95509)

3 years agogh-91447: Fix findtext to only give an empty string on None (GH-91486)
Eugene Triguba [Mon, 1 Aug 2022 16:52:39 +0000 (11:52 -0500)] 
gh-91447: Fix findtext to only give an empty string on None (GH-91486)

The API documentation for [findtext](https://docs.python.org/3/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.findtext) states that this function gives back an empty string on "no text content." With the previous implementation, this would give back a empty string even on text content values such as 0 or False. This patch attempts to resolve that by only giving back an empty string if the text attribute is set to `None`. Resolves #91447.

Automerge-Triggered-By: GH:gvanrossum
3 years agogh-95417: Quick fix for "ULONG_PTR differs in levels of indirection from void *"...
Oleg Iarygin [Mon, 1 Aug 2022 16:30:15 +0000 (19:30 +0300)] 
gh-95417: Quick fix for "ULONG_PTR differs in levels of indirection from void *" (GH-95538)

3 years agogh-95173: Add a regression test for sorting tuples containing None (#95464)
Jacob Walls [Mon, 1 Aug 2022 16:02:09 +0000 (12:02 -0400)] 
gh-95173: Add a regression test for sorting tuples containing None (#95464)

3 years agogh-95445: Ensure Windows msi uninstalls document folder successfully (GH-95465)
neonene [Mon, 1 Aug 2022 15:37:32 +0000 (00:37 +0900)] 
gh-95445: Ensure Windows msi uninstalls document folder successfully (GH-95465)

3 years agono-issue: Fix typo of "thrid" instead of "third" in dis docs (gh-95510)
Alex Hedges [Mon, 1 Aug 2022 15:06:43 +0000 (11:06 -0400)] 
no-issue: Fix typo of "thrid" instead of "third" in dis docs (gh-95510)

3 years agoGH-95245: Store object values and dict pointers in single tagged pointer. (GH-95278)
Mark Shannon [Mon, 1 Aug 2022 13:34:54 +0000 (14:34 +0100)] 
GH-95245: Store object values and dict pointers in single tagged pointer. (GH-95278)

3 years agogh-91146: More reduce allocation size of list from str.split/rsplit (gh-95493)
Dong-hee Na [Mon, 1 Aug 2022 13:15:07 +0000 (22:15 +0900)] 
gh-91146: More reduce allocation size of list from str.split/rsplit (gh-95493)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
3 years agogh-95007: Remove the NoneType return converter from Argument Clinic Doc (#95529)
Noam Cohen [Mon, 1 Aug 2022 13:07:35 +0000 (16:07 +0300)] 
gh-95007: Remove the NoneType return converter from Argument Clinic Doc (#95529)

The converter was removed in 74b5e4ce80858ac5c7d03411cb8cce7e6865f181

3 years ago gh-93649: Split heaptype tests from _testcapimodule.c (GH-95386)
Petr Viktorin [Mon, 1 Aug 2022 13:04:14 +0000 (15:04 +0200)] 
 gh-93649: Split heaptype tests from _testcapimodule.c  (GH-95386)

This removes the unused negative_dictoffset function:
the type this function would create is available as
    _testcapi.HeapCTypeWithNegativeDict

3 years agogh-77617: Add sqlite3 command-line interface (#95026)
Erlend Egeberg Aasland [Mon, 1 Aug 2022 10:25:16 +0000 (12:25 +0200)] 
gh-77617: Add sqlite3 command-line interface (#95026)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agogh-95273: Clarify when sqlite_* attributes are added to sqlite3 exceptions (#95523)
Erlend Egeberg Aasland [Mon, 1 Aug 2022 09:15:07 +0000 (11:15 +0200)] 
gh-95273: Clarify when sqlite_* attributes are added to sqlite3 exceptions (#95523)

3 years agogh-95511: IDLE - fix Shell context menu copy-with-prompts bug (#95512)
Terry Jan Reedy [Mon, 1 Aug 2022 05:06:13 +0000 (01:06 -0400)] 
gh-95511: IDLE - fix Shell context menu copy-with-prompts bug (#95512)

If one selects whole lines, as the sidebar makes easy, do not
add an extra line.  Only move the end of a selection to the
beginning of the next line when not already at the beginning
of a line.  (Also improve the surrounding code.)

3 years agobpo-42037: Corrected request dependencies in CookieJar functions (GH-23112)
markus-sus [Mon, 1 Aug 2022 02:42:13 +0000 (04:42 +0200)] 
bpo-42037: Corrected request dependencies in CookieJar functions (GH-23112)

3 years agoIDLE: Fix docs URL in the About window (#28417)
Serhiy Storchaka [Sun, 31 Jul 2022 20:47:28 +0000 (23:47 +0300)] 
IDLE: Fix docs URL in the About window (#28417)

3 years agobpo-45445: Revert "bpo-45445: Fail if an invalid X-option is provided in the command...
Pablo Galindo Salgado [Sun, 31 Jul 2022 15:33:56 +0000 (16:33 +0100)] 
bpo-45445: Revert "bpo-45445: Fail if an invalid X-option is provided in the command line (GH-28823)" (#94745)

3 years agogh-91146: Reduce allocation size of list from str.split()/rsplit() (gh-95473)
Dong-hee Na [Sun, 31 Jul 2022 03:14:53 +0000 (12:14 +0900)] 
gh-91146: Reduce allocation size of list from str.split()/rsplit() (gh-95473)

3 years agogh-95471: IDLE - Tweak Edit menu (#95481)
Terry Jan Reedy [Sun, 31 Jul 2022 01:09:07 +0000 (21:09 -0400)] 
gh-95471: IDLE - Tweak Edit menu (#95481)

Move `Select All` above  `Cut` as it is used with `Cut` and `Copy` but not `Paste`.  Add a separator between `Replace` and `Go to Line` to separate items that belong to the 'Edit-find' (above) and 'Edit-show' (below) IDLE github project topics.

3 years agogh-94635: Add Reference, How-to, and Concepts headings to sqlite3 docs (#94636)
Erlend Egeberg Aasland [Sat, 30 Jul 2022 23:24:15 +0000 (01:24 +0200)] 
gh-94635: Add Reference, How-to, and Concepts headings to sqlite3 docs (#94636)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
3 years agoDoctest cleanups (GH-95436)
Zachary Ware [Sat, 30 Jul 2022 22:21:08 +0000 (17:21 -0500)] 
Doctest cleanups (GH-95436)

* GHA: Don't hide doctest output

* Enable doctests in math.rst

* Squash warnings in nntplib.rst doctests

* Squash warning in turtle.rst doctest

* Squash warnings in whatsnew/3.2.rst doctests

* Treat warnings as errors in Doc/ doctests

3 years agogh-90654: IDLE - Insert blank line in NEWS.txt (#95478)
Terry Jan Reedy [Sat, 30 Jul 2022 19:57:37 +0000 (15:57 -0400)] 
gh-90654: IDLE - Insert blank line in NEWS.txt (#95478)

Needed for backports.

3 years agogh-95454: Replace truthy/falsy with true/false (GH-95456)
Robert O'Shea [Sat, 30 Jul 2022 07:42:21 +0000 (08:42 +0100)] 
gh-95454: Replace truthy/falsy with true/false (GH-95456)

3 years agogh-94938: Fix test (GH-95396)
Serhiy Storchaka [Sat, 30 Jul 2022 06:16:22 +0000 (09:16 +0300)] 
gh-94938: Fix test (GH-95396)

3 years agogh-95411: IDLE - Enable using the module browser with .pyw files (#95397)
Erlend Egeberg Aasland [Sat, 30 Jul 2022 04:42:13 +0000 (06:42 +0200)] 
gh-95411: IDLE - Enable using the module browser with .pyw files (#95397)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
3 years agogh-95273: Relocate sqlite3 enable load extension note (#95430)
Erlend Egeberg Aasland [Fri, 29 Jul 2022 19:27:15 +0000 (21:27 +0200)] 
gh-95273: Relocate sqlite3 enable load extension note (#95430)

3 years agogh-94302: Clarify use of the 'open' operation in os.startfile (GH-95441)
Steve Dower [Fri, 29 Jul 2022 16:24:56 +0000 (17:24 +0100)] 
gh-94302: Clarify use of the 'open' operation in os.startfile (GH-95441)

3 years agogh-95415: Make availability directive consistent (GH-95416)
Christian Heimes [Fri, 29 Jul 2022 14:42:09 +0000 (16:42 +0200)] 
gh-95415: Make availability directive consistent (GH-95416)

3 years agogh-95432: Fixup sqlite3 tutorial example (#95431)
Erlend Egeberg Aasland [Fri, 29 Jul 2022 12:31:41 +0000 (14:31 +0200)] 
gh-95432: Fixup sqlite3 tutorial example (#95431)

- the insert statement should have five placeholders, not four
- missing ... in the multiline row list

3 years agogh-94512: Fix forced arg format in AC-processed resource (GH-94515)
Oleg Iarygin [Fri, 29 Jul 2022 11:48:11 +0000 (14:48 +0300)] 
gh-94512: Fix forced arg format in AC-processed resource (GH-94515)

3 years agogh-95273: Improve sqlite3 class descriptions (#95379)
Erlend Egeberg Aasland [Fri, 29 Jul 2022 09:53:23 +0000 (11:53 +0200)] 
gh-95273: Improve sqlite3 class descriptions (#95379)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
3 years agogh-95273: Move sqlite3 executemany examples from reference to tutorial (#95351)
Erlend Egeberg Aasland [Fri, 29 Jul 2022 07:42:22 +0000 (09:42 +0200)] 
gh-95273: Move sqlite3 executemany examples from reference to tutorial (#95351)

3 years agogh-95273: Condense sqlite3 executescript example (#95383)
Erlend Egeberg Aasland [Fri, 29 Jul 2022 07:40:44 +0000 (09:40 +0200)] 
gh-95273: Condense sqlite3 executescript example (#95383)

3 years agogh-94673: Add Per-Interpreter tp_weaklist for Static Builtin Types (#95302)
Eric Snow [Fri, 29 Jul 2022 01:23:47 +0000 (19:23 -0600)] 
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.

3 years agoImprove documentation for adding datetime and timedelta (gh-95403)
BenjaminHelyer [Fri, 29 Jul 2022 00:09:51 +0000 (19:09 -0500)] 
Improve documentation for adding datetime and timedelta (gh-95403)

3 years agogh-89610: Add .pyi as a recognised extension for IDLE on macOS (#95393)
Erlend Egeberg Aasland [Thu, 28 Jul 2022 23:04:26 +0000 (01:04 +0200)] 
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>
3 years agogh-43414: os.get_terminal_size() now uses the actual file descriptor on Windows inste...
Raghunandan Bhat [Thu, 28 Jul 2022 22:48:33 +0000 (18:48 -0400)] 
gh-43414: os.get_terminal_size() now uses the actual file descriptor on Windows instead of mapping to standard handles (#93203)

3 years agoFix misused variable that was preventing permutations of classes from being tested...
Jingxuan He [Thu, 28 Jul 2022 22:42:51 +0000 (00:42 +0200)] 
Fix misused variable that was preventing permutations of classes from being tested (GH-93935)

3 years agogh-86128: Add warning to ThreadPoolExecutor docs about atexit behaviour (GH-94008)
[object Object] [Thu, 28 Jul 2022 22:38:56 +0000 (15:38 -0700)] 
gh-86128: Add warning to ThreadPoolExecutor docs about atexit behaviour (GH-94008)

3 years agoFix Unicode doc and replace use of macro with PyMem_New function (GH-94088)
Pamela Fox [Thu, 28 Jul 2022 22:32:16 +0000 (15:32 -0700)] 
Fix Unicode doc and replace use of macro with PyMem_New function (GH-94088)

3 years agogh-59200: Clarify `PyLong_FromString` documentation (GH-94363)
JustAnotherArchivist [Thu, 28 Jul 2022 22:12:27 +0000 (22:12 +0000)] 
gh-59200: Clarify `PyLong_FromString` documentation (GH-94363)

3 years agogh-94512: Fix forced arg format in AC-processed overlapped (GH-94516)
Oleg Iarygin [Thu, 28 Jul 2022 22:09:46 +0000 (01:09 +0300)] 
gh-94512: Fix forced arg format in AC-processed overlapped (GH-94516)

3 years agogh-95359: Fix py.exe launcher handling of per-user py.ini and command names (GH-95399)
Steve Dower [Thu, 28 Jul 2022 20:11:17 +0000 (21:11 +0100)] 
gh-95359: Fix py.exe launcher handling of per-user py.ini and command names (GH-95399)

3 years agoUpdate link to faster cpython benchmarks (GH-95391)
Ken Jin [Thu, 28 Jul 2022 16:22:24 +0000 (00:22 +0800)] 
Update link to faster cpython benchmarks (GH-95391)

3 years agoGH-95097: fix `asyncio.run` for tasks without `uncancel` method (#95211)
Kumar Aditya [Thu, 28 Jul 2022 15:47:54 +0000 (21:17 +0530)] 
GH-95097: fix `asyncio.run` for tasks without `uncancel` method (#95211)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
3 years agogh-95369: add missing decref in error case of exception group's split (GH-95370)
Irit Katriel [Thu, 28 Jul 2022 10:38:46 +0000 (11:38 +0100)] 
gh-95369: add missing decref in error case of exception group's split (GH-95370)

3 years agogh-95355: Check tokens[0] after allocating memory (GH-95356)
Honglin Zhu [Thu, 28 Jul 2022 10:00:34 +0000 (18:00 +0800)] 
gh-95355: Check tokens[0] after allocating memory (GH-95356)

#95355

Automerge-Triggered-By: GH:pablogsal
3 years agogh-95166: cancel map waited on future on timeout (GH-95169)
Thomas Grainger [Thu, 28 Jul 2022 09:20:10 +0000 (10:20 +0100)] 
gh-95166: cancel map waited on future on timeout (GH-95169)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years agoGH-90081: Run python tracers at full speed (GH-95328)
Mark Shannon [Thu, 28 Jul 2022 09:17:22 +0000 (10:17 +0100)] 
GH-90081: Run python tracers at full speed (GH-95328)

3 years agoDocs: Fix refs & tweak wording in sqlite3 'Using shortcut methods'
Erlend Egeberg Aasland [Thu, 28 Jul 2022 05:38:36 +0000 (07:38 +0200)] 
Docs: Fix refs & tweak wording in sqlite3 'Using shortcut methods'

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>