Miss Islington (bot)
9de590151d
Document PyMember_GetOne and PyMember_SetOne (GH-27555)
...
(cherry picked from commit d382bde220 )
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-08-02 10:08:49 -07:00
Miss Islington (bot)
7c89bddd2f
doc: "Mac OS " -> "macOS" (GH-27534)
...
(cherry picked from commit 1342248f3a )
Co-authored-by: partev <petrosyan@gmail.com>
2021-08-02 09:30:05 -07:00
Miss Islington (bot)
5888107f33
doc: "Mac OS X" -> "macOS" (GH-27535)
...
(cherry picked from commit 414dcb13aa )
Co-authored-by: partev <petrosyan@gmail.com>
2021-08-02 06:13:48 -07:00
Miss Islington (bot)
440c9f772a
bpo-43625: Enhance csv sniffer has_headers() to be more accurate (GH-26939) (GH-27494)
...
(cherry picked from commit ceea579ccc )
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-07-30 19:30:09 +02:00
Miss Islington (bot)
843b3d2820
bpo-41911: Update docs for various expressions (GH-27470) (GH-27490)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 4bd9caafb6 )
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-07-30 19:25:45 +02:00
Miss Islington (bot)
f7f1c26423
Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478)
...
(cherry picked from commit be42c06bb0 )
Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
2021-07-30 16:25:28 +02:00
Miss Islington (bot)
6ca35f2891
Doc: Change errant 3.10.0 to 3.10, to match other mentions (GH-27459) (GH-27479)
...
(cherry picked from commit f4367ba3c5 )
Co-authored-by: Ori Avtalion <ori@avtalion.name>
2021-07-30 16:16:46 +02:00
Miss Islington (bot)
1256279047
Fix typo in ast.rst (GH-27449) (GH-27454)
...
Co-authored-by: HaeckelK <haeckelk.github@gmail.com>
(cherry picked from commit 6b61d74a3b )
Co-authored-by: HaeckelK <51128712+HaeckelK@users.noreply.github.com>
2021-07-29 19:38:28 +02:00
Miss Islington (bot)
86545bd94c
bpo-44765: [doc] fix typo (GH-27430) (GH-27450)
...
(cherry picked from commit ccefa8a905 )
Co-authored-by: Pavel <69010336+pavel-lexyr@users.noreply.github.com>
2021-07-29 19:22:57 +02:00
Miss Islington (bot)
6b922dae6c
bpo-41103: Resurrect the old buffer protocol. (GH-27437) (GH-27441)
...
Revert "bpo-41103: Remove old buffer protocol support (GH-21117)"
This reverts commit 6f8a6ee59c .
(cherry picked from commit ce5e1a6809 )
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2021-07-29 13:31:42 +02:00
Miss Islington (bot)
b5bdc0c407
bpo-43565: Document PyUnicode_KIND's return type as an unsigned int (GH-25724) (GH-27439)
...
(cherry picked from commit 47fd4726a2 )
Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
2021-07-29 11:31:02 +02:00
Miss Islington (bot)
369d1480b7
bpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423) (GH-27426)
...
(cherry picked from commit cb1d76f10a )
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-28 19:30:58 +02:00
Miss Islington (bot)
97af790495
bpo-44544: [doc] list all textwrap func kwargs (GH-26999) (GH-27424)
...
(cherry picked from commit c1e39d6b11 )
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-28 19:29:25 +02:00
Miss Islington (bot)
a90a57ed53
Fix typo in sqlite3.rst (GH-27415) (GH-27417)
...
preceeding -> preceding
(cherry picked from commit fbe87023bf )
Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
2021-07-28 16:33:26 +02:00
Miss Islington (bot)
c75b59418e
Add missing end of sentence in docs (GH-27280) (GH-27419)
...
(cherry picked from commit 531e2fbc52 )
Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
2021-07-28 16:32:38 +02:00
Miss Islington (bot)
0993837766
Spell out 's.pop() or s.pop(i)' (GH-27398) (GH-27412)
...
(cherry picked from commit 2ff5bb4908 )
Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
2021-07-28 15:56:17 +02:00
Miss Islington (bot)
f113195ac8
bpo-44756: in ./Doc, make build depends on make html (GH-27403) (GH-27410)
...
- venv rule is now conditional, and only does anything if $VENVDIR does not exist
- add rule "clean-venv"
(cherry picked from commit d22c876d5a )
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-28 15:35:18 +02:00
Miss Islington (bot)
be2415487a
bpo-44740: Make minor edits to lowercasing "internet" and "web". (GH-27385) ( #27386 )
...
Follow up to 11749e2dc2
(cherry picked from commit 2e41df4d60 )
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-07-27 11:20:11 +02:00
Miss Islington (bot)
1557cff025
[doc] Fix typo in asyncio Event Loop (GH-27377)
...
First Pull Request to cpython, so forgive me for any mistakes
Automerge-Triggered-By: GH:Mariatta
(cherry picked from commit 6fa4060b86 )
Co-authored-by: Vinicius Gubiani Ferreira <vini.g.fer@gmail.com>
2021-07-26 21:07:30 -07:00
Miss Islington (bot)
6fc1efa454
bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 11749e2dc2 )
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-07-27 00:34:32 +02:00
Miss Islington (bot)
3dc88ff845
docs: replace "Mac OS X" -> "macOS" (GH-27364) (GH-27374)
...
"Mac OS X" has been rebranded as macOS
https://www.apple.com/macos
(cherry picked from commit 5fdd2a14ce )
Co-authored-by: partev <petrosyan@gmail.com>
2021-07-26 16:22:26 -04:00
Miss Islington (bot)
5151826ee4
The current documentation says it returns None if the name is not found, but (GH-26785) (GH-27371)
...
the implementation uses [] and will raise KeyError instead.
Noticed by @srittau in python/typeshed@5659.
(cherry picked from commit f22737abfa )
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2021-07-26 21:35:33 +02:00
Miss Islington (bot)
563e05743c
bpo-43443: Clarify difference between shelve objects and dicts (GH-27004) (GH-27369)
...
(cherry picked from commit c97c2a050c )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-07-26 21:32:36 +02:00
Miss Islington (bot)
4a5457d5d4
bpo-44490: Add 'Whats New' docs regarding types.Union changes (GH-27215) (GH-27368)
...
(cherry picked from commit 6c1b57d958 )
Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
2021-07-26 21:32:05 +02:00
Miss Islington (bot)
8a37e8cf45
bpo-44732: Rename types.Union to types.UnionType (GH-27342)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 2b8ad9e6c5 )
Co-authored-by: Hasan <hasan.aleeyev@gmail.com>
2021-07-26 12:02:58 -07:00
Miss Islington (bot)
642d873d67
bpo-44693: Update __future__ entry in Doc/glossary.rst (GH-27349) (GH-27357)
...
Replace sentence with confusing "pseudo-module" with two sentences
separating future statements and the __future__ module.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 0363a4014d )
Co-authored-by: Steven Hsu <hsuhaochun@gmail.com>
Co-authored-by: Steven Hsu <hsuhaochun@gmail.com>
2021-07-25 21:40:08 -04:00
Miss Islington (bot)
628baf6fef
[3.10] bpo-44399: Update logging cookbook to document patterns to be avoided. (GH-27348) (GH-27352)
...
(cherry picked from commit 9751f85914 )
2021-07-25 20:31:54 +01:00
Miss Islington (bot)
59058a65a2
[3.10] bpo-43184: Add information about added attribute and method. (GH-27347) (GH-27355)
...
(cherry picked from commit 50b72768ff )
2021-07-25 20:30:50 +01:00
Miss Islington (bot)
45caee2715
bpo-44713: [doc fix]: typo in subprocess.rst (GH-27297) (GH-27298)
...
This fixes a small typo. The code fragment should not be quoted. Thank you
@merwok for the feedback.
(cherry picked from commit 7d25254cf0 )
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-24 11:59:22 +02:00
Miss Islington (bot)
d15949a845
bpo-44353: Document that typing.NewType is now a class (GH-27319) (GH-27321)
...
(cherry picked from commit 7aac3f6236 )
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-07-24 11:31:33 +02:00
Miss Islington (bot)
632e8a6959
bpo-42747: Remove Py_TPFLAGS_HAVE_AM_SEND and make Py_TPFLAGS_HAVE_VERSION_TAG no-op (GH-27260) (GH-27306)
...
* Remove code that checks Py_TPFLAGS_HAVE_VERSION_TAG
The field is always present in the type struct, as explained
in the added comment.
* Remove Py_TPFLAGS_HAVE_AM_SEND
The flag is not needed, and since it was added in 3.10 it can be removed now.
(cherry picked from commit a4760cc32d )
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2021-07-23 16:56:53 +02:00
Miss Islington (bot)
d0c6175303
bpo-14879: [doc] clarify how to check for errors from subprocess.Popen(..., shell=True) (GH-26755) (GH-27288)
...
(cherry picked from commit 50ffbe3daf )
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-22 19:25:57 +01:00
Miss Islington (bot)
0fb4b75f7a
Fix typo in collections.rst (GH-27270) ( #27285 )
2021-07-22 10:38:22 +02:00
Miss Islington (bot)
d17449f31d
bpo-30511: Add note on thread safety to shutil.make_archive() (GH-26933) (GH-27274)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 64f54b7ccd )
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-07-21 10:55:22 +02:00
Miss Islington (bot)
2d0492091e
Clean up comma usage in Doc/library/functions.rst (GH-27083) ( #27243 )
...
(cherry picked from commit 1e651c6ada )
Co-authored-by: α∂мιηιχтяαтσя <sadiqherritage@gmail.com>
2021-07-19 18:38:56 +02:00
Miss Islington (bot)
bce2847169
[3.10] bpo-44561: Update hyperlinks in Doc/distributing/index.rst (GH-27032) (GH-27234)
...
* Update hyperlinks in Doc/distributing/index.rst
Update three expired hyperlinks.
Closes [bpo-44561]().
(cherry picked from commit b494685b25 )
Co-authored-by: Steven Hsu <hsuhaochun@gmail.com>
Automerge-Triggered-By: GH:ncoghlan
2021-07-18 17:34:44 -07:00
Pablo Galindo Salgado
af9a352b60
Correct the order of check-abidump (GH-27229)
...
The check was backwards so we were not correctly detecting removals.
2021-07-18 16:56:45 +01:00
Miss Islington (bot)
016af14d93
[3.10] bpo-44589: raise a SyntaxError when mapping patterns have duplicate literal keys (GH-27131) (GH-27157)
...
(cherry picked from commit 2693132292 )
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
Automerge-Triggered-By: GH:brandtbucher
2021-07-14 18:00:35 -07:00
Miss Islington (bot)
ff7af2203c
bpo-34932: Add socket.TCP_KEEPALIVE for macOS (GH-25079)
...
(cherry picked from commit d59d7374a3 )
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
2021-07-14 16:15:31 -07:00
Miss Islington (bot)
3048b8bd2a
bpo-44639: fix typo in sqlite.rst (transation => transaction) (GH-27145) (GH-27148)
...
To my understanding, this is supposed to say "transaction".
See the relevant source:
a158b20019/Modules/_sqlite/connection.cGH-L1434-L1467
(cherry picked from commit 1ca27f2647 )
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-14 23:22:50 +01:00
Pablo Galindo Salgado
03c85d49ed
[3.10] Add release highlights for the 3.10 what's new document (GH-27150) (GH-27152)
...
(cherry picked from commit 2b47af6398 )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-07-14 23:22:12 +01:00
Miss Islington (bot)
9b369c952c
bpo-43126: Expand docs on io.IOBase.readlines() method (GH-27061) (GH-27113)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 3b5b99da4b )
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-07-13 16:41:12 +02:00
Miss Islington (bot)
f514addfbc
bpo-44514: Add doctest testcleanup for configparser and bz2 (GH-26909) (GH-27112)
...
Add testcleanup section to configparser and bz2 documentation which
removes temporary files created in the filesystem when 'make doctest'
is run.
(cherry picked from commit 48a5aa7f12 )
Co-authored-by: Kevin Follstad <kfollstad@gmail.com>
2021-07-13 16:34:10 +02:00
Miss Islington (bot)
7223ce3b3f
bpo-44613: Make importlib.metadata non-provisional (GH-27101) ( #27106 )
...
* importlib.metadata is no longer provisional as of 3.10
* Add NEWS entry
(cherry picked from commit f6954cdfc5 )
Co-authored-by: Barry Warsaw <barry@python.org>
Co-authored-by: Barry Warsaw <barry@python.org>
2021-07-12 17:40:51 -07:00
Miss Islington (bot)
721d4796be
bpo-42194: Add "New in version: 3.9" to argparse.BooleanOptionalAction (GH-23026) ( #27097 )
...
(cherry picked from commit da2e673c53 )
Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com>
2021-07-12 17:43:16 +02:00
Miss Islington (bot)
443db64f49
bpo-26329: update os.path.normpath documentation (GH-20138) (GH-27094)
...
(cherry picked from commit 66c5853406 )
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
2021-07-12 17:07:46 +02:00
Miss Islington (bot)
662ace1093
Doc: Fix wrong exception used in example. (GH-26572)
...
(cherry picked from commit 15f0fc571c )
Co-authored-by: Julien Palard <julien@palard.fr>
2021-07-08 21:51:26 -07:00
Miss Islington (bot)
a219d6bc8f
docs: add the word 'official' (GH-26849)
...
(cherry picked from commit af4a2dcc40 )
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
2021-07-08 10:27:57 -05:00
Miss Islington (bot)
846cc4d280
bpo-43453: Update and re-add example to typing runtime_checkable (GH-27013)
...
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 17f94e2888 )
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-07-05 13:46:02 -07:00
Ethan Furman
9bf7c2d638
[3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010)
...
* [Enum] revert enum module to 3.9
2021-07-03 21:08:42 -07:00