Commit Graph

111979 Commits

Author SHA1 Message Date
Miss Islington (bot) 426bf7bbf9
gh-95251: IDLE - Add What's New section to README (GH-95688)
Document what I (TJR) currently do for 3.10/3.11.

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
(cherry picked from commit a302a27489)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-05 14:43:53 -07:00
Miss Islington (bot) 7c711aecf6
gh-89362: Doc IDLE menu and search (GH-95697)
Update menu item position and capitalization.
Add paragraph about search.
For help.html, include save-as addition.
(cherry picked from commit 834064c19a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-05 09:51:53 -07:00
Petr Viktorin b66b6e1cc0
gh-91271: Document which parts of structs are in limited API/stable ABI (GH-32196) (GH-95711)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2022-08-05 17:30:51 +02:00
Miss Islington (bot) 57446f9e33
bpo-42037: Corrected request dependencies in CookieJar functions (GH-23112) (GH-95515)
(cherry picked from commit d29e279de3)

Co-authored-by: markus-sus <73822103+markus-sus@users.noreply.github.com>
2022-08-05 10:20:29 +02:00
Miss Islington (bot) 9e859e1258
GH-95685: Fix rendering of the string documentation (GH-95686) (GH-95701)
There's an extra underlines that messed the rest of the documentation rendering.

Closes #95685
(cherry picked from commit a525f2ada4)

Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
2022-08-05 09:58:17 +02:00
Miss Islington (bot) 2351593319
gh-65802: IDLE - explain SaveAs and extensions (GH-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.
(cherry picked from commit 9890f86ae2)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-04 23:26:26 -07:00
Erlend Egeberg Aasland c57666586b
[3.10] Docs: sqlite3 docs fixup (GH-95681) (#95684)
- Disable links to the module itself
- Consistent ref markup

(cherry picked from commit 44f1f63ad5)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-08-05 06:41:09 +02:00
Erlend Egeberg Aasland 54ea127923
[3.10] gh-95271: Extract placeholders howto from sqlite3 tutorial (GH-95522) (#95678)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
(cherry picked from commit b24e8b28a7)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-08-04 22:53:51 +02:00
Erlend Egeberg Aasland 4a204c1486
[3.10] gh-95273: Improve documented return values and exceptions raised for sqlite3 class methods (GH-95530) (#95674)
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:14:02 +02:00
Miss Islington (bot) f6b1c5e454
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:34:37 -07:00
Miss Islington (bot) be30a6dc4d
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:01 -07:00
Serhiy Storchaka 54d4b4d992
[3.10] gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527) (GH-95644)
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 12:19:44 +03:00
Miss Islington (bot) c5916a034a
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:05:20 -07:00
Miss Islington (bot) b6503fa795
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:27:16 -07:00
Shantanu a05dae2348
[3.10] gh-91423: Remove bugs.python.org from bugs.rst (GH-91425) (#95615)
* Remove bugs.python.org from bugs.rst

* Update bugs.rst to the github issue tracker

* reflow

* Fix a typo and rephrase a sentence.

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
(cherry picked from commit df81d2892e)

Co-authored-by: roy reznik <royreznik@gmail.com>

Co-authored-by: roy reznik <royreznik@gmail.com>
2022-08-04 00:39:51 +02:00
Steve Dower 76d29a8ae8
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:52:15 +01:00
Miss Islington (bot) f6c46b4852
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:50:10 -07:00
Erlend Egeberg Aasland ac005ea860
[3.10] gh-95273: Align sqlite3 const doc refs with the devguide recommendations (GH-95525). (#95618)
(cherry picked from commit 4d02572f8c)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-08-03 23:04:35 +02:00
Miss Islington (bot) 72e4afdc8a
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 13:11:41 -07:00
CAM Gerlach 7c5f13f391
gh-91207: Override stylesheet fingerprinting when building for HTML Help (GH-95556) 2022-08-02 20:04:12 +01:00
Miss Islington (bot) 8a7bf2d28c
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:33 -07:00
Miss Islington (bot) 8e1952aaaf
gh-92219: Clarify that some options to the installer may break the install (GH-95548) (#95550)
(cherry picked from commit d2c1a9c76c)

Co-authored-by: Steve Dower <steve.dower@python.org>
2022-08-02 15:06:15 +02:00
Miss Islington (bot) a1579ade9c
gh-95516: Add param types and clarify param descriptions of LogRecord (GH-95517) (#95565)
(cherry picked from commit 75a6441718)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-02 15:05:46 +02:00
Miss Islington (bot) 654d62adc6
gh-95191: IDLE: Include prompts when saving Shell GH-95554 (#95558)
(cherry picked from commit b85411fc5e)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-02 13:17:50 +02:00
Miss Islington (bot) b0c3825557
gh-83270: Update IDLE's credits (GH-95528) (#95560)
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-02 13:16:33 +02:00
Pablo Galindo ee2f45a061
Post 3.10.6 2022-08-02 11:05:09 +01:00
Pablo Galindo 9c7b4bd164
Python 3.10.6 2022-08-01 21:25:27 +01:00
Miss Islington (bot) 4eab100e0d
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:25:56 -07:00
Miss Islington (bot) 03fed0ade4
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:09:11 -07:00
Thomas Klausner ae24962457
[3.10] bpo-46053: Fix OSS audio support on NetBSD (GH-30065). (GH-95477)
(cherry picked from commit 2e7e3c4c10)

Co-authored-by: Thomas Klausner <tk@giga.or.at>
2022-07-31 11:19:09 +03:00
Erlend Egeberg Aasland 6765a784a7
[3.10] gh-94635: Add Reference, How-to, and Explanation headings to sqlite3 docs (GH-94636) (#95483)
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:47:53 +02:00
Miss Islington (bot) 356ed4c8ce
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:32:47 -07:00
Terry Jan Reedy bfed0ae8c0
[3.10] gh-90654: IDLE - Insert blank line in NEWS.txt (#95479)
Needed for backports.

Cherrypicked from 9ec6abf6dc
2022-07-30 15:59:39 -04:00
Miss Islington (bot) 0579a187df
gh-94938: Fix test (GH-95396)
(cherry picked from commit 0956b6d9c4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-07-29 23:38:28 -07:00
Miss Islington (bot) fa7904cb52
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:05:48 -07:00
Miss Islington (bot) f14ced6062
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:36:58 -07:00
Miss Islington (bot) 3417ce3489
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:38:08 -07:00
Łukasz Langa 18418858b2
[3.10] gh-95166: cancel map waited on future on timeout (GH-95169) (GH-95375)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-07-29 14:36:58 +02:00
Miss Islington (bot) a41b51d2ea
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:00:29 -07:00
Miss Islington (bot) 2278dc7442
gh-95273: Condense sqlite3 executescript example (GH-95383) (#95419)
(cherry picked from commit e9c8de669d)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2022-07-29 10:44:29 +02:00
Miss Islington (bot) f59a5c5363
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:48:55 -07:00
Miss Islington (bot) 5632c98f4a
Improve documentation for adding datetime and timedelta (gh-95403) (gh-95409)
(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:15:24 -04:00
Miss Islington (bot) b9b70dd4de
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:39:02 -07:00
Miss Islington (bot) 196523f32b
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:48:19 -07:00
Miss Islington (bot) 4513e4aba8
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:45:01 -07:00
Miss Islington (bot) dcb6fa8099
Docs: Fix refs & tweak wording in sqlite3 'Using shortcut methods' (#95358)
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:20 +02:00
Kumar Aditya 4ad222991f
[3.10] GH-93899: fix checks for eventfd flags (GH-95170). (#95345)
(cherry picked from commit 4dd099baff)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-07-28 12:24:47 +02:00
Serhiy Storchaka 563f0584c9
[3.10] gh-94938: Fix errror detection of unexpected keyword arguments (GH-94999) (GH-95354)
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:52:00 +03:00
Miss Islington (bot) fb422147d3
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:30 -07:00
Erlend Egeberg Aasland 2ef7a72682
[3.10] gh-95273: Normalise sqlite3 reference wording (GH-95274) (#95330)
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 15:42:59 +02:00