Ned Deily
71ca01e470
Remove 3.11 beta release notice from macOS installer displays (GH-95669)
2022-08-04 16:19:32 -04:00
Erlend Egeberg Aasland
c9986be733
[3.11] gh-95273: Improve documented return values and exceptions raised for sqlite3 class methods (GH-95530) ( #95673 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
(cherry picked from commit 12d92c733c )
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-08-04 22:13:22 +02:00
Miss Islington (bot)
6d83441442
gh-95656: Enable the sqlite3 load extension API in Windows build (GH-95662)
...
(cherry picked from commit 6a5104f4fa )
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-08-04 12:53:21 -07:00
Miss Islington (bot)
33de1863fd
Docs: fix two typos in the sqlite3 docs (GH-95661)
...
- statment => statement
- transaciton => transaction
(cherry picked from commit 962acd4468 )
Co-authored-by: ceh <emil@hessman.se>
2022-08-04 11:35:45 -07:00
Miss Islington (bot)
f5011dfaa2
gh-95587: Fixes some upgrade detection issues in the Windows installer (GH-95631)
...
(cherry picked from commit 5b6acbaa20 )
Co-authored-by: Steve Dower <steve.dower@python.org>
2022-08-04 09:40:57 -07:00
Miss Islington (bot)
5ac3d0f573
gh-91323: Revert "Allow overriding a future compliance check in asyncio.Task (GH-32197)" (GH-95442) (GH-95652)
...
This reverts commit d4bb38f82b .
(cherry picked from commit 0342c93a6b )
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2022-08-04 18:07:39 +02:00
Miss Islington (bot)
2d84fe59c0
GH-95289: Always call uncancel() when parent cancellation is requested (GH-95602)
...
Co-authored-by: Guido van Rossum <guido@python.org>
(cherry picked from commit 2fef27589e )
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-08-04 07:50:54 -07:00
Miss Islington (bot)
f2926358d1
gh-94936: C getters: co_varnames, co_cellvars, co_freevars (GH-95008)
...
(cherry picked from commit 42b102bbf9 )
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2022-08-04 07:16:52 -07:00
Miss Islington (bot)
c521c5cdc3
gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642)
...
It updates links which redirect to HTTPS with different authority or
path.
(cherry picked from commit d0d0154443 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-08-04 06:15:11 -07:00
Mark Shannon
312dab29a3
Revert "[3.11] GH-92678: Expose managed dict clear and visit functions (GH-95246). ( #95256 )" ( #95647 )
...
This reverts commit 7f73194339 .
2022-08-04 13:03:07 +01:00
Mark Shannon
2ab560105b
GH-92678: Fix tp_dictoffset inheritance. (GH-95596) (GH-95604)
...
* 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.
2022-08-04 12:21:38 +01:00
Serhiy Storchaka
d8df7e0207
[3.11] gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527) (GH-95643)
...
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..
(cherry picked from commit f79547a429 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-08-04 11:45:03 +03:00
Miss Islington (bot)
390c80d2c4
gh-95638: Update idlelib README file and menu lists (GH-95639)
...
(cherry picked from commit 621b33ce25 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-04 01:01:55 -07:00
Miss Islington (bot)
b56a80ec62
gh-95191: IDLE Prompts entry for What's New 3.10 (GH-95633)
...
(cherry picked from commit bcc74d509a )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-03 19:25:36 -07:00
Miss Islington (bot)
dc5fecbf83
gh-95191: IDLE Prompts entry for Whatnew 3.11 (GH-95632)
...
(cherry picked from commit c569526fac )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-03 18:04:07 -07:00
Miss Islington (bot)
1bd1e379de
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>
(cherry picked from commit fe23c0061d )
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
2022-08-03 16:45:19 -07:00
Miss Islington (bot)
3132318ce3
[3.11] [Enum] add whatsnew entries (GH-95455) (GH-95620)
...
(cherry picked from commit 6bde34000d )
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2022-08-03 16:42:12 -07:00
Miss Islington (bot)
2c0017b5e6
gh-94399: Restore PATH search behaviour of py.exe launcher for '/usr/bin/env' shebang lines (GH-95582)
...
(cherry picked from commit 67840edb28 )
Co-authored-by: Steve Dower <steve.dower@python.org>
2022-08-03 15:00:46 -07:00
Miss Islington (bot)
450ee4f791
gh-90817: Use .. deprecated-removed:: when removal version known (GH-94960)
...
(cherry picked from commit dc2757accd )
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-08-03 14:56:16 -07:00
Miss Islington (bot)
1ed023b7c0
gh-95597: Fix typo in Lib directory files (GH-95599)
...
(cherry picked from commit b53aed76d2 )
Co-authored-by: Jo, Yunjin <black33jo@gmail.com>
2022-08-03 14:43:01 -07:00
Steve Dower
1016df0a23
gh-95423: Update winreg.DeleteKeyEx documentation and remove dynamic function load (GH-95521)
...
Co-authored-by: Derek Kim <ddkim1024@gmail.com>
2022-08-03 22:25:47 +01:00
Miss Islington (bot)
a591c4701c
gh-91207: Fix CSS bug in Windows CHM help file and add deprecation message (GH-95607)
...
(cherry picked from commit ac3bf6155f )
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-03 13:43:14 -07:00
Miss Islington (bot)
8d09626066
gh-95273: Align sqlite3 const doc refs with the devguide recommendations (GH-95525)
...
(cherry picked from commit 4d02572f8c )
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-08-03 13:28:38 -07:00
Miss Islington (bot)
5bc2c3a6d0
gh-95609: update bundled pip to 22.2.2 (gh-95610)
...
(cherry picked from commit 3d9d45b22c )
Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
2022-08-03 12:52:38 -07:00
Miss Islington (bot)
72cad6cfe5
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>
(cherry picked from commit e3b6ff19aa )
Co-authored-by: Christian Heimes <christian@python.org>
2022-08-02 12:13:07 -07:00
Miss Islington (bot)
698b52c879
gh-95233: Correct grp.getgrgid parameter name in documentation (gid -> id) (gh-95232)
...
(cherry picked from commit df7c8b9537 )
Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
2022-08-02 08:02:14 -07:00
Miss Islington (bot)
eff6778899
[3.11] gh-95516: Add param types and clarify param descriptions of LogRecord (GH-95517) (GH-95566)
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-02 10:54:49 +01:00
Miss Islington (bot)
8570f6d1a0
gh-95191: IDLE: Include prompts when saving Shell GH-95554 ( #95557 )
...
(cherry picked from commit b85411fc5e )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-02 02:14:19 -04:00
Miss Islington (bot)
118851b8ba
gh-83270: Update IDLE's credits (GH-95528)
...
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 698fa8bf60 )
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-08-01 21:54:28 -07:00
Miss Islington (bot)
5f139e5044
gh-92219: Clarify that some options to the installer may break the install (GH-95548)
...
(cherry picked from commit d2c1a9c76c )
Co-authored-by: Steve Dower <steve.dower@python.org>
2022-08-01 17:06:22 -07:00
Miss Islington (bot)
b12dba40ff
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.htmlGH-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 GH-91447.
Automerge-Triggered-By: GH:gvanrossum
(cherry picked from commit a95e60db74 )
Co-authored-by: Eugene Triguba <eugenetriguba@gmail.com>
2022-08-01 14:22:33 -07:00
Miss Islington (bot)
7baca3c05e
GH-95150: Use position and exception tables for code hashing and equality (GH-95509)
...
(cherry picked from commit c7e5bbaee8 )
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
2022-08-01 11:33:49 -07:00
Miss Islington (bot)
76d83b1dfe
gh-95173: Add a regression test for sorting tuples containing None (GH-95464)
...
(cherry picked from commit c0cd790219 )
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
2022-08-01 09:29:57 -07:00
Miss Islington (bot)
3192fd7683
gh-95445: Ensure Windows msi uninstalls document folder successfully (GH-95465)
...
(cherry picked from commit 7d8973870b )
Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
2022-08-01 09:07:24 -07:00
Christian Heimes
e62a0dfab2
[3.11] gh-95174: Add pthread stubs for WASI (GH-95234) ( #95503 )
...
Co-authored-by: Brett Cannon <brett@python.org>.
(cherry picked from commit 0fe645d6fd )
Co-authored-by: Christian Heimes <christian@python.org>
2022-08-01 15:37:45 +01:00
Christian Heimes
9af9ea28e7
[3.11] gh-95415: Make availability directive consistent (GH-95416) (GH-95438)
...
Co-authored-by: Christian Heimes <christian@python.org>
2022-08-01 14:26:19 +02:00
Miss Islington (bot)
ad2872f5fd
gh-95273: Clarify when sqlite_* attributes are added to sqlite3 exceptions (GH-95523)
...
(cherry picked from commit 1e6b63542e )
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-08-01 02:22:09 -07:00
Miss Islington (bot)
e4541c474a
gh-95511: IDLE - fix Shell context menu copy-with-prompts bug (GH-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.)
(cherry picked from commit fc31a13dc1 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-07-31 22:32:33 -07:00
Miss Islington (bot)
a4cda28f7b
bpo-42037: Corrected request dependencies in CookieJar functions (GH-23112)
...
(cherry picked from commit d29e279de3 )
Co-authored-by: markus-sus <73822103+markus-sus@users.noreply.github.com>
2022-07-31 19:49:47 -07:00
Miss Islington (bot)
ab444b7fc6
IDLE: Fix docs URL in the About window (GH-28417)
...
(cherry picked from commit 0f17a754d9 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-07-31 14:11:35 -07:00
Christian Heimes
06b5f78d64
[3.11] gh-95174: WASI: skip missing sockets functions (GH-95179) (GH-95308)
...
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2022-07-31 18:19:32 +02:00
Miss Islington (bot)
147a9a8be7
bpo-45445: Revert "bpo-45445: Fail if an invalid X-option is provided in the command line (GH-28823)" (GH-94745)
...
(cherry picked from commit aa37ffda29 )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2022-07-31 08:58:02 -07:00
Christian Heimes
db13c0c1b8
[3.11] gh-95174: Handle missing dup() and constants in WASI (GH-95229) (GH-95272)
...
Co-authored-by: Christian Heimes <christian@python.org>
2022-07-31 16:39:41 +01:00
Erlend Egeberg Aasland
c7ac8b6588
[3.11] gh-94635: Add Reference, How-to, and Explanation headings to sqlite3 docs (GH-94636) ( #95482 )
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>.
(cherry picked from commit 6c439b978b )
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* Fix refs
2022-07-31 08:48:13 +02:00
Miss Islington (bot)
3ca0016939
gh-95471: IDLE - Tweak Edit menu (GH-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.
(cherry picked from commit 53357b3ee5 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-07-30 18:34:04 -07:00
Miss Islington (bot)
cfef4df7ce
gh-90654: IDLE - Insert blank line in NEWS.txt (GH-95478)
...
Needed for backports.
(cherry picked from commit 9ec6abf6dc )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-07-30 13:24:13 -07:00
Miss Islington (bot)
bd6452a3a8
gh-94938: Fix test (GH-95396)
...
(cherry picked from commit 0956b6d9c4 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-07-29 23:39:54 -07:00
Miss Islington (bot)
a459ee9543
gh-95411: IDLE - Enable using the module browser with .pyw files (GH-95397)
...
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 7e19e417b5 )
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-07-29 22:09:32 -07:00
Miss Islington (bot)
1187efeebb
gh-95273: Relocate sqlite3 enable load extension note (GH-95430)
...
(cherry picked from commit d92b19e1b5 )
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-07-29 12:38:12 -07:00
Miss Islington (bot)
30ca6914c7
gh-95432: Fixup sqlite3 tutorial example (GH-95431)
...
- the insert statement should have five placeholders, not four
- missing ... in the multiline row list
(cherry picked from commit 2fbee85931 )
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-07-29 05:41:46 -07:00