Commit graph

113954 commits

Author SHA1 Message Date
Miss Islington (bot)
731732aa8b
gh-95878: Fix format char in datetime CAPI tests (GH-95879) (#95885)
(cherry picked from commit 8b34e914bb)

Co-authored-by: Christian Heimes <christian@python.org>

Co-authored-by: Christian Heimes <christian@python.org>
2022-08-11 12:46:14 +01:00
Miss Islington (bot)
1221e8c400
gh-95876: Fix format string in pegen error location code (GH-95877)
(cherry picked from commit b4c857d0fd)

Co-authored-by: Christian Heimes <christian@python.org>
2022-08-11 02:19:20 -07:00
Miss Islington (bot)
209f2a7b45
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:02:09 -07:00
Miss Islington (bot)
599b6ffb0d
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:13:33 -07:00
Miss Islington (bot)
5c829436d2
[docs] Mention RESUME opcode in whatsnew/3.11.rst (GH-95595) (GH-95851)
(cherry picked from commit cf28540fd3)

Co-authored-by: esc <esc@users.noreply.github.com>
2022-08-10 13:01:19 +02:00
Miss Islington (bot)
2c4bd21630
gh-95349: Hide a Distutils Warning Filter for test_check_c_globals (GH-95837) (GH-95843)
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 12:57:32 +02:00
Miss Islington (bot)
a42215c7e1
gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650) (GH-95780)
(cherry picked from commit cc9160a29b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-08-10 12:55:50 +02:00
Miss Islington (bot)
25d0a81e62
[docs] Fix typo for functools.cmp_to_key (GH-95766)
(cherry picked from commit f83b0cabeb)

Co-authored-by: Andrzej Bartosiński <6197476+Neob91@users.noreply.github.com>
2022-08-10 12:54:57 +02:00
Miss Islington (bot)
c6aa68fdf5
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:23 -07:00
Terry Jan Reedy
1a22ec5d69
[3.11] gh-88878: IDLE - replace type('') with str (#95792)
Change in idlelib.browser, line 54
cherrypicked from 3680ebed7f
2022-08-09 13:42:16 -04:00
Miss Islington (bot)
77fccc29df
gh-95491: Mention IDLE Issue project in Readme (GH-95750) (#95791)
(cherry picked from commit 63140b445e)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-09 13:38:36 -04:00
Miss Islington (bot)
c96b26cb06
GH-92678: Document that you shouldn't be doing your own dictionary offset calculations. (GH-95598) (GH-95821)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Co-authored-by: Mark Shannon <mark@hotpy.org>
2022-08-09 16:22:54 +01:00
Miss Islington (bot)
2d36d5e2d7
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:09:49 -07:00
Miss Islington (bot)
88cae1c9c6
gh-94635: Fixup sqlite3 'Introduction' seealso note (GH-95751) (#95752)
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-09 13:48:08 +02:00
Erlend E. Aasland
d7a6a97806
[3.11] gh-95273: Reorganize sqlite3 doc module level funcs and vars (GH-95626) (#95801)
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-09 13:47:15 +02:00
Miss Islington (bot)
514ec82031
Fix typo in test_dataclasses.py (gh-95735) (gh-95740)
`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>

Co-authored-by: da-woods <dw-git@d-woods.co.uk>
2022-08-09 07:46:20 -04:00
Pablo Galindo
868fb9e269
Merge remote-tracking branch 'upstream/3.11' into 3.11 2022-08-08 14:08:40 +01:00
Pablo Galindo
19eed66d2b
Post 3.11.0rc1 2022-08-08 14:07:31 +01:00
Miss Islington (bot)
6dffb5f1cf
gh-95376: Add test for names containing null (GH-GH-5394) (#GH-5746)
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:31:58 +02:00
Miss Islington (bot)
08510324db
gh-95395: Add argument type error test (GH-95412) (GH-95744)
(cherry picked from commit 4703c15811)

Co-authored-by: Sion Kang <31057849+Yaminyam@users.noreply.github.com>
2022-08-06 19:30:46 +02:00
Miss Islington (bot)
96c1f013b3
gh-95155: Update "Using Python on a Mac" documentation (GH-95284) (GH-95742)
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:48 +02:00
Miss Islington (bot)
11f7d41ccf
gh-89362: Doc IDLE menu and search (GH-95697) (GH-95718)
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-06 19:01:10 +02:00
Miss Islington (bot)
1f48913db3
gh-95251: IDLE - Add What's New section to README (GH-95688) (GH-95726)
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-06 18:55:49 +02:00
Pablo Galindo
41cb07120b
Python 3.11.0rc1 2022-08-05 15:45:18 +01:00
Miss Islington (bot)
d6cf9e4a3e
[3.11] Update the magic number in test_util.py (GH-95714) (#95716)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2022-08-05 15:43:10 +01:00
Miss Islington (bot)
96555cb2fa
[3.11] Remove draft notice from 3.11 What's new (GH-95713) (#95715)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2022-08-05 15:41:45 +01:00
Miss Islington (bot)
954b8875a0
gh-95573: Reduce test data size in test_asyncio/test_ssl.py (GH-95668) (GH-95705)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 3a9e1fda7a)

Co-authored-by: Fantix King <fantix.king@gmail.com>
2022-08-05 11:23:57 +02:00
Shantanu
6a36b8e586
[3.11] Clarifying the documentation on library/syslog (GH-92587) (GH-95492)
(cherry picked from commit b7ce4625fe)

Co-authored-by: Nicolas Haller <nicolas@haller.im>
2022-08-05 10:18:44 +02:00
Miss Islington (bot)
0e636e4e7b
gh-95573: Fix a mistake in asyncio ssl tests suppressing all logs (GH-95687) (GH-95699)
(cherry picked from commit e1d68b3ce7)

Co-authored-by: Fantix King <fantix.king@gmail.com>
2022-08-05 10:07:15 +02:00
Miss Islington (bot)
82328126b4
GH-95685: Fix rendering of the string documentation (GH-95686) (GH-95700)
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:40 +02:00
Miss Islington (bot)
07d97c9e5d
GH-90997: Document CACHEs (GH-95694) (GH-95696)
(cherry picked from commit 5f3c9fda18)

Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
2022-08-05 09:42:49 +02:00
Miss Islington (bot)
4512a160d0
gh-65802: IDLE - explain SaveAs and extensions (GH-95690) (GH-95692)
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-05 09:42:21 +02:00
Erlend Egeberg Aasland
7dc0dafdf0
[3.11] Docs: sqlite3 docs fixup (GH-95681) (GH-95683)
- Disable links to the module itself
- Fix link indent
- Consistent ref markup.
(cherry picked from commit 44f1f63ad5)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-08-05 09:41:54 +02:00
Pablo Galindo Salgado
cb02dc0872
[3.11] gh-92678: Correct return values for errors in PyInit__testcapi (#95664) 2022-08-04 22:44:06 +01:00
Erlend Egeberg Aasland
4d37b42295
[3.11] gh-95271: Extract placeholders howto from sqlite3 tutorial (GH-95522) (#95677)
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 23:02:28 +02:00
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