summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* [3.9] bpo-38320: Clarify that expectedFailure is satisfied by either failure ↵Miss Islington (bot)2020-11-181-5/+6
| | | | | | | | or error of the test. (GH-22740) (GH-22783) (cherry picked from commit fa8748271a61177e9bf609921fa464cc6990478b) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
* bpo-42153 Fix link to IMAP documents in imaplib.rst (GH-23297)Miss Islington (bot)2020-11-161-3/+3
| | | | | | The University of Washington stopped hosting the IMAP documents. Link to a rescued copy on GitHub. (cherry picked from commit aa01011003bb855cd52abfd49f2443446590d913) Co-authored-by: Yash Shete <universeyash4@gmail.com>
* More updates to the descriptor howto guide (GH-23238) (GH-23308)Miss Islington (bot)2020-11-161-45/+62
|
* bpo-42317: Improve docs of typing.get_args concerning Union (GH-23254)Miss Islington (bot)2020-11-161-0/+3
| | | | | (cherry picked from commit c3b9592244a9112d8af9610ff1c4e1e4cd4bfaca) Co-authored-by: Dominik1123 <15989985+Dominik1123@users.noreply.github.com>
* fix typo in ThreadedChildWatcher docs (GH-23277)Miss Islington (bot)2020-11-141-1/+1
| | | | | (cherry picked from commit 8836574a0f34ae81643c8af79bbb9062e332a4e3) Co-authored-by: Thomas Grainger <tagrain@gmail.com>
* bpo-42344: Improve pseudo implementation for SimpleNamespace (GH-23264) ↵Miss Islington (bot)2020-11-131-1/+3
| | | | | | | | | (GH-23270) (cherry picked from commit bbeb2d266d6fc1ca9778726d0397d9d6f7a946e3) Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com> Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com>
* [3.9] bpo-42042: Use ids attribute instead of names attribute (GH-22739) ↵Dong-hee Na2020-11-131-2/+2
| | | | | | | (GH-23265) (cherry picked from commit 09490a109faaee9cc393b52742a8575c116c56ba) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* [3.9] bpo-42086: Document AST operator nodes acts as a singleton (GH-22896) ↵Miss Islington (bot)2020-11-131-0/+7
| | | | | | | | | (GH-22897) Automerge-Triggered-By: GH:gvanrossum (cherry picked from commit b37c994e5ac73268abe23c52005b80cdca099793) Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
* [3.9] bpo-4bpo-42314: Fix the documentation for venv --upgrade-deps ↵Zackery Spytz2020-11-101-1/+1
| | | | | (GH-22113) (GH-23232) It was added in 3.9, not 3.8.
* Minor wording change in concurrent.futures. (GH-23194)Miss Islington (bot)2020-11-081-3/+3
| | | | | | Fixes a grammar problem by adding a missing "as", and clarifies the wording of the valid ranges for max_workers. (cherry picked from commit fd6f6fa403789c8877b1099cc6fcc437d2e54634) Co-authored-by: Don Kirkby <donkirkby@users.noreply.github.com>
* Minor grammar edits for the descriptor howto guide (GH-#23175) (GH-23186)Raymond Hettinger2020-11-071-10/+10
|
* Remove outdated reference to pywin32 from platform module (GH-22005)Miss Islington (bot)2020-11-061-7/+0
| | | | | (cherry picked from commit 7c01f1540f958d4f52188b28afca721a9a6925c3) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* bpo-42179: Doc/tutorial: Remove mention of __cause__ (GH-23162)Miss Islington (bot)2020-11-061-9/+10
| | | | | (cherry picked from commit bde33e428d5b5f88ec7667598fd27d1091840537) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-42180: fix plural in arguments and control (GH-23015) (GH-23114)Miss Skeleton (bot)2020-11-031-1/+1
| | | | | | https://bugs.python.org/issue42180 (cherry picked from commit b76a8400217827e604ebb543f45156f3caacd9a0) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
* bpo-42230: Improve asyncio documentation regarding accepting sets vs ↵Miss Skeleton (bot)2020-11-021-4/+4
| | | | | | | | | | | | | | | | | iterables (GH-23073) People call wait() and as_completed() with various non-set iterables, a list should be the most common but there are others as well[1]. Considering typeshed also documents wait()[2] and as_completed()[3] as accepting arbitrary iterables I think it's a good idea to document the status quo better. [1] https://github.com/aio-libs/aiokafka/pull/672 [2] https://github.com/python/typeshed/blob/620989bac572f30349b95590ebe81a73ce0fe862/stdlib/3/asyncio/tasks.pyiGH-L161 [3] https://github.com/python/typeshed/blob/620989bac572f30349b95590ebe81a73ce0fe862/stdlib/3/asyncio/tasks.pyiGH-L40 (cherry picked from commit 3d86d090dcbbdfdd3e5a5951cab30612d6131222) Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
* Minor formatting edits to the descriptor howto guide (GH-23092) (GH-23095)Miss Skeleton (bot)2020-11-021-19/+20
|
* Add member objects to the descriptor howto guide (GH-23084) (GH-23090)Miss Skeleton (bot)2020-11-021-0/+156
|
* Expand and clarify the "Invoking Descriptors" section of the Descriptor ↵Miss Skeleton (bot)2020-11-012-38/+79
| | | | HowTo (GH-23078) (GH-23080)
* bpo-37483: Add PyObject_CallOneArg() in the What's New in Python 3.9 (GH-23062)Miss Skeleton (bot)2020-11-011-0/+4
| | | | | (cherry picked from commit 7feb54a6348f6220b27986777786c812f110b53d) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* [3.9] bpo-42198: Document __new__ for types.GenericAlias (GH-23039) (GH-23061)kj2020-10-312-2/+14
| | | (cherry picked from commit bcbf758476c1148993ddf4b54d3f6169b973ee1c)
* bpo-42198: Link to GenericAlias in typing and expressions (GH-23030)Miss Skeleton (bot)2020-10-302-44/+75
| | | | | | Follow up to 7cdf30fff39ea97f403b5472096349998d190e30 and 4173320920706b49a004bdddd8d7108e8984e3fc. This addresses the point "1. Update links in typing, subscription and union to point to GenericAlias." in the bpo for this PR. (cherry picked from commit 9129af6050b747f288baa9d4e7d43031647ed222) Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-42061: Document __format__ for IP addresses (GH-23018)Miss Skeleton (bot)2020-10-292-4/+38
| | | | | | Automerge-Triggered-By: GH:ericvsmith (cherry picked from commit 3317466061509c83dce257caab3661d52571cab1) Co-authored-by: Teugea Ioan-Teodor <teodor.teugea@gmail.com>
* [3.9] bpo-41805: Documentation for PEP 585 (GH-22615) (GH-23016)kj2020-10-283-0/+208
| | | Backport of #22615 to 3.9 since that couldn't be auto-merged due to conflicts.
* bpo-6761: Enhance __call__ documentation (GH-7987)Miss Skeleton (bot)2020-10-271-1/+1
| | | | | (cherry picked from commit 95f710c55714153f0c8cce48f8215bb3d866ac1d) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* Add a link to buffer protocol in bytearray() doc (GH-22675)Miss Skeleton (bot)2020-10-261-2/+2
| | | | | (cherry picked from commit 0f25c231b3a024e358c3e55d9aba2f7bcc49630c) Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com>
* bpo-39108: Document threading issues for random.gauss() (GH-22928) (GH-22972)Miss Skeleton (bot)2020-10-251-0/+7
|
* Split-out a fourth section in the descriptor HowTo guide (GH-22965) (GH-22969)Miss Skeleton (bot)2020-10-251-46/+50
|
* Second round of updates to the descriptor howto guide (GH-22946) (GH-22958)Miss Skeleton (bot)2020-10-251-96/+156
|
* bpo-29981: Add examples and update index for set, dict, and generator ↵Miss Skeleton (bot)2020-10-253-0/+30
| | | | | | | | comprehensions'(GH-20272) Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr> (cherry picked from commit 2d55aa9e37c9c84f4f6a8135d0326da0bcd8f38b) Co-authored-by: Florian Dahlitz <f2dahlitz@freenet.de>
* bpo-42127: Document effect of cached_property on key-sharing dictionaries ↵Miss Skeleton (bot)2020-10-251-9/+24
| | | | (GH-22930) (GH-22955)
* [doc] Fix link to abc.ABCMeta.register in Glossary (GH-22932)Miss Skeleton (bot)2020-10-251-1/+1
| | | | | (cherry picked from commit e01e442125bbc98e6dab66f38ecc6c45f69e6587) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* bpo-19072: Update descriptor howto for decorator chaining (GH-22934) (GH-22935)Miss Skeleton (bot)2020-10-241-3/+13
|
* bpo-41950: Typo in Python 3.9 what's new page (GH-22573)Weiliang Li2020-10-241-1/+1
|
* Create a primer section for the descriptor howto guide (GH-22906) (GH0-22918)Miss Skeleton (bot)2020-10-233-59/+499
|
* [3.9] bpo-38486: Fix dead qmail links in the mailbox docs (GH-22239) (GH-22901)Miss Skeleton (bot)2020-10-221-10/+4
| | | | | | | | (cherry picked from commit ec388cfb4ede56dace2bb78851ff6f38fa2a6abe) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Automerge-Triggered-By: GH:warsaw
* bpo-25655: Improve Win DLL loading failures doc (GH-22372)Miss Skeleton (bot)2020-10-221-0/+15
| | | | | | | | | Add documentation to help diagnose CDLL dependent DLL loading errors on windows for OSError with message: "[WinError 126] The specified module could not be found" This error is otherwise difficult to diagnose. (cherry picked from commit b6f2fc90409e291822166d74ce7402e0ef4dba91) Co-authored-by: Philippe Ombredanne <pombredanne@gmail.com>
* [3.9] Remove 3.5 from Doc version switcher in master. (GH-22886) (#22888)larryhastings2020-10-222-2/+0
| | | (cherry picked from commit 283f9a253b4ff4df728558205629b3bb3af6e47f)
* bpo-41910: specify the default implementations of object.__eq__ and ↵Miss Skeleton (bot)2020-10-221-6/+8
| | | | | | | object.__ne__ (GH-22874) (#22876) See Objects/typeobject.c:object_richcompare() for the implementation of this in CPython. Co-authored-by: Brett Cannon <brett@python.org>
* bpo-35181: Correct importlib documentation for some module attributes (GH-15190)Miss Skeleton (bot)2020-10-212-21/+11
| | | | | | | | | | | | | | | | | | @ericsnowcurrently This PR will change the following: In the library documentation importlib.rst: - `module.__package__` can be `module.__name__` for packages; - `spec.parent` can be `spec.__name__` for packages; - `spec.loader` is not `None` for namespaces packages. In the language documentation import.rst: - `spec.loader` is not `None` for namespace packages. Automerge-Triggered-By: GH:warsaw (cherry picked from commit 27f1bd8787d24ac53cc3dc6ea5eb00b8a3499839) Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
* Fix bpo-39416: Change "Numeric" to lower case; an english word, not a class ↵Miss Skeleton (bot)2020-10-211-1/+1
| | | | | | | | | | | | | | | | | name (GH-22867) This is a trivial fix to [bpo-39416](), which didn't come up until it was already committed ``` Change "Numeric" to "numeric". I believe this is trivial enough to not need an issue or a NEWS entry, although I'm unclear on what branches the original pull request received backports. ``` Automerge-Triggered-By: GH:merwok (cherry picked from commit f8b1ccd63c94bcde1c15d56d24add89861b6ceee) Co-authored-by: kpinc <kop@karlpinc.com>
* bpo-41959: Fix grammar around class asyncio.MultiLoopChildWatcher text ↵Miss Skeleton (bot)2020-10-211-1/+1
| | | | | | | | | | (GH-22580) (#22865) While translating the following document to Spanish we found there is a grammar issue on the original documentation. (cherry picked from commit caff2934f46510920a6169e192707d59e9c55f6b) Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com> Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com>
* [3.9] bpo-39416: Document some restrictions on the default string ↵Miss Skeleton (bot)2020-10-211-0/+18
| | | | | | | | | | | | | | | | | | | | | | representations of numeric classes (GH-18111) (GH-22860) [[bpo-39416]()](): Document string representations of the Numeric classes This is a change to the specification of the Python language. The idea here is to put sane minimal limits on the Python language's default representations of its Numeric classes. That way "Marty's Robotic Massage Parlor and Python Interpreter" implementation of Python won't do anything too crazy. Some discussion in the email thread: Subject: Documenting Python's float.__str__() https://mail.python.org/archives/list/python-dev@python.org/thread/FV22TKT3S2Q3P7PNN6MCXI6IX3HRRNAL/ (cherry picked from commit c60394c7fc9cc09b16e9675a3eeb5844b6d8523f) Co-authored-by: kpinc <kop@karlpinc.com> Automerge-Triggered-By: GH:merwok
* Doc: Fix a typo/error in the docs for cached bytecode (GH-22445)Miss Skeleton (bot)2020-10-211-1/+1
| | | | | (cherry picked from commit cb115e36e1aba04b90b0ecac6f043e60064ac65b) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* Doc: Do not suggest `s[::-1]` for reversed order (GH-22457)Miss Skeleton (bot)2020-10-212-7/+1
| | | | | (cherry picked from commit fb2e94692e3a8eb66915575f4a122d56fe8999a0) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* Doc: Do not encourage using a base class name in a derived class (GH-22177)Miss Skeleton (bot)2020-10-211-6/+6
| | | | | (cherry picked from commit 4642ccd1c3e460cb2746d3f2095f1c1d1bafa4fe) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* Doc: Remove old Python version from future stmt (GH-21802)Miss Skeleton (bot)2020-10-211-2/+2
| | | | | (cherry picked from commit eba109a28f48b20b05f08abbe6604eebb07788f9) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* bpo-41646: Mention path-like objects support in the docs for shutil.copy() ↵Miss Skeleton (bot)2020-10-211-3/+3
| | | | | | | (GH-22208) (cherry picked from commit 8f2b991eef062c22c429a96983c78be007180b66) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* [3.9] bpo-42010: [docs] Clarify subscription of types (GH-22822) (GH-22840)Miss Skeleton (bot)2020-10-201-2/+13
| | | | | | | | (cherry picked from commit 7cdf30fff39ea97f403b5472096349998d190e30) Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com> Automerge-Triggered-By: GH:gvanrossum
* bpo-41192: Add documentation of undocumented audit events (GH-22831)Miss Skeleton (bot)2020-10-205-2/+56
| | | | (cherry picked from commit 3f7e990fd49dbabc1dde41ce58c1bdda9f56ead7)
* [3.9] bpo-41192: Clarify the sys module's description of the auditing ↵Andrew Kuchling2020-10-201-10/+25
| | | | | | | feature (GH-22821) Co-authored-by: Éric Araujo <merwok@netwok.org> (cherry picked from commit 0c37269be7065b9b15b7b3a4406084f9535a793a)