Commit graph

111710 commits

Author SHA1 Message Date
Erlend E. Aasland
eb182fe9eb
[3.10] Docs: Escape lone stars in sqlite3 docs (GH-96081). (#96085)
(cherry picked from commit 91afe66707)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-18 22:27:51 +02:00
Miss Islington (bot)
882dd9fe0d
gh-95271: Rework sqlite3 tutorial (GH-95749)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
(cherry picked from commit c87ea10fc9)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-18 11:44:58 -07:00
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
Miss Islington (bot)
a372a7d653
gh-94439: typing docs: Add minimum version to __required_keys__ and __optional_keys__ (GH-95373)
(cherry picked from commit f235178bec)

Co-authored-by: Howie Zhao <howiezhaohr@hotmail.com>
2022-08-12 21:31:51 -07:00
Miss Islington (bot)
83bde57f6e
Fix typo in internal/pycore_atomic.h (GH-95939)
(cherry picked from commit 8281cbddc6)

Co-authored-by: fluesvamp <105884371+fluesvamp@users.noreply.github.com>
2022-08-12 21:05:37 -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)
44bf05ed0c
gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10 (GH-95346) (GH-95930)
(cherry picked from commit 50bf5fafcc)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-08-12 19:03:37 +02:00
Miss Islington (bot)
e21574a823
gh-92412: Clarify the documentation on library/syslog (GH-92587) (GH-95266)
(cherry picked from commit b7ce4625fe)

Co-authored-by: Nicolas Haller <nicolas@haller.im>
2022-08-12 18:19:08 +02:00
Julian Maurin
345daea076
[3.10] gh-95789: update documentation RFC base URL (GH-95800)
* pythongh-95789: update documentation RFC base URL

* 📜🤖 Added by blurb_it.

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
2022-08-12 18:15:45 +02:00
Erlend E. Aasland
75299dcab5
[3.10] gh-95273: Improve sqlite3.complete_statement docs (GH-95840) (#95918)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>.
(cherry picked from commit e6623e7083)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-12 09:37:45 +02: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
Christian Heimes
2a6b67f1c5
[3.10] gh-95876: Fix format string in pegen error location code (GH-95877 (GH-95901)
(cherry picked from commit b4c857d0fd)

Co-authored-by: Christian Heimes <christian@python.org>
2022-08-11 12:41:35 -07:00
Miss Islington (bot)
9c04e25308
gh-95878: Fix format char in datetime CAPI tests (GH-95879)
(cherry picked from commit 8b34e914bb)

Co-authored-by: Christian Heimes <christian@python.org>
2022-08-11 11:06:48 -07:00
Miss Islington (bot)
759227f7e9
gh-75510: Edit idlelib entry in doc (GH-95869)
Make section instead of subsection and revise sentence.
(cherry picked from commit 9af4aed73a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-10 20:03:01 -07:00
Miss Islington (bot)
fe5cc63cd7
gh-84910: Tweak IDLE Glossary entry (GH-95866)
Link "IDLE" to its doc and add 'and Learning' to its expansion,
as in the doc.
(cherry picked from commit 3646f6cd88)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-10 19:15:03 -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)
346aa78af4
Fix documentation typo for functools.cmp_to_key (GH-95766) (#95777) 2022-08-10 00:40:15 -05: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
Miss Islington (bot)
d57d86a591
gh-95767: Fix grammatical error in asyncio loop.create_task docs (GH-95768)
(cherry picked from commit 141f2517fc)

Co-authored-by: Andrzej Bartosiński <6197476+Neob91@users.noreply.github.com>
2022-08-09 07:07:21 -07:00
Erlend E. Aasland
49e505c4bd
[3.10] gh-95273: Reorganize sqlite3 doc module level funcs and vars (GH-95626) (#95803)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>.
(cherry picked from commit 41c939cb35)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-08 22:08:43 +02: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)
255f7ded77
gh-94635: Fixup sqlite3 'Introduction' seealso note (GH-95751)
In gh-95269, the seealso note incorrectly ended up in
the 'Tutorial' section.
(cherry picked from commit 56af5a200d)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-06 14:38:18 -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)
32b71ffbdb
gh-95155: Update "Using Python on a Mac" documentation (GH-95284) (GH-95743)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit d25ff1f613)

Co-authored-by: Howie Zhao <howiezhaohr@hotmail.com>
2022-08-06 19:15:32 +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
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