Miss Islington (bot)
00147a84fc
gh-99238: clarify the type of the env dict. (GH-99253)
...
(cherry picked from commit 2eee9d9cd7
)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2022-11-08 13:09:04 -08:00
Miss Islington (bot)
ca944628ac
Fix broken link in asyncio-subprocesses
doc (GH-99214)
...
GH- Fix broken link in Doc/library/asyncio-subprocess.rst
This is a trivial fix in documentation to fix a broken link.
There is a broken link in [Doc/library/asyncio-subprocess.rst](https://docs.python.org/3/library/asyncio-subprocess.htmlGH-asyncio.subprocess.Process ) for the function ``wait_for``:

I suppose this refers to the function ``asyncio.wait_for`` which is not clear in the docs.
This PR fixes the link and the result looks like the following:

(cherry picked from commit acf4d5d5bd
)
Co-authored-by: Mikael Koli <koli.mikael@gmail.com>
Automerge-Triggered-By: GH:AlexWaygood
2022-11-08 08:33:51 -08:00
Miss Islington (bot)
2d00190591
gh-92119: ctypes: Print exception class name instead of its representation (GH-98302)
...
(cherry picked from commit b9dedfe61d
)
Co-authored-by: Kamil Turek <kamil.turek@hotmail.com>
2022-11-07 21:20:06 -08:00
Miss Islington (bot)
c4408d35f6
gh-94286 Fix documentation of print default param (GH-94297)
...
(cherry picked from commit 2db55e0c00
)
Co-authored-by: Nouran Ali <nouranalimohammed@gmail.com>
2022-11-06 12:24:02 -08:00
Miss Islington (bot)
be4bab8c2b
gh-93464: [Enum] fix auto() failure during multiple assignment (GH-99148)
...
* fix auto() failure during multiple assignment
i.e. `ONE = auto(), 'text'` will now have `ONE' with the value of `(1,
'text')`. Before it would have been `(<an auto instance>, 'text')`
(cherry picked from commit 8feb7ab77c
)
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2022-11-06 06:30:32 -08:00
Jason R. Coombs
07734a42db
[3.11] gh-98706: Sync with importlib_metadata 4.13.0. (GH-98875)
...
These changes are already applied to main but have been selected from importlib_metadata 4.x for their bug fixes.
2022-11-05 06:55:04 -07:00
Miss Islington (bot)
f7d2c948f5
minor edits to locale doc (GH-98537)
...
(cherry picked from commit c0bf7607a1
)
Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
2022-11-04 06:12:01 -07:00
Miss Islington (bot)
2ef2eaac15
Docs: add named
to the list of styles in the sqlite3.paramstyle attr docs (GH-99078)
...
(cherry picked from commit 016c7d37b6
)
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2022-11-03 16:27:53 -07:00
Miss Islington (bot)
eb023a84d9
gh-98740: Fix validation of conditional expressions in RE (GH-98764)
...
In very rare circumstances the JUMP opcode could be confused with the
argument of the opcode in the "then" part which doesn't end with the
JUMP opcode. This led to incorrect detection of the final JUMP opcode
and incorrect calculation of the size of the subexpression.
NOTE: Changed return value of functions _validate_inner() and
_validate_charset() in Modules/_sre/sre.c. Now they return 0 on success,
-1 on failure, and 1 if the last op is JUMP (which usually is a failure).
Previously they returned 1 on success and 0 on failure.
(cherry picked from commit e9ac890c02
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-11-03 00:47:39 -07:00
Miss Islington (bot)
2199a7dace
gh-65002: Make note that null bytes are used to pad bytes (GH-98635)
...
(cherry picked from commit 8cd21c2c5d
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-11-02 19:24:24 -07:00
Miss Islington (bot)
46ccb35a40
gh-92679: Clarify asyncio.loop.start_tls parameters (GH-92682)
...
(cherry picked from commit 898d0d9ad8
)
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
2022-11-01 22:12:52 -07:00
Miss Islington (bot)
b2e28c8700
gh-92871: Postpone the removal of typing.{io,re} to 3.13 (GH-98958)
...
(cherry picked from commit 65d1407737
)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2022-11-01 21:00:13 -07:00
Miss Islington (bot)
43cbb3df9a
Doc: Fix sphinx-lint issues (GH-98911)
...
They were introduced right between GH-98441 and GH-98408.
(cherry picked from commit c1c3be0f9d
)
Co-authored-by: Julien Palard <julien@palard.fr>
2022-10-31 10:29:30 -07:00
Miss Islington (bot)
f6f07b252f
gh-98576: Fix types in dataclass.InitVar example (gh-98577)
...
(cherry picked from commit 880bafc574
)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2022-10-31 08:14:04 -07:00
Miss Islington (bot)
d038307b10
Fix typo in docs (GH-98863)
...
(cherry picked from commit bfecff5f73
)
Co-authored-by: Yuvi Panda <yuvipanda@gmail.com>
2022-10-29 13:56:27 -07:00
Miss Islington (bot)
e237bf6862
dataclasses docs: consistent indentation (4 spaces) in examples (GH-98855)
...
(cherry picked from commit d10c2b9742
)
Co-authored-by: FC Stegerman <flx@obfusk.net>
2022-10-29 10:15:16 -07:00
Miss Islington (bot)
12957d7cbd
Fix typo in contextvars docs (GH-98823)
...
(cherry picked from commit 72fa57a8fe
)
Co-authored-by: cburroughs <chris.burroughs@gmail.com>
2022-10-28 14:23:26 -07:00
Miss Islington (bot)
2d4b6e00f0
argparse
docs: normalize constant references (GH-98765)
...
(cherry picked from commit b27b57c6e4
)
Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
2022-10-28 05:25:58 -07:00
Stanley
5f86275ec2
[3.11] Change links to label refs (GH-98454) ( #98725 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 268129a74f
)
2022-10-26 13:18:50 -07:00
Miss Islington (bot)
78df56ec69
gh-98716: Revert gh-96081: Escape lone stars in sqlite3 docs (GH-98720)
...
(cherry picked from commit 365852a03a
)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-10-26 08:01:54 -07:00
Miss Islington (bot)
ca266aaf45
gh-98644: point people to tomllib from configparser’s docs (GH-98645)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 5e74bad93c
)
Co-authored-by: Philipp A <flying-sheep@web.de>
2022-10-26 07:14:44 -07:00
Miss Islington (bot)
2aedba59ec
gh-98348: Mention ReferenceError in weakref.proxy documentation (GH-98355)
...
(cherry picked from commit 216f45e4fe
)
Co-authored-by: fancidev <fancidev@gmail.com>
2022-10-25 20:55:29 -07:00
Miss Islington (bot)
7a25d27ec2
gh-77753: Add example for values that compare equal in stdtypes (GH-98497)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 0ca6a4d640
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-25 20:02:44 -07:00
Miss Islington (bot)
8777d059bb
gh-84747: Add async for
comment for StreamReader (GH-98633)
...
(cherry picked from commit 4196ee5c8b
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-25 19:23:08 -07:00
Miss Islington (bot)
4fc042f28f
gh-97937: dis docs: add adaptive=False (GH-97939)
...
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
(cherry picked from commit 5d8bf2b106
)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-10-25 16:06:08 -07:00
Miss Islington (bot)
4cd5ea62ac
gh-98602: [typing docs] Use quotes for forward reference in TypeVarTuple example (GH-98605)
...
(cherry picked from commit be0cf82ae4
)
Co-authored-by: Eclips4 <80244920+Eclips4@users.noreply.github.com>
2022-10-25 08:42:12 -07:00
Miss Islington (bot)
4b68e34a6c
gh-98623: Fix base classes in typing.rst
(GH-98626)
...
(cherry picked from commit 5076108872
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-10-25 07:13:16 -07:00
Pablo Galindo Salgado
b3cafb60af
[3.11] Fix v3.11.0 release merge problems (GH-98622)
...
When merging the v3.11.0 tag into 3.11, some files were incorrectly updated and some others were not properly deleted.
Automerge-Triggered-By: GH:pablogsal
2022-10-24 16:30:06 -07:00
Pablo Galindo
69b6b56d85
Python 3.11.0
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEz9yiRbEEPPKl+Xhl/+h0BBaL2EcFAmNWzOwACgkQ/+h0BBaL
2EcepxAAmZLGMrL4D7Zx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WHrLDwQa3LBZj4YOKTwnwqlr1sEqO47NfasWaMYa1vBsktLVtPVQ3xS
Hz0lLhJXJLzf5hmf2r4Tw1S5spn5ijsZ7CwK2Zl+1+dbJMpRoK4VeSSYy/OfEpwy
8Hx1YitMyORF3HkGWa+pPYPNaIOw4S/EQQPYd5osg3NnknYjkkKZZaliq7EZra7c
GANPJamXhHREQyhux9KeiYZer3SU3CSXopyxm8ClcBZJAiAOjhAdeOk+Q4Ta9T6+
gRWBOrelroyFTWHsOd8V7gSz3XJNuAzlNZ/+1Oj/7Em+5DGLFcxJrZGLxn+hruZ5
GPK9IQXbURAuxqVrqCzw2tzf/NzJr0fs4QDYEVI95pfLjzk1tuJ5WR6zFNC0COK2
qw8TTvXglsvHqVMnK8u73GVSTv1UGYqbQH9uAeEikAQYr3TTdZo=
=dsZm
-----END PGP SIGNATURE-----
Merge tag 'v3.11.0' into 3.11
Python 3.11.0
2022-10-24 20:29:24 +01:00
Miss Islington (bot)
cdbfce121f
gh-98507: [typing docs] Rephrase "now supports []
" to "now supports subscripting" (GH-98508)
...
(cherry picked from commit e3b9dd8e87
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-10-24 11:16:58 -07:00
Miss Islington (bot)
032d1276ed
GH-91635: clarify docs about closing of transport in asyncio (GH-98563)
...
(cherry picked from commit 2fdcc6f2cb
)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-10-24 11:00:18 -07:00
Miss Islington (bot)
d9abd8a584
gh-98500: Fix typing docs for *View
classes (GH-98511)
...
(cherry picked from commit 1a217f9ffc
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-10-24 10:55:11 -07:00
Miss Islington (bot)
981b509784
GH-90985: Revert "Deprecate passing a message into cancel()" (GH-97999)
...
Reason: we were too hasty in deprecating this.
We shouldn't deprecate it before we have a replacement.
(cherry picked from commit 09de8d7aaf
)
Co-authored-by: Guido van Rossum <guido@python.org>
2022-10-24 17:09:41 +01:00
Miss Islington (bot)
f0083923fa
gh-90908: Document asyncio.Task.cancelling() and asyncio.Task.uncancel() (GH-95253)
...
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
(cherry picked from commit f00645d5db
)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2022-10-24 17:09:37 +01:00
Miss Islington (bot)
ae68a45daa
gh-98561: Fix a typo in typing (GH-98562)
...
(cherry picked from commit b6d5d5b60a
)
Co-authored-by: Omkaar <79257339+Infiniticity@users.noreply.github.com>
2022-10-23 07:13:25 -07:00
Miss Islington (bot)
bac61bc5b1
gh-95778: Mention sys.set_int_max_str_digits() in error message (GH-96874)
...
When ValueError is raised if an integer is larger than the limit,
mention sys.set_int_max_str_digits() in the error message.
(cherry picked from commit e841ffc915
)
Co-authored-by: Victor Stinner <vstinner@python.org>
2022-10-22 20:54:35 +01:00
C.A.M. Gerlach
f1ca2f6a41
[3.11] Docs: Fix backtick errors found by sphinx-lint (GH-97998) ( #98371 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>.
(cherry picked from commit fa2d43e518
)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-10-22 20:38:26 +01:00
Miss Islington (bot)
f8f0386bb7
gh-95913: Copyedit & xref FrameInfo in Whatsnew inspect section (GH-98304)
...
(cherry picked from commit 8f30267ab4
)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-22 20:29:11 +01:00
Miss Islington (bot)
519b56a5c7
gh-95913: Copyedit & xref FrameInfo in Whatsnew inspect section (GH-98304)
...
(cherry picked from commit 8f30267ab4
)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-22 12:21:01 -07:00
Miss Islington (bot)
886fd3938b
gh-96706: [doc] Don't recomment deprecated use of get_event_loop() in examples (GH-96707)
...
(cherry picked from commit 53a54b781d
)
Co-authored-by: zhanpon <pon.zhan@gmail.com>
2022-10-22 20:06:17 +01:00
Miss Islington (bot)
040bbd2ec6
gh-95778: Fix sys.set_int_max_str_digits()
parameter name (GH-96798)
...
Discovered in https://github.com/python/typeshed/pull/8733
(cherry picked from commit bf5fd49252
)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-10-22 20:06:16 +01:00
Miss Islington (bot)
6cce942bd3
Itertools sieve() recipe (GH-96813) (GH-96814)
2022-10-22 20:06:14 +01:00
Miss Islington (bot)
99f5568498
gh-96702: Order methods before attrs in sqlite3.Connection docs (GH-96703) ( #96788 )
...
(cherry picked from commit 49cceeb5c9
)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-10-22 20:06:13 +01:00
Miss Islington (bot)
746dad4eab
gh-96810: Clarify for which statements sqlite3 implicitly opens transactions (GH-96832)
...
(cherry picked from commit 16c33a9676
)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-10-22 20:06:12 +01:00
Miss Islington (bot)
a955cccf7a
Clarify that the expression is regular math notation, not Python. (GH-96903) (GH-96908)
2022-10-22 20:06:11 +01:00
Miss Islington (bot)
122a07c869
Simplify sieve() recipe. Add edge case tests. (GH-96892)
...
(cherry picked from commit 78359b1d45
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2022-10-22 20:06:10 +01:00
Miss Islington (bot)
1c345fa012
GH-96851: Add link to FAQ entry for caching method calls. (GH-96902)
...
(cherry picked from commit bbc24b2bd5
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2022-10-22 20:06:09 +01:00
Miss Islington (bot)
2a1e9b01d1
gh-96917: link to typing.readthedocs.io from typing.rst (GH-96921)
...
See the discussion at https://github.com/python/cpython/issues/91533
(cherry picked from commit 5b3a2569f4
)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2022-10-22 20:06:06 +01:00
Miss Islington (bot)
6464096400
[3.11] gh-96727: Document restrictions on Handler.emit() with respect to locking. (GH-96948) (GH-96950)
...
(cherry picked from commit 6ad47b41a6
)
2022-10-22 20:06:05 +01:00
Steve Dower
00e8a27dee
gh-77171: Document that wave only supports simple PCM files (GH-97510)
2022-10-22 20:06:02 +01:00