Commit graph

47773 commits

Author SHA1 Message Date
Miss Islington (bot)
230b630a76
gh-78143: IDLE - fix settings dialog page label. (GH-96009)
'/Tab' should have been removed from the font page label
when the tab-spaces setting was moved to the Windows page.
(cherry picked from commit f6b811059a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-15 16:25:10 -07:00
Shantanu
9fbc81760e
[3.10] gh-94996: Disallow lambda pos only params with feature_version < (3, 8) (GH-95934) (GH-95938)
(cherry picked from commit a965db37f2)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>

Automerge-Triggered-By: GH:lysnikolaou
2022-08-12 12:47:07 -07:00
Shantanu
a92c2d6eb5
[3.10] gh-94996: Disallow parsing pos only params with feature_version < (3, 8) (GH-95935)
(cherry picked from commit b5e3ea2862)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>

Automerge-Triggered-By: GH:lysnikolaou
2022-08-12 12:03:44 -07:00
Miss Islington (bot)
bfaa071e1c
gh-95841: IDLE - Revise Windows local doc url (GH-95845)
GH-91242 replaced the Windows chm help file with a copy
of the html docs.  This PR replaces the IDLE code that
fetches the Windows local help url passed to os.startfile.
Co-authored-by: Steve Dower
(cherry picked from commit bdb2cf8e91)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-11 14:35:36 -07:00
Miss Islington (bot)
2579c4954f
gh-84910: Change 'IDLE Help' to 'IDLE Doc' (GH-95873)
'IDLE Help' was a plain text file.  It was superceded years ago
by a copy of the much more complete html doc.  .
(cherry picked from commit 05a0f37029)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-11 14:17:11 -07:00
Miss Islington (bot)
b11895e3e7
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.
(cherry picked from commit 3ff6d9affb)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
2022-08-10 17:15:53 -07:00
Miss Islington (bot)
b4f968e094
gh-95605: Fix float(s) error message when s contains only whitespace (GH-95665) (GH-95859)
This PR fixes the error message from float(s) in the case where s contains only whitespace.
(cherry picked from commit 97e9cfa75a)

Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
2022-08-10 19:57:55 +01:00
Miss Islington (bot)
64abb73354
gh-75500: Add idlelib section to IDLE doc (GH-95832)
This enables accessing IDLE as 'idlelib' in the Doc Module listing.
(cherry picked from commit 70fc9641b5)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-09 12:33:37 -07:00
Miss Islington (bot)
a9c25cdd0d
[3.11] gh-88878: IDLE - replace type('') with str (GH-95792)
Change in idlelib.browser, line 54
cherrypicked from 3680ebed7f
(cherry picked from commit 1a22ec5d69)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-09 11:10:00 -07:00
Serhiy Storchaka
da4aae29f8
[3.10] gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650). (GH-95786)
(cherry picked from commit cc9160a29b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-08-08 18:09:06 +03:00
Miss Islington (bot)
6d1919009f
gh-95491: Mention IDLE Issue project in Readme (GH-95750)
(cherry picked from commit 63140b445e)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-08 07:03:23 -07:00
Miss Islington (bot)
f05a0f48e8
gh-95376: Add test for names containing null (GH-GH-5394) (GH-95747)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
(cherry picked from commit a17cd47b61)

Co-authored-by: Sion Kang <31057849+Yaminyam@users.noreply.github.com>
2022-08-06 19:32:27 +02:00
Miss Islington (bot)
9278fc4e27
gh-95395: Add argument type error test (GH-95412) (GH-95745)
(cherry picked from commit 4703c15811)

Co-authored-by: Sion Kang <31057849+Yaminyam@users.noreply.github.com>
2022-08-06 19:30:29 +02:00
Miss Islington (bot)
9a23f582ee
Fix typo in test_dataclasses.py (gh-95735)
`dataclass` was called as a function when it was almost certainly intended to be a decorator.
(cherry picked from commit 59e09efe88)

Co-authored-by: da-woods <dw-git@d-woods.co.uk>
2022-08-06 09:16:01 -07:00
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
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
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
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)
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
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
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
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
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
Ł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)
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
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
Miss Islington (bot)
b77c403ed5
gh-95280: Fix test_get_ciphers on systems without RSA key exchange (GH-95282)
(cherry picked from commit 565403038b)

Co-authored-by: Christian Heimes <christian@python.org>
2022-07-27 00:43:12 -07:00
Miss Islington (bot)
f118661a18
gh-95291: Use import helper to improve sqlite3 audit tests (GH-95292)
Now the tests are correctly reported as skipped if sqlite3 is not available.
(cherry picked from commit 152eb90311)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-07-26 12:40:59 -07:00
Miss Islington (bot)
94eb1e9789
gh-95087: Fix IndexError in parsing invalid date in the email module (GH-95201)
Co-authored-by: wouter bolsterlee <wouter@bolsterl.ee>
(cherry picked from commit ea5ed0ba51)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-07-24 23:39:00 -07:00
Miss Islington (bot)
40f41ba5f4
gh-95212: make multiprocessing test case parallel-safe (GH-95213)
(cherry picked from commit 5956de16cd)

Co-authored-by: Christian Heimes <christian@python.org>
2022-07-24 22:11:41 -07:00
Miss Islington (bot)
6d332a6cfa
gh-95199: upgrade bundled setuptools to 63.2.0 (gh-95200)
(cherry picked from commit 3c94d3395e)

Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
2022-07-24 04:43:05 -07:00
Miss Islington (bot)
227a1973d5
gh-95194: upgrade bundled pip to 22.2 (gh-95195)
upgrade bundled pip to 22.2
(cherry picked from commit 068ffafa54)

Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
2022-07-24 03:18:33 -07:00
Miss Islington (bot)
4a682b4f1a
gh-93157: Fix fileinput didn't support errors in inplace mode (GH-95128)
(cherry picked from commit 5c7f3bcdaf)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2022-07-23 20:02:40 -07:00
Miss Islington (bot)
cbe3ad51ed
gh-94844: Add pathlib support to shutil archive management (GH-94846)
Co-authored-by: Barney Gale <barney.gale@gmail.com>
(cherry picked from commit ed4441567e)

Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
2022-07-20 09:24:33 -07:00
Terry Jan Reedy
1c3b2fe0fa
[3.10] gh-90654: Update maintenance NEWS header (#94355) 2022-07-20 04:16:42 -04:00
Miss Islington (bot)
28478c7a0b
gh-90654: Add item missing from idlelib/NEWS.txt (GH-95038)
(cherry picked from commit acb105a7c1)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-07-20 00:42:36 -07:00
Miss Islington (bot)
31a390e43f
[3.10] gh-94930: skipitem() in getargs.c should return non-NULL on error (GH-94931) (GH-94963)
(cherry picked from commit 067f0da335)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-07-19 21:57:59 +03:00
Erlend Egeberg Aasland
374afb4a4e
[3.10] gh-94998: Remove incorrectly backported Lib/test/test_sqlite3 directory (#95016) 2022-07-19 20:26:38 +02:00
Miss Islington (bot)
2d79804bb0
GH-91153: Handle mutating __index__ methods in bytearray item assignment (GH-94891)
(cherry picked from commit f36589510b)

Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com>
2022-07-19 10:04:47 -07:00
Shantanu
906b345ddd
[3.10] gh-94949: Disallow parsing parenthesised ctx mgr with old feature_version (GH-94950) (#94990)
(cherry picked from commit 0daba82221)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2022-07-19 07:24:48 +01:00
Miss Islington (bot)
96e15167b0
test_concurrent_futures: Fix unneeded/confusing format call (GH-93119)
Added in 339fd46cb7 - but as noted in a comment, the test only tests ThreadPoolExecutor.
(cherry picked from commit 3f2dd0a7c0)

Co-authored-by: Florian Bruhin <me@the-compiler.org>
2022-07-18 19:38:05 -07:00
Shantanu
dda9198021
[3.10] gh-94947: Disallow parsing walrus with feature_version < (3, 8) (GH-94948) (#94969)
* gh-94947: Disallow parsing walrus with feature_version < (3, 8)

* oops, commit the parser

* 📜🤖 Added by blurb_it.

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>.
(cherry picked from commit ae0be5a53b)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2022-07-18 20:43:23 +01:00