summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-41103: Resurrect the old buffer protocol. (GH-27437) (GH-27441)Miss Islington (bot)2021-07-295-5/+78
| | | | | | | | Revert "bpo-41103: Remove old buffer protocol support (GH-21117)" This reverts commit 6f8a6ee59cb7f99f68df8ee9c3e8c8cf19af3eed. (cherry picked from commit ce5e1a6809b714eb0383219190a076d9f883e008) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-43565: Document PyUnicode_KIND's return type as an unsigned int ↵Miss Islington (bot)2021-07-291-1/+1
| | | | | | | (GH-25724) (GH-27439) (cherry picked from commit 47fd4726a2ce8599cc397ddeae40f70eb471e868) Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
* bpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423) ↵Miss Islington (bot)2021-07-281-1/+1
| | | | | | | (GH-27426) (cherry picked from commit cb1d76f10ab33dddd0dbd64e6506bf7c065d499b) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-44544: [doc] list all textwrap func kwargs (GH-26999) (GH-27424)Miss Islington (bot)2021-07-281-4/+14
| | | | | (cherry picked from commit c1e39d6b1167376fdaf3f288ba9a689e61c7fdd1) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* Fix typo in sqlite3.rst (GH-27415) (GH-27417)Miss Islington (bot)2021-07-281-1/+1
| | | | | | preceeding -> preceding (cherry picked from commit fbe87023bf33e941373a5fca023652a825db7baf) Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
* Add missing end of sentence in docs (GH-27280) (GH-27419)Miss Islington (bot)2021-07-281-1/+1
| | | | | (cherry picked from commit 531e2fbc52ce07a9cf37e0db05a5337e404dfccd) Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
* Spell out 's.pop() or s.pop(i)' (GH-27398) (GH-27412)Miss Islington (bot)2021-07-281-1/+1
| | | | | (cherry picked from commit 2ff5bb4908975976031ba738866de619cafadc4d) Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
* bpo-44756: in ./Doc, `make build` depends on `make html` (GH-27403) (GH-27410)Miss Islington (bot)2021-07-282-20/+23
| | | | | | | - venv rule is now conditional, and only does anything if $VENVDIR does not exist - add rule "clean-venv" (cherry picked from commit d22c876d5ac5fa464337d2e82654b8d87a83cb1b) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-44740: Make minor edits to lowercasing "internet" and "web". (GH-27385) ↵Miss Islington (bot)2021-07-273-3/+3
| | | | | | | | (#27386) Follow up to 11749e2dc20ad6a76e9a39e948853e89b2b4bbed (cherry picked from commit 2e41df4d60d71a2551b9605d07321f75cfb52adf) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* [doc] Fix typo in asyncio Event Loop (GH-27377)Miss Islington (bot)2021-07-271-1/+1
| | | | | | | | First Pull Request to cpython, so forgive me for any mistakes Automerge-Triggered-By: GH:Mariatta (cherry picked from commit 6fa4060b86a116dc4fb69356795faf6ff1cdde58) Co-authored-by: Vinicius Gubiani Ferreira <vini.g.fer@gmail.com>
* bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) ↵Miss Islington (bot)2021-07-2638-65/+65
| | | | | | | | (GH-27380) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 11749e2dc20ad6a76e9a39e948853e89b2b4bbed) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* docs: replace "Mac OS X" -> "macOS" (GH-27364) (GH-27374)Miss Islington (bot)2021-07-261-6/+6
| | | | | | | | "Mac OS X" has been rebranded as macOS https://www.apple.com/macos (cherry picked from commit 5fdd2a14ce3f81a7db47bb79421c426dec4b25bd) Co-authored-by: partev <petrosyan@gmail.com>
* The current documentation says it returns None if the name is not found, but ↵Miss Islington (bot)2021-07-261-1/+1
| | | | | | | | | | (GH-26785) (GH-27371) the implementation uses [] and will raise KeyError instead. Noticed by @srittau in python/typeshed@5659. (cherry picked from commit f22737abfa07605f4ed1a99cfa97a26520b6c5c2) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-43443: Clarify difference between shelve objects and dicts (GH-27004) ↵Miss Islington (bot)2021-07-261-1/+2
| | | | | | | (GH-27369) (cherry picked from commit c97c2a050cf753003012ae3f08e035326b8f6167) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-44490: Add 'Whats New' docs regarding types.Union changes (GH-27215) ↵Miss Islington (bot)2021-07-261-1/+2
| | | | | | | (GH-27368) (cherry picked from commit 6c1b57d958e2b0d5bcf0f2315b5044838e11638f) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
* bpo-44732: Rename types.Union to types.UnionType (GH-27342)Miss Islington (bot)2021-07-262-5/+5
| | | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 2b8ad9e6c5f0a66e9ca2d15f85336d8a3eefefb0) Co-authored-by: Hasan <hasan.aleeyev@gmail.com>
* bpo-44693: Update __future__ entry in Doc/glossary.rst (GH-27349) (GH-27357)Miss Islington (bot)2021-07-261-6/+7
| | | | | | | | | | | 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 0363a4014d90df17a29042de008ef0b659f92505) Co-authored-by: Steven Hsu <hsuhaochun@gmail.com> Co-authored-by: Steven Hsu <hsuhaochun@gmail.com>
* [3.10] bpo-44399: Update logging cookbook to document patterns to be ↵Miss Islington (bot)2021-07-251-0/+79
| | | | | avoided. (GH-27348) (GH-27352) (cherry picked from commit 9751f85914e0ef3324671a91da34a635d48b17fb)
* [3.10] bpo-43184: Add information about added attribute and method. ↵Miss Islington (bot)2021-07-251-0/+4
| | | | | (GH-27347) (GH-27355) (cherry picked from commit 50b72768ffe6413424dc4eba916dd1ff89a2fe7b)
* bpo-44713: [doc fix]: typo in subprocess.rst (GH-27297) (GH-27298)Miss Islington (bot)2021-07-241-1/+1
| | | | | | | This fixes a small typo. The code fragment should not be quoted. Thank you @merwok for the feedback. (cherry picked from commit 7d25254cf0763b62f4c4a3019e56385cab597b9f) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-44353: Document that typing.NewType is now a class (GH-27319) (GH-27321)Miss Islington (bot)2021-07-241-10/+19
| | | | | (cherry picked from commit 7aac3f623610cf3dffbf548a5be5bfd4fa6790a0) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-42747: Remove Py_TPFLAGS_HAVE_AM_SEND and make ↵Miss Islington (bot)2021-07-231-10/+1
| | | | | | | | | | | | | | | 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 a4760cc32d9e5dac7be262e9736eb30502cd7be3) Co-authored-by: Petr Viktorin <encukou@gmail.com>
* bpo-14879: [doc] clarify how to check for errors from subprocess.Popen(..., ↵Miss Islington (bot)2021-07-221-1/+4
| | | | | | | | | shell=True) (GH-26755) (GH-27288) (cherry picked from commit 50ffbe3dafcae7826d114df61d56c7ac45a6358c) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* Fix typo in collections.rst (GH-27270) (#27285)Miss Islington (bot)2021-07-221-1/+1
|
* bpo-30511: Add note on thread safety to shutil.make_archive() (GH-26933) ↵Miss Islington (bot)2021-07-211-0/+4
| | | | | | | | (GH-27274) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 64f54b7ccd49764b0304e076bfd79b5482988f53) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* Clean up comma usage in Doc/library/functions.rst (GH-27083) (#27243)Miss Islington (bot)2021-07-191-38/+38
| | | | | (cherry picked from commit 1e651c6adad8e4e772a15eaa9ee659b1283a96d9) Co-authored-by: α∂мιηιχтяαтσя <sadiqherritage@gmail.com>
* [3.10] bpo-44561: Update hyperlinks in Doc/distributing/index.rst (GH-27032) ↵Miss Islington (bot)2021-07-191-3/+3
| | | | | | | | | | | | | | | (GH-27234) * Update hyperlinks in Doc/distributing/index.rst Update three expired hyperlinks. Closes [bpo-44561](). (cherry picked from commit b494685b2548489efcc66993cc6c13b027ce3b26) Co-authored-by: Steven Hsu <hsuhaochun@gmail.com> Automerge-Triggered-By: GH:ncoghlan
* Correct the order of check-abidump (GH-27229)Pablo Galindo Salgado2021-07-181-4804/+9742
| | | The check was backwards so we were not correctly detecting removals.
* [3.10] bpo-44589: raise a SyntaxError when mapping patterns have duplicate ↵Miss Islington (bot)2021-07-151-4/+5
| | | | | | | | | | literal keys (GH-27131) (GH-27157) (cherry picked from commit 2693132292b2acf381ac6fa729bf3acf41d9d72b) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com> Automerge-Triggered-By: GH:brandtbucher
* bpo-34932: Add socket.TCP_KEEPALIVE for macOS (GH-25079)Miss Islington (bot)2021-07-141-0/+2
| | | | | (cherry picked from commit d59d7374a364c4e5c2b9a83d8e4543ee494285b8) Co-authored-by: Shane Harvey <shnhrv@gmail.com>
* bpo-44639: fix typo in sqlite.rst (transation => transaction) (GH-27145) ↵Miss Islington (bot)2021-07-141-1/+1
| | | | | | | | | | | | | | (GH-27148) To my understanding, this is supposed to say "transaction". See the relevant source: https://github.com/python/cpython/blob/a158b20019b50e3ece6e4743ec4e6ae8d818b690/Modules/_sqlite/connection.cGH-L1434-L1467 (cherry picked from commit 1ca27f264730abaaa48b3c5e7c6eafb45017b824) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com> Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* [3.10] Add release highlights for the 3.10 what's new document (GH-27150) ↵Pablo Galindo Salgado2021-07-141-1/+29
| | | | | | | (GH-27152) (cherry picked from commit 2b47af63982e4ccc09ae14c7c66ba115804bbbf6) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-43126: Expand docs on io.IOBase.readlines() method (GH-27061) (GH-27113)Miss Islington (bot)2021-07-131-0/+3
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 3b5b99da4b256a31933112f4a2385386149c19e1) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-44514: Add doctest testcleanup for configparser and bz2 (GH-26909) ↵Miss Islington (bot)2021-07-132-0/+10
| | | | | | | | | | (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 48a5aa7f128caf5a46e4326c1fd285cd5fc8e59d) Co-authored-by: Kevin Follstad <kfollstad@gmail.com>
* bpo-44613: Make importlib.metadata non-provisional (GH-27101) (#27106)Miss Islington (bot)2021-07-131-4/+2
| | | | | | | | | * importlib.metadata is no longer provisional as of 3.10 * Add NEWS entry (cherry picked from commit f6954cdfc50060a54318fb2aea4d80408381243a) Co-authored-by: Barry Warsaw <barry@python.org> Co-authored-by: Barry Warsaw <barry@python.org>
* bpo-42194: Add "New in version: 3.9" to argparse.BooleanOptionalAction ↵Miss Islington (bot)2021-07-121-0/+2
| | | | | | | (GH-23026) (#27097) (cherry picked from commit da2e673c53974641a0e13941950e7976bbda64d5) Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com>
* bpo-26329: update os.path.normpath documentation (GH-20138) (GH-27094)Miss Islington (bot)2021-07-121-0/+8
| | | | | (cherry picked from commit 66c5853406bbcccecf35372795078c0641a5f385) Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
* Doc: Fix wrong exception used in example. (GH-26572)Miss Islington (bot)2021-07-091-1/+1
| | | | | (cherry picked from commit 15f0fc571c1fbc84b6b74dfeb373ca3d35e4c5d7) Co-authored-by: Julien Palard <julien@palard.fr>
* docs: add the word 'official' (GH-26849)Miss Islington (bot)2021-07-081-1/+1
| | | | | (cherry picked from commit af4a2dcc40321de49bffec80bf6c6b5a7d43b134) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* bpo-43453: Update and re-add example to typing runtime_checkable (GH-27013)Miss Islington (bot)2021-07-051-2/+7
| | | | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 17f94e28882e1e2b331ace93f42e8615383dee59) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* [3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010)Ethan Furman2021-07-047-1983/+1023
| | | * [Enum] revert enum module to 3.9
* Fix a small typo in the docs (GH-26991) (GH-27003)Miss Islington (bot)2021-07-031-1/+1
| | | | | | | (cherry picked from commit a79e2b6497f7d31017c01a41a290a9b3349398fe) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com> Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
* bpo-34798: [doc] clearer presentation of pprint.PrettyPrinter constru… ↵Miss Islington (bot)2021-07-021-18/+30
| | | | | | | (GH-26967) (GH-26990) (cherry picked from commit 943e77d42d3f84b581f32c05f1fc8c05366b8ed3) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* bpo-41180: Replace marshal code.__new__ audit event with marshal.load[s] and ↵Steve Dower2021-06-301-0/+18
| | | | marshal.dumps (GH-26970)
* bpo-38062: [doc] clarify that atexit uses equality comparisons internally. ↵Miss Islington (bot)2021-06-291-5/+6
| | | | | | | | (GH-26935) (GH-26956) (cherry picked from commit 12803c59d54ff1a45a5b08cef82652ef199b3b07) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-42588: Update the docs for the TopologicalSorter.static_order() method ↵Miss Islington (bot)2021-06-291-4/+5
| | | | | | | (GH-26834) (cherry picked from commit 0d7f7975d55eff7e3dfcebd14e765fc6cd7d3e40) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* [doc] Fix typo in what's new in 3.10 (GH-26911) (GH-26940)Miss Islington (bot)2021-06-291-1/+1
| | | | | | The `try` statement was missing a colon and therefore was not exemplifying the correct `SyntaxError`. (cherry picked from commit dcb1caef5bd8e90e1ecb4c07d7114e51b49fe37a) Co-authored-by: Rodrigo Girão Serrão <rodrigogiraoserrao@gmail.com>
* bpo-40939: Remove documentation for `PyParser_*` & add porting notes ↵Miss Islington (bot)2021-06-284-98/+40
| | | | | | | | | | | (GH-26855) (GH-26898) I tried to be relatively thorough and give lots of links. One reason is that this wasn't deprecated very long; also it seems people running into this tend to not be familiar with similar APIs. (cherry picked from commit 29987f72650b7cccee4df216c8297e8484a44e6a) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
* bpo-44464: Remove special exclusion for flake8 in the deprecation warnings. ↵Miss Islington (bot)2021-06-271-1/+1
| | | | | | | | | | (GH-26807) (GH-26929) Sync with importlib_metadata 4.6. (cherry picked from commit efe7d08d178a7c09bcca994f2068b019c8633d83) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* bpo-40620: Clarify tutorial controlflow.rst ``range`` examples (GH-26919) ↵Miss Islington (bot)2021-06-271-14/+8
| | | | | | | | (GH-26927) (cherry picked from commit 2f49c9debc2efe010c757be3bdbd6493f1ebc5f6) Co-authored-by: jdevries3133 <58614260+jdevries3133@users.noreply.github.com>