]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
3 years agogh-75510: Edit idlelib entry in doc (#95869)
Terry Jan Reedy [Thu, 11 Aug 2022 02:44:17 +0000 (22:44 -0400)] 
gh-75510: Edit idlelib entry in doc (#95869)

Make section instead of subsection and revise sentence.

3 years agogh-84910: Tweak IDLE Glossary entry (#95866)
Terry Jan Reedy [Thu, 11 Aug 2022 02:04:36 +0000 (22:04 -0400)] 
gh-84910: Tweak IDLE Glossary entry (#95866)

Link "IDLE" to its doc and add 'and Learning' to its expansion,
as in the doc.

3 years agogh-95733: Allow installing Store package on older Windows versions (GH-95862)
Steve Dower [Wed, 10 Aug 2022 23:47:58 +0000 (00:47 +0100)] 
gh-95733: Allow installing Store package on older Windows versions (GH-95862)

3 years agogh-95605: Fix `float(s)` error message when `s` contains only whitespace (GH-95665)
Mark Dickinson [Wed, 10 Aug 2022 18:25:39 +0000 (19:25 +0100)] 
gh-95605: Fix `float(s)` error message when `s` contains only whitespace (GH-95665)

This PR fixes the error message from float(s) in the case where s contains only whitespace.

3 years agogh-95804: Respect MemoryHandler.flushOnClose in logging shutdown. (GH-95857)
David Bonner [Wed, 10 Aug 2022 17:08:55 +0000 (13:08 -0400)] 
gh-95804: Respect MemoryHandler.flushOnClose in logging shutdown. (GH-95857)

3 years agogh-95504: Fix negative numbers in PyUnicode_FromFormat (GH-95848)
Petr Viktorin [Wed, 10 Aug 2022 11:12:40 +0000 (13:12 +0200)] 
gh-95504: Fix negative numbers in PyUnicode_FromFormat (GH-95848)

Co-authored-by: philg314 <110174000+philg314@users.noreply.github.com>
3 years ago[docs] Mention RESUME opcode in whatsnew/3.11.rst (#95595)
esc [Wed, 10 Aug 2022 10:50:21 +0000 (12:50 +0200)] 
[docs] Mention RESUME opcode in whatsnew/3.11.rst (#95595)

3 years agogh-93649: Undefine NDEBUG in Modules/_testcapi/* to enable assert() (GH-95793)
Petr Viktorin [Wed, 10 Aug 2022 09:53:10 +0000 (11:53 +0200)] 
gh-93649: Undefine NDEBUG in Modules/_testcapi/* to enable assert() (GH-95793)

3 years agogh-93649: Split unicode tests from _testcapimodule.c & add some more (GH-95819)
Petr Viktorin [Wed, 10 Aug 2022 07:10:25 +0000 (09:10 +0200)] 
gh-93649: Split unicode tests from _testcapimodule.c & add some more (GH-95819)

- Move PyUnicode tests to a separate file
- Add some more tests for PyUnicode_FromFormat

Co-authored-by: philg314 <110174000+philg314@users.noreply.github.com>
3 years agogh-95349: Hide a Distutils Warning Filter for test_check_c_globals (GH-95837)
Eric Snow [Tue, 9 Aug 2022 23:04:05 +0000 (17:04 -0600)] 
gh-95349: Hide a Distutils Warning Filter for test_check_c_globals (GH-95837)

Under certain build conditions, test_check_c_globals fails.  This fix takes the same approach as we took for gh-84236 (via gh-20095).  We'll be removing use of distutils in the c-analyzer at some point.  Until then we'll hide the warning filter.

3 years agogh-75500: Add idlelib section to IDLE doc (#95832)
Terry Jan Reedy [Tue, 9 Aug 2022 18:34:42 +0000 (14:34 -0400)] 
gh-75500: Add idlelib section to IDLE doc (#95832)

This enables accessing IDLE as 'idlelib' in the Doc Module listing.

3 years agogh-95767: Fix grammatical error in asyncio loop.create_task docs (#95768)
Andrzej Bartosiński [Tue, 9 Aug 2022 13:59:27 +0000 (15:59 +0200)] 
gh-95767: Fix grammatical error in asyncio loop.create_task docs (#95768)

3 years agoGH-92678: Document that you shouldn't be doing your own dictionary offset calculation...
Mark Shannon [Tue, 9 Aug 2022 13:26:37 +0000 (14:26 +0100)] 
GH-92678: Document that you shouldn't be doing your own dictionary offset calculations. (GH-95598)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
3 years agoDisable Limited API tests with Py_TRACE_REFS (GH-95796)
Petr Viktorin [Tue, 9 Aug 2022 07:03:11 +0000 (09:03 +0200)] 
Disable Limited API tests with Py_TRACE_REFS (GH-95796)

3 years agoImprovements to the bisect docs (GH-95807)
Raymond Hettinger [Tue, 9 Aug 2022 06:31:50 +0000 (23:31 -0700)] 
Improvements to the bisect docs (GH-95807)

3 years agobpo-37000: Remove obsolete comment in _randbelow_with_getrandbits (#95775)
Matthias Görgens [Mon, 8 Aug 2022 23:22:26 +0000 (07:22 +0800)] 
bpo-37000: Remove obsolete comment in _randbelow_with_getrandbits (#95775)

3 years agogh-95273: Reorganize sqlite3 doc module level funcs and vars (#95626)
Erlend E. Aasland [Mon, 8 Aug 2022 19:25:35 +0000 (21:25 +0200)] 
gh-95273: Reorganize sqlite3 doc module level funcs and vars (#95626)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
3 years agogh-95781: More strict format string checking in PyUnicode_FromFormatV() (GH-95784)
Serhiy Storchaka [Mon, 8 Aug 2022 16:21:07 +0000 (19:21 +0300)] 
gh-95781: More strict format string checking in PyUnicode_FromFormatV() (GH-95784)

An unrecognized format character in PyUnicode_FromFormat() and
PyUnicode_FromFormatV() now sets a SystemError.
In previous versions it caused all the rest of the format string to be
copied as-is to the result string, and any extra arguments discarded.

3 years agogh-95491: Mention IDLE Issue project in Readme (#95750)
Terry Jan Reedy [Mon, 8 Aug 2022 13:37:43 +0000 (09:37 -0400)] 
gh-95491: Mention IDLE Issue project in Readme (#95750)

3 years agogh-93274: Expose receiving vectorcall in the Limited API (GH-95717)
Petr Viktorin [Mon, 8 Aug 2022 12:12:05 +0000 (14:12 +0200)] 
gh-93274: Expose receiving vectorcall in the Limited API (GH-95717)

3 years agogh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650)
Serhiy Storchaka [Mon, 8 Aug 2022 11:00:17 +0000 (14:00 +0300)] 
gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650)

3 years agogh-95388: Suppress deprecation warning in test_immutable_type_with_mutable_base ...
Erlend E. Aasland [Mon, 8 Aug 2022 10:15:57 +0000 (12:15 +0200)] 
gh-95388: Suppress deprecation warning in test_immutable_type_with_mutable_base (GH-95728)

When 3.14 kicks in, it'll be a RuntimeError;
the test will correctly fail then.

3 years agoFix downcast compiler warning in Modules/_testcapi/vectorcall.c (#95729)
Erlend E. Aasland [Mon, 8 Aug 2022 08:58:29 +0000 (10:58 +0200)] 
Fix downcast compiler warning in Modules/_testcapi/vectorcall.c (#95729)

3 years agodocs: Fix a few typos (#94899)
Tim Gates [Mon, 8 Aug 2022 08:02:45 +0000 (18:02 +1000)] 
docs: Fix a few typos (#94899)

- overriden => overridden
- calcualation => calculation

Signed-off-by: Tim Gates <tim.gates@iress.com>
3 years agoFix documentation typo for functools.cmp_to_key (GH-95766)
Andrzej Bartosiński [Mon, 8 Aug 2022 06:49:48 +0000 (08:49 +0200)] 
Fix documentation typo for functools.cmp_to_key (GH-95766)

3 years agogh-88339: enable fast seeking of uncompressed unencrypted zipfile.ZipExtFile (GH...
JuniorJPDJ [Sat, 6 Aug 2022 23:21:23 +0000 (01:21 +0200)] 
gh-88339: enable fast seeking of uncompressed unencrypted zipfile.ZipExtFile (GH-27737)

Avoid reading all of the intermediate data in uncompressed items in a zip file when the user seeks forward.

Contributed by: @JuniorJPDJ

3 years agogh-94635: Fixup sqlite3 'Introduction' seealso note (#95751)
Erlend E. Aasland [Sat, 6 Aug 2022 21:30:26 +0000 (23:30 +0200)] 
gh-94635: Fixup sqlite3 'Introduction' seealso note (#95751)

In gh-95269, the seealso note incorrectly ended up in
the 'Tutorial' section.

3 years ago\bgh-95376: Add test for names containing null (#GH-5394)
Sion Kang [Sat, 6 Aug 2022 16:53:19 +0000 (01:53 +0900)] 
\bgh-95376: Add test for names containing null (#GH-5394)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 years agogh-95395: Add argument type error test (GH-95412)
Sion Kang [Sat, 6 Aug 2022 16:52:53 +0000 (01:52 +0900)] 
gh-95395: Add argument type error test (GH-95412)

3 years agogh-95155: Update "Using Python on a Mac" documentation (GH-95284)
Howie Zhao [Sat, 6 Aug 2022 16:50:28 +0000 (00:50 +0800)] 
gh-95155: Update "Using Python on a Mac" documentation (GH-95284)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
3 years agoFix typo in test_dataclasses.py (gh-95735)
da-woods [Sat, 6 Aug 2022 15:56:00 +0000 (16:56 +0100)] 
Fix typo in test_dataclasses.py (gh-95735)

`dataclass` was called as a function when it was almost certainly intended to be a decorator.

3 years agogh-95385 Fastpath for encoding dict to JSON (gh-95374)
Aivars Kalvāns [Sat, 6 Aug 2022 06:55:24 +0000 (09:55 +0300)] 
gh-95385 Fastpath for encoding dict to JSON (gh-95374)

3 years agogh-93243: Make smtpd private before porting its users (GH-93246)
Oleg Iarygin [Sat, 6 Aug 2022 00:41:29 +0000 (03:41 +0300)] 
gh-93243: Make smtpd private before porting its users (GH-93246)

gh-93243

This PR is required to reduce diffs of the following porting (no need to either maintain documentation and tests consistent with each porting step, or try to port everything and remove smtpd in a single PR).

Automerge-Triggered-By: GH:warsaw
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)