Miss Islington (bot)
d00a9e0176
gh-95337: update TypeVarTuple example (GH-95338)
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
(cherry picked from commit 07f12b5c15 )
Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
2022-08-30 08:06:19 -07:00
Miss Islington (bot)
a1671a97d3
gh-95413: Remove references to deprecated CGI library (GH-95414)
...
(cherry picked from commit b17aae8bbd )
Co-authored-by: partev <petrosyan@gmail.com>
2022-08-30 04:22:19 -07:00
Miss Islington (bot)
d9d0d097a2
Docs: Improve clarity for bytes.hex() (GH-95257)
...
(cherry picked from commit 860fa35145 )
Co-authored-by: Tim Burke <tim.burke@gmail.com>
2022-08-30 04:18:30 -07:00
Miss Islington (bot)
8e2d347183
[3.11] gh-91305: Add a note about DatagramHandler and DNS latency. (GH-96380) (GH-96401)
2022-08-30 09:58:37 +01:00
Miss Islington (bot)
53a344ef80
Doc: Update Py_TPFLAGS_HAVE_FINALIZE in docs (GH-96273)
...
It is now deprecated and the docs should reflect that.
(cherry picked from commit 9625de6fab )
Co-authored-by: da-woods <dw-git@d-woods.co.uk>
2022-08-30 01:38:40 -07:00
Miss Islington (bot)
4cfb6395e1
Docs: normalize SQL style in sqlite3 docs (GH-96403)
...
(cherry picked from commit 6d403e264a )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-29 15:59:13 -07:00
Petr Viktorin
626e45564d
gh-90814: Correct NEWS wording re. optional C11 features (GH-96309) (GH-96384)
...
The previous wording of this entry suggests that CPython
won't work if optional compiler features are enabled.
That's not the case. The change is that we require C11 rather
than C89.
Note that PEP 7 does say "Python 3.11 and newer versions use C11
without optional features." It is correct there: that's
not a guide for users who compile Python, but for CPython devs
who must avoid the features.
2022-08-29 13:27:37 +02:00
Miss Islington (bot)
2ba877258a
gh-95432: Add doctests for the sqlite3 docs (GH-96225)
...
As a consequence of the added test, this commit also includes
fixes for broken examples.
- Add separate namespace for trace tests bco. module level callback
- Move more backup and cursor examples under separate namespaces
(cherry picked from commit bf9259776d )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-29 02:01:37 -07:00
Miss Islington (bot)
ca7e78dc3a
GH-96359: Fix docs that claim int(0|1) doesn't match False (GH-96361)
...
(cherry picked from commit 3d3a86ed40 )
Co-authored-by: Jonathan Oberländer <github@l3vi.de>
2022-08-29 00:13:28 -07:00
Miss Islington (bot)
698df306a9
Docs: Fix count of bullets in asyncio-task.rst (GH-96307) ( #96330 )
...
(cherry picked from commit 35e4da25d4 )
Co-authored-by: zhanpon <pon.zhan@gmail.com>
Co-authored-by: zhanpon <pon.zhan@gmail.com>
2022-08-27 14:26:42 +01:00
Miss Islington (bot)
b76c43a55a
[3.11] gh-77116: Add SMTP buffering example to logging cookbook. (GH-96324) (GH-96326)
2022-08-27 12:15:53 +01:00
Miss Islington (bot)
f0469c7424
gh-95994: Clarify escaped newlines. (GH-96066)
...
* gh-95994: clarify escaped newlines.
* Rephrase ambiguous sentence.
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* Use `<newline>` in escape sequences table.
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit c3d591fd06 )
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-08-26 12:11:59 -07:00
Miss Islington (bot)
315807dac9
gh-96197: Define the behavior of repr if sys.displayhook is lost (gh-96242)
...
(cherry picked from commit 0319cd6825 )
Co-authored-by: Dong-hee Na <donghee.na@python.org>
2022-08-25 19:12:43 -07:00
Miss Islington (bot)
3d14b4fecb
Clarify API stability of PyTypeObject in relation to static types. (GH-96217)
...
Fixes:
https://github.com/python/cpython/issues/95300
Related:
https://github.com/python/cpython/issues/91271
(cherry picked from commit caa2a9799a )
Co-authored-by: ov2k <ov2k.github@gmail.com>
2022-08-25 06:42:14 -07:00
Miss Islington (bot)
888054ae8a
[3.11] gh-91070: Add note about SysLogHandler on macOS 12.x (Monterey). (GH-94803) (GH-96260)
2022-08-25 08:38:02 +01:00
Miss Islington (bot)
d02e8fbc5a
GH-96179: Fix misleading example on the bisect documentation (GH-96228)
...
The `movies[bisect(movies, 1960, key=by_year)]` will actually return only movies **after** 1960.
(cherry picked from commit 4317b25a23 )
Co-authored-by: prego <pedropregueiro@gmail.com>
2022-08-24 08:54:15 -07:00
Miss Islington (bot)
bf2728b9f1
gh-96197: Define the behavior of breakpoint if sys.breakpointhook is lost (gh-96231)
...
(cherry picked from commit 09563a764e )
Co-authored-by: Dong-hee Na <donghee.na@python.org>
2022-08-24 07:20:22 -07:00
Erlend E. Aasland
2b8fd74548
[3.11] gh-94635: Frame sqlite3 how-to headings as such & move default adapters to reference (GH-96136) ( #96226 )
...
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>.
(cherry picked from commit 6bda5b85b5 )
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-24 09:51:46 +02:00
Miss Islington (bot)
dc6391705e
gh-96096: Add undocumented SQLITE_OK/DENY/IGNORE sqlite3 constants (GH-96134)
...
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
(cherry picked from commit d6259c58cb )
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-22 23:58:35 -07:00
Miss Islington (bot)
88a559ffea
gh-95432: Add doctest for sqlite3 tutorial (GH-96193)
...
(cherry picked from commit 04c73e5efb )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-22 23:55:35 -07:00
Miss Islington (bot)
98622fa00e
gh-96121: Merge sqlite3.Row examples into sqlite3.Row class doc (GH-96122)
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 18b1782192 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no>
2022-08-22 01:12:02 -07:00
Miss Islington (bot)
fedd25eb64
small grammatical change (GH-96138) (GH-96157)
2022-08-21 15:55:00 -05:00
Miss Islington (bot)
58e1fe24c7
GH-95880: Clarify StringIO append/overwrite behavior. (GH-96104) (GH-96156)
2022-08-21 09:55:50 -05:00
Miss Islington (bot)
21c46f359b
Add polynomial_from_roots() to the itertools recipes (GH-96102) ( #96155 )
2022-08-21 09:47:45 -05:00
Miss Islington (bot)
b21ff7433e
gh-96098: Clearly link concurrent.futures from threading & multiprocessing docs (GH-96112)
...
Clearly link concurrent.futures from threading & multiprocessing docs
Also link directly to asyncio from the beginning of the threading docs.
(cherry picked from commit bcc4cb0c7d )
Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
2022-08-20 21:28:10 -07:00
Miss Islington (bot)
fcf04217ab
Docs: Fix markup of module name in sqlite3 docs (GH-96115)
...
(cherry picked from commit ee9f22d346 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-19 01:26:08 -07:00
Miss Islington (bot)
f21d7e5150
Doc: Use consistent markup for example Point class in sqlite3 (GH-96095)
...
(cherry picked from commit 303ef0913e )
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-19 00:48:03 -07:00
Miss Islington (bot)
eed7711547
Docs: group sqlite3.Connection attributes and methods (GH-96090)
...
(cherry picked from commit 1a140af40b )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-19 00:37:51 -07:00
Miss Islington (bot)
c097fe0f09
gh-94635: Remove sqlite3 doc introduction heading (GH-96089)
...
(cherry picked from commit ede771cdf9 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-19 00:28:33 -07:00
Miss Islington (bot)
d6990681b6
GH-95822: Need _PyType_Lookup() in descriptor howto code equivalent. (GH-95967) ( #96099 )
2022-08-19 00:18:44 -05:00
Miss Islington (bot)
bb37d29576
gh-95914: Add Py_UNICODE encode APIs removed in PEP 624 to 3.11 What's New (GH-96016)
...
* 3.11 Whatsnew: Add Py_UNICODE encode functions removed in PEP 624
* Just use :func: instead of :c:func: for non-resolved funcs so ! works
(cherry picked from commit b6d88b7225 )
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-18 17:00:38 -07:00
Miss Islington (bot)
e8e3fe9931
Docs: Escape lone stars in sqlite3 docs (GH-96081)
...
(cherry picked from commit 91afe66707 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-18 11:47:42 -07:00
Miss Islington (bot)
972150b8e3
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:27 -07:00
Miss Islington (bot)
7c334a3382
gh-95913: Add traceback module additions to what's new in 3.11 (GH-95980) (GH-96064)
...
(cherry picked from commit c5bc67b2a1 )
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2022-08-18 14:33:15 +01:00
Miss Islington (bot)
504da3ce80
gh-95957: Add instructions for Tcl/Tk and OpenSSL on RHEL/CentOS 7 (GH-95964)
...
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
(cherry picked from commit ab4d72954f )
Co-authored-by: Christian Heimes <christian@python.org>
2022-08-18 06:32:30 -07:00
Irit Katriel
f6aa6ebf43
remove repetitive credit from what's new in 3.11 rst (GH-96024) (GH-96025)
2022-08-16 15:18:20 +01:00
Miss Islington (bot)
3ce1d0093e
Clarify asyncio.Runner docs re: loop_factory (GH-95979)
...
(cherry picked from commit e8259e047c )
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-08-14 09:02:07 -07:00
Miss Islington (bot)
d89f5fe1f4
gh-89313: Add hashlib.file_digest to whatsnew 3.11 (GH-95965)
...
Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit 0b329f4f03 )
Co-authored-by: Christian Heimes <christian@python.org>
2022-08-13 12:55:15 -07:00
Miss Islington (bot)
1fccb1d493
[3.11] gh-94439: typing docs: Add minimum version to __required_keys__ and __optional_keys__ (GH-95373) ( #95944 )
...
Co-authored-by: Howie Zhao <howiezhaohr@hotmail.com>
2022-08-13 19:42:27 +01:00
Miss Islington (bot)
63690996e8
bpo-25625: Document contextlib.chdir in the 3.11 what's new (GH-95962)
...
(cherry picked from commit 7552f237a2 )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2022-08-13 11:34:17 -07:00
Miss Islington (bot)
7fdda1a47f
gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10 (GH-95346) (GH-95929)
...
(cherry picked from commit 50bf5fafcc )
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-08-12 19:03:04 +02:00
Miss Islington (bot)
5cc3964a32
gh-95914: Add missing PEPs to the Summary section of 3.11 What's New (GH-95916) (GH-95927)
...
(cherry picked from commit 6376433ac3 )
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-12 18:13:38 +02:00
Éric
e3adb19df8
[3.11] gh-90300: [docs] Add whatsnew entry for new --help output (GH-95856)
2022-08-12 18:07:05 +02:00
Erlend E. Aasland
bd86e09ab9
[3.11] gh-95273: Improve sqlite3.complete_statement docs (GH-95840) ( #95917 )
...
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:34:26 +02: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)
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