summaryrefslogtreecommitdiff
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* [3.9] Move field width to the right field (GH-29344) (GH-29350)Miss Islington (bot)2021-10-311-2/+2
| | | Co-authored-by: Olaf van der Spek <olafvdspek@gmail.com>
* bpo-45516: add protocol description to the Traversable documentation (GH-29039)Miss Islington (bot)2021-10-311-0/+40
| | | | | | | | | | | | | | | | | | | | * bpo-45516: add protocol description to the Traversable documentation Signed-off-by: Filipe Laíns <lains@riseup.net> * Update Doc/library/importlib.rst Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> * Update Lib/importlib/abc.py * Update Doc/library/importlib.rst Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> (cherry picked from commit 4d03de3329ed8daa9c1107b1aedbb0fa280bddb6) Co-authored-by: Filipe Laíns <filipe.lains@gmail.com>
* bpo-45600: Enhanced / clarified the docs for os.environ and os.environb ↵Miss Islington (bot)2021-10-291-7/+8
| | | | | | | | (GH-29204) (GH-29321) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit b17cfd150f4dc2816975d304a71110a2d445eaf0) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-45335: Add note to `sqlite3` docs about "timestamp" converter (GH-29200) ↵Miss Islington (bot)2021-10-291-0/+6
| | | | | | | (GH-29320) (cherry picked from commit 3877fc02f7a8801ba5ce0e94b6075b3fdd9778d0) Co-authored-by: Ian Fisher <ian@iafisher.com>
* [3.9] bpo-45655: Add "relevant PEPs" section to typing documentation (GH-29297)Alex Waygood2021-10-281-6/+32
| | | | Backport of https://github.com/python/cpython/pull/29280 to the 3.9 branch.
* bpo-45583: Correct datamodel documentation of int() (GH-29182) (GH-29286)Miss Islington (bot)2021-10-281-2/+2
| | | | | | | It should be noted that this part of the documentation is redundant with function.rst's documentation of int. This one was correctly updated with Python 3.8. (cherry picked from commit d9c1868c25ec6466e8d8ae21fe9315a8a03836ab) Co-authored-by: Arthur Milchior <arthur@milchior.fr>
* bpo-45604: add `level` argument to `multiprocessing.log_to_stderr` func ↵Miss Islington (bot)2021-10-281-1/+2
| | | | | | | | (GH-29226) (GH-29284) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 1fb968c07a76fb2d1ec8c14a0026f1d15828f4a5) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* bpo-45608: Document missing `sqlite3` DB-API attributes and methods ↵Miss Islington (bot)2021-10-281-0/+46
| | | | | | | (GH-29219) (GH-29282) (cherry picked from commit 88d8a1a340fb09c54d47f354f5fd7d4fbc5f0c78) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-28737: Document when tp_dealloc should call PyObject_GC_UnTrack() ↵Miss Islington (bot)2021-10-283-9/+33
| | | | | | | | | | (GH-29246) (GH-29248) Objects that support garbage collection ("container" objects) should call PyObject_GC_UnTrack() from their destructors before clearing any fields which may point to other "container" objects. (cherry picked from commit 35e1ff38ee67ee543d9fcb268c3552c5397f9b3f) Co-authored-by: Sam Gross <colesbury@gmail.com>
* [3.9] bpo-45618: Fix documentation build by pinning Docutils version to ↵Ned Deily2021-10-271-0/+4
| | | | | | 0.17.1 (GH-29230) (GH-29241) Co-authored-by: Maciej Olko <maciej.olko@yougov.com> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-44344: Document that pow can return a complex number for non-complex ↵Miss Islington (bot)2021-10-221-1/+4
| | | | | | | | inputs. (GH-27853) (GH-29134) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 887a55705bb6c05a507c2886c9978a9e0cff0dd7) Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
* bpo-41983: add availability info to socket docs (GH-27519) (GH-29137)Miss Islington (bot)2021-10-221-0/+4
| | | | | | | | * add availability info to AF_PACKET section * add availability for AF_QIPCRTR as well (cherry picked from commit 51375388bee7287be2d942906b48c8cf3f691e8b) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* [3.9] bpo-44174: [Enum] add name-mangling reference (GH-29128)Ethan Furman2021-10-211-2/+2
|
* bpo-34451: Document prompt and output toggle feature in html tutorial ↵Miss Islington (bot)2021-10-211-0/+7
| | | | | | | (GH-27105) (GH-29120) (cherry picked from commit 5a14f71fe869d4a62dcdeb9a8fbbb5884c75060c) Co-authored-by: Thomas <thmsdnnr@gmail.com>
* [3.9] bpo-42517: [ENUM] update docs for changes coming in 3.11 (GH-29113)Ethan Furman2021-10-201-2/+11
|
* bpo-45464: [doc] Explain that subclassing multiple exceptions is fragile ↵Miss Islington (bot)2021-10-201-0/+23
| | | | | | | | (GH-29094) (GH-29105) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> (cherry picked from commit dff0b713436e286bb1afdd7c6f3093c8e8db16dd) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.9] bpo-45449: add note about PEP 585 in collections.abc's documentation ↵Łukasz Langa2021-10-191-0/+3
| | | | | | | | | | (GH-29047) (GH-29068) Signed-off-by: Filipe Laíns <lains@riseup.net> Co-authored-by: Łukasz Langa <lukasz@langa.pl>. (cherry picked from commit 7bafa0cf586227987d3d662264d491e3780024b7) Co-authored-by: Filipe Laíns <lains@riseup.net>
* bpo-45515: Add zoneinfo to the datetime documentation (GH-29038) (GH-29066)Miss Islington (bot)2021-10-191-4/+6
| | | | | | | | We should have done this way back when 3.9 was released, but it fell off the radar. Co-authored-by: Paul Ganssle <git@m.ganssle.io> (cherry picked from commit 8e40ca127fa92d6113617c80710e0a077977a84d)
* Improve multiserver queue recipe (GH-29012) (GH-29014)Miss Islington (bot)2021-10-181-5/+6
|
* [3.9]bpo-45463: Clarify that global statements allows multiple names ↵Miss Islington (bot)2021-10-161-4/+4
| | | | | | | | | | | | | | (GH-28851) (GH-28990) The global statement allows specifying a list of identifiers (https://docs.python.org/3/reference/simple_stmts.htmlGH-the-global-statement). The "Execution model" chapter described the global statement as if it only allowed one single name. Pluralize "name" in the appropriate places. (cherry picked from commit 4ecd119b007cb766b8bede2dc78b70d29cd932dd) Co-authored-by: Luca Chiodini <luca@chiodini.org> Co-authored-by: Luca Chiodini <luca@chiodini.org>
* bpo-45467: Fix IncrementalDecoder and StreamReader in the ↵Serhiy Storchaka2021-10-141-316/+324
| | | | | | | | | | "raw-unicode-escape" codec (GH-28944) (GH-28953) They support now splitting escape sequences between input chunks. Add the third parameter "final" in codecs.raw_unicode_escape_decode(). It is True by default to match the former behavior. (cherry picked from commit 39aa98346d5dd8ac591a7cafb467af21c53f1e5d)
* [3.9] bpo-45461: Fix IncrementalDecoder and StreamReader in the ↵Serhiy Storchaka2021-10-141-2584/+7436
| | | | | | | | | | | | "unicode-escape" codec (GH-28939) (GH-28945) They support now splitting escape sequences between input chunks. Add the third parameter "final" in codecs.unicode_escape_decode(). It is True by default to match the former behavior. (cherry picked from commit c96d1546b11b4c282a7e21737cb1f5d16349656d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-20692: Add Programming FAQ entry for 1.__class__ error. (GH-28918)Miss Islington (bot)2021-10-121-0/+21
| | | | | | To avoid error, add either space or parentheses. (cherry picked from commit 380c44087505d0d560f97e325028f27393551164) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Slight correct grammar (GH-28860)Miss Islington (bot)2021-10-121-1/+1
| | | | | | (cherry picked from commit 1b11582f0e00f08833da6adc44030a8b1961989a) Co-authored-by: nobodyatandnothing <91722596+nobodyatandnothing@users.noreply.github.com>
* bpo-45441: Update some moved URLs in documentation (GH-28861)Miss Islington (bot)2021-10-124-6/+6
| | | | | (cherry picked from commit b37dc9b3bc9575adc039c6093c643b7ae5e917e1) Co-authored-by: 180909 <wjh180909@gmail.com>
* bpo-42253: Update xml.dom.minidom.rst (GH-23126) (GH-28875)Miss Islington (bot)2021-10-121-0/+8
| | | | | | | | Document that the "standalone" parameter was added in Python 3.9. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit c7e81fcf9548ab6a0a4828d6f2db9ece9d204826) Co-authored-by: Jens Diemer <github.com@jensdiemer.de>
* bpo-45351, asyncio: Enhance echo server example, print all addresses (GH-28828)Miss Islington (bot)2021-10-111-2/+2
| | | | | (cherry picked from commit 659812b451aefe1f0e5f83540296519a5fb8f313) Co-authored-by: Olaf van der Spek <olafvdspek@gmail.com>
* Fix the "Finding all Adverbs" example (GH-21420) (#28840)Miss Islington (bot)2021-10-101-2/+2
| | | | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit dbd62e74dadda7868f1c0d497414c8f7e4c0b12b) Co-authored-by: Rim Chatti <chattiriim@gmail.com>
* [doc] Mention __slots__ behavior in weakref.rst (GH-21061) (GH-28773)Miss Islington (bot)2021-10-061-0/+4
| | | | | | | | | | | | It took me longer than I expected to figure out why a random class I dealt with didn't support weak references. I believe this addition will make the __slots__/weakref interaction more discoverable to people having troubles with this. (Before this patch __slots__ was not mentioned in weakref documentation even once). Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit b24b47e64355224c1bf4e46ed7c4d9f7df4e6f09) Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
* bpo-34804: [doc] Rephrase section on side effects in functional.rst for ↵Miss Islington (bot)2021-10-061-5/+4
| | | | | | | | clarity (GH-27989) (GH-28763) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 7af95a1e8097b2aab2cbe8de88727809e745b658) Co-authored-by: DonnaDia <37962843+DonnaDia@users.noreply.github.com>
* [3.9] [doc] Fix typos found using codespell (GH-28744) (GH-28759)Christian Clauss2021-10-065-7/+7
|
* [doc] Update references to NumPy (GH-22458) (GH-28749)Miss Islington (bot)2021-10-064-8/+5
| | | | | | Numeric(al) Python to NumPy. It seems the old name hasn't been used for some time. (cherry picked from commit c8bb24166e367d449158015cb9b1093f03c7175d) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* sqlite3: Modernize documentation around unicode and bytes. (GH-28652) (GH-28695)Miss Islington (bot)2021-10-052-4/+4
| | | | | (cherry picked from commit 1dac95c814763eb8a53896ac4326d8d51895d43d) Co-authored-by: Julien Palard <julien@palard.fr>
* [doc] Fix gethostbyname_ex description (GH-28700) (GH-28743)Miss Islington (bot)2021-10-051-2/+2
| | | | | | | | It seems part of `gethostbyname_ex` doc was copied from `gethostbyaddr`. The latter has an `ip_address` parameter whereas the former doesn't. (cherry picked from commit 4103280b83e1419bef535a42813d6dbe83bfe880) Co-authored-by: Andre Delfino <adelfino@gmail.com> Co-authored-by: Andre Delfino <adelfino@gmail.com>
* bpo-45341: Replace 'Packaging' with 'Package' in "Python P... Index" ↵Miss Islington (bot)2021-10-022-7/+7
| | | | | | | | | (GH-28687) (GH-28689) pypi.org " The Python Package Index (PyPI) ... (cherry picked from commit 0be338199fd663f020d833a4db185d0c5a0e0078) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.9] [docs] Improve the markup of powers (GH-28598) (GH-28608)Łukasz Langa2021-09-289-19/+19
| | | | | (cherry picked from commit 4f05f15d7b25ef8b690cb94fdc4c8cb5521a4e27) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [doc] fix minor typo for argparse (GH-28451)Miss Islington (bot)2021-09-281-1/+1
| | | | | | "A JSONDecodeError" instead of "An JSONDecodeError". (cherry picked from commit db0133f98dd42d0fb82a7675bde175cec51bb860) Co-authored-by: Louis Sautier <sautier.louis@gmail.com>
* bpo-45277: Fix typo in codecs doc (GH-28555)Miss Islington (bot)2021-09-241-1/+1
| | | | | | encoding => encode (cherry picked from commit 4c0fc65cd8a6d4c18330505576ccd4b46abeec1c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-38623: Add note about site module (site-packages) (GH-16974) (GH-28537)Miss Islington (bot)2021-09-241-1/+2
| | | | | (cherry picked from commit 55b45bf707c6c8084db259fe2f8aa08e84ea0d99) Co-authored-by: Peter Bittner <django@bittner.it>
* [docs] Update documentation for `multiprocessing.get_start_method` ↵Miss Islington (bot)2021-09-231-1/+7
| | | | | | | (GH-18170) (GH-28534) (cherry picked from commit af90b5498b8c6acd67b50fdad007d26dfd1c5823) Co-authored-by: Sam Sneddon <me@gsnedders.com>
* [3.9] Fix legacy logging module URL (GH-28528) (GH-28531)Miss Islington (bot)2021-09-231-1/+1
| | | Co-authored-by: Sean Leavey <SeanDS@users.noreply.github.com>
* bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515) (GH-28524)Miss Islington (bot)2021-09-2329-69/+69
| | | | | | | | | | Replace old names when they refer to actual versions of macOS. Keep historical names in references to older versions. Co-authored-by: Patrick Reader <_@pxeger.com> (cherry picked from commit 36122e18148c5b6c78ebce1d36d514fd7cf250f5) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.9] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28512)Łukasz Langa2021-09-224-4/+3
| | | | | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>. (cherry picked from commit 8f943ca25732d548cf9f0b0393ba8d582fb93e29) Co-authored-by: Mohamad Mansour <66031317+mohamadmansourX@users.noreply.github.com>
* bpo-45246: Document that sorted() only uses "<" comparisons (GH-28494)Miss Islington (bot)2021-09-211-0/+9
| | | | | (cherry picked from commit 9a0dcc5b2e04d9c51350107734f12a1cbc0284a7) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-30637: Improve the docs of ast.parse regarding differences with ↵Miss Islington (bot)2021-09-191-0/+13
| | | | | | | compile() (GH-28459) (cherry picked from commit e6d05a4092b4176a30d1d1596585df13c2ab676d) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.9] Fix minor typo in Doc/c-api/type.rst (GH-28432) (GH-28441)Miss Islington (bot)2021-09-171-1/+1
| | | | | | | | | retreived-> retrieved (cherry picked from commit af08f1ba40505bf1380c08b57ba4e0b8969a8358) Co-authored-by: Konstantin Popov <konst.hardy@gmail.com> Automerge-Triggered-By: GH:Fidget-Spinner
* [doc] Clarify exception in `multiprocessing.cpu_count` (GH-23660) (GH-28434)Miss Islington (bot)2021-09-181-1/+2
| | | | | | | | Previous wording didn't explain the slightly unintuitive behavior. Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 24dbe30f8df80740704db3743d071b3218d1276e) Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
* bpo-42038: fix description of returned list of lines (GH-27529) (GH-28429)Miss Islington (bot)2021-09-181-6/+6
| | | Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* [doc] Add a missing apostrophe in a code example in venv.rst (GH-28391) ↵Miss Islington (bot)2021-09-181-1/+1
| | | | | | | (GH-28426) (cherry picked from commit d22a700091af35ce52db0b1fbb02115bb6efbb1f) Co-authored-by: Arkaprabha Chakraborty <chakrabortyarkaprabha998@gmail.com>
* bpo-45217: adds note that `allow_no_value` in `configparser` is optional ↵Miss Islington (bot)2021-09-171-1/+2
| | | | | | | | (GH-28396) (GH-28416) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit cb07838ab756564988b1ffd23871f1222a832446) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>