summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Fix description of behaviour of an exception class in 'from' clause ↵Miss Islington (bot)2021-04-111-4/+7
| | | | | | | | | (GH-24303) (GH-25342) (cherry picked from commit 79650d0118b0a8861428b9dd063089de405cf137) Co-authored-by: Mark Dickinson <mdickinson@enthought.com> Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
* bpo-43739: Add type declaration Doc/extending/extending.rst example (GH-25332)Miss Islington (bot)2021-04-101-1/+1
|
* Add ignore file for the abidump check (GH-25322)Pablo Galindo2021-04-091-0/+8
|
* bpo-38820: OpenSSL 3.0.0: Use supported hashing algos in doc test (GH-25319)Miss Islington (bot)2021-04-091-2/+2
| | | | | | | | | ripemd160 is not available in OpenSSL 3.0.0's default crypto provider. It's only present in legacy provider. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 2d7fdc90731e132f9d6b43852ee112f25831394b) Co-authored-by: Christian Heimes <christian@python.org>
* bpo-43794: OpenSSL 3.0.0: set OP_IGNORE_UNEXPECTED_EOF by default (GH-25309)Miss Islington (bot)2021-04-091-0/+8
| | | | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 6f37ebc61e9e0d13bcb1a2ddb7fc9723c04b6372) Co-authored-by: Christian Heimes <christian@python.org>
* Add CI step to check changes in the exported ABI (GH-25232)Pablo Galindo2021-04-091-0/+16017
|
* [3.8] bpo-43087: Fix error in ctypes "Incomplete Types" doc (GH-24404)Miss Islington (bot)2021-04-081-2/+2
| | | | | | | | The previous "Fundamental data types" section says a c_char_p must be bytes (or None). (cherry picked from commit 14829b09eb652f457cf837836909169746a810f0) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* [3.8] bpo-36540: Improve doc of function definition regarding ↵Saiyang Gou2021-04-071-2/+8
| | | | | | | positional-only arguments (GH-25235) (GH-25260) (cherry picked from commit 58d72cab89cf9652acc0bf0007aa20b2bcc98499) Co-authored-by: Saiyang Gou <gousaiyang@163.com>
* bpo-42999: Expand and clarify pathlib.Path.link_to() documentation. (GH-24294)Steve Dower2021-04-071-7/+14
| | | Co-authored-by: Barney Gale <barney.gale@gmail.com>
* bpo-43705: Document that SyntaxError's offsets are 1-indexed (GH-25153)Miss Islington (bot)2021-04-021-3/+19
| | | | | | | | Changed the inline mentions of the attributes into a proper attribute list like `SystemExit` has. Automerge-Triggered-By: GH:gvanrossum (cherry picked from commit b2a91e0c9ee18b50cc86b21211c2258520a9f5d0) Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
* Doc: io: Remove "In-memory streams" section (GH-24927)Miss Islington (bot)2021-04-011-10/+0
| | | | (cherry picked from commit b045cdaf341f80b7d1e4804b932b6e415600c2e1) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* Fix grammar in enum documentation. (GH-24689)Miss Islington (bot)2021-04-011-1/+1
| | | | | | | | | There is an extra `s` in the singular word `method`. Reported in docs mailing list by Steven Nguyen. Automerge-Triggered-By: GH:Mariatta (cherry picked from commit f193874056fb185305084b79b32d2745ce9be7cf) Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
* bpo-42225: IDLE - document two unix-related problems. (GH-25078)Miss Islington (bot)2021-03-311-2/+17
| | | | | | | 1. Bad IP masquerade rules can prevent startup. 2. X cannot handle some complex colored chars. (cherry picked from commit 1b4a9c7956d5dc64f8002f62bf0faae2d1892f90) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.8] bpo-31907: [doc] clarify that str.format() does not support arbitrary ↵Miss Islington (bot)2021-03-281-2/+2
| | | | | | | | | | expressions (GH-25053) (GH-25056) (cherry picked from commit fb1d01b9630b5069fe975f16e07a027d90b89434) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com> Automerge-Triggered-By: GH:ericvsmith
* bpo-39231: correct tutorial annotations section (GH-25029)Miss Islington (bot)2021-03-271-1/+1
| | | | | (cherry picked from commit a53e9a7cf5912a44c5143e353912e44cfcfca7dc) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
* bpo-39616: clarify SSLContext.check_hostname effect (GH-18484)Miss Islington (bot)2021-03-271-1/+1
| | | | | | | | It doesn't actually affect whether match_hostname() is called (it never is in this context any longer), but whether hostname verification occurs in the first place. (cherry picked from commit 9798cef92b882cd82a338d3368eaf3c4a32f5c2d) Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
* bpo-43620: Remove reference to os.sep from os.path.join() doc (GH-25025, ↵Miss Islington (bot)2021-03-261-5/+4
| | | | | | | | GH-5030) - removed ambiguous reference to os.sep from os.path.join() doc (cherry picked from commit 21a2cabb3795f5170c746ab8f29e9d25c7442550) Co-authored-by: Jared Sutton <jpsutton@gmail.com>
* Clarify attribute docs on types.ModuleType (GH-24974)Miss Islington (bot)2021-03-231-2/+30
| | | | | (cherry picked from commit 76b5d714e4e2b9f3b63847325cba51d4c4dc36bc) Co-authored-by: Brett Cannon <brett@python.org>
* bpo-43353: Document that logging.getLevelName() accepts string ↵Mariusz Felisiak2021-03-171-8/+17
| | | | | | | representation of logging level. (GH-24693) (#24825) (cherry picked from commit bbba28212ce0f58096a4043f32442c6e727b74fc) Automerge-Triggered-By: GH:vsajip
* bpo-43506: Doc: Update removal schedule for Py_UNICODE encoder APIs (GH-24885)Miss Islington (bot)2021-03-161-11/+15
| | | | See PEP 624. (cherry picked from commit 1330338583d183250186a8123b99d2283e945b4f)
* [3.8] bpo-43285: Whats New entry for 3.8.9. (GH-24889)Gregory P. Smith2021-03-161-0/+9
| | | Covers the ftplib security fix.
* Fix typo in the word "spaghetti" (GH-24866)Miss Islington (bot)2021-03-151-1/+1
| | | | | | Automerge-Triggered-By: GH:Mariatta (cherry picked from commit 93d33b47af70ede473f82d7953509a0607259c31) Co-authored-by: Kazantcev Andrey <45011689+heckad@users.noreply.github.com>
* [3.8] [doc] Document logging.basicConfig default format (GH-23710) (GH-24847)Andre Delfino2021-03-151-1/+3
| | | (cherry picked from commit 35cacce5253c50eed0d285836f9ca0ac568991ca)
* bpo-43199: Briefly explain why no goto (GH-24852)Miss Islington (bot)2021-03-151-1/+9
| | | | | | Answer "Why is there no goto?" in the Design and History FAQ. (cherry picked from commit 5e29021a5eb10baa9147fd977cab82fa3f652bf0) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Update link to Django's Context class. (GH-24805) (#24842)Miss Islington (bot)2021-03-132-2/+2
| | | | | | | * Update link to Django's Context class. * Update link to get-pip.py. (cherry picked from commit d0a445490e2c0e1d2aef3005f14211d9a85196bf) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* [3.8] bpo-43439: Add audit hooks for gc functions (GH-24794). (GH-24810)Pablo Galindo2021-03-101-0/+5
| | | | | (cherry picked from commit b4f9089d4aa787c5b74134c98e5f0f11d9e63095) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-43446: Fix markup in sqlite3 footnote (GH-24806)Miss Islington (bot)2021-03-091-1/+1
| | | | | (cherry picked from commit 62a03cd490f81c0fb01eaceb31aa8a4c7800ed0e) Co-authored-by: Kamil Turek <kamil.turek@hotmail.com>
* bpo-3329: Fix typo in PyObjectArenaAllocator doc (GH-24795)Miss Islington (bot)2021-03-091-1/+1
| | | | | (cherry picked from commit 0d6bd1ca7c683137d52041194f3a2b02219f225a) Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-43415: Fix typo on dataclasses.rst (GH-24789) (GH-24791)Miss Islington (bot)2021-03-081-1/+1
| | | | | | | (cherry picked from commit 0554044ddccdb7bf1fa4a8bc880e7a7b59f6479c) Co-authored-by: Guilherme Martins Crocetti <gmcrocetti@gmail.com> Co-authored-by: Guilherme Martins Crocetti <gmcrocetti@gmail.com>
* Put contextvars docs into the concurrency category (GH-24760)Miss Islington (bot)2021-03-062-1/+1
| | | | | (cherry picked from commit 5eb7796b7f3aae91b145ccea51b528662f3b5ce1) Co-authored-by: Brett Cannon <brett@python.org>
* bpo-43407: Clarify comparisons of time.monotonic() et al results (GH-24757)Miss Islington (bot)2021-03-061-4/+4
| | | | | | | Previous wording implied that only the result of call N and N+1 could be meaningfully compared, whereas comparing call N and N+M is fine. (cherry picked from commit ff5f05934db241dfafc604989b2de3487b09ca82) Co-authored-by: Alex Willmer <alex@moreati.org.uk>
* bpo-43396: Normalise naming in sqlite3 doc examples (GH-24746)Miss Islington (bot)2021-03-041-25/+25
| | | | | (cherry picked from commit 40d1b831ecd1b5b6a4fce9a908a6e61b50b360a0) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-42840: Document providing kwargs to type. (GH-24173)Miss Islington (bot)2021-03-011-1/+8
| | | | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 72fcd14a82369ed32a5846d76f50e3026cf4eec2) Co-authored-by: Erik Soma <stillusingirc@gmail.com>
* [3.8] [doc] Document VIRTUAL_ENV environment variable (GH-21970) (GH-24363)Miss Islington (bot)2021-03-011-0/+4
| | | (cherry picked from commit 3584d4b64a5373440f78237eac734831cfd83f79)
* closes bpo-43349: Fix tuning(7) manpage hyperlink. (GH-24680)Miss Islington (bot)2021-03-011-1/+3
| | | | | (cherry picked from commit f4d7d46cb48aa3a1bf3c2c7e2d7d71cbf49dea69) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* closes bpo-43266: Improve array formatting. (GH-24573) (GH-24585)Miss Islington (bot)2021-03-011-4/+4
| | | | | | | (cherry picked from commit 2d3e463e4a5aa109d1c15c86f9631580f5ef7a7e) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-36346: Document removal schedule of deprecate APIs (GH-20879) (#24626)Miss Islington (bot)2021-03-012-8/+7
| | | | | | | | We will remove wstr cache in Python 3.12. See PEP 623. (cherry picked from commit 2d6f2eed14ff5d89155b52771cc8ef957e8145b4) Co-authored-by: Inada Naoki <songofacandy@gmail.com> Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-43293: Doc: move note about GIL to top of threading module (GH-24622)Miss Islington (bot)2021-02-241-13/+13
| | | | | | | | | | | The note about the GIL was buried pretty deep in the threading documentation, and this made it hard for first time users to discover why their attempts at using threading to parallelizing their application did not work. In this commit, the note is moved to the top of the module documention for visibility. (cherry picked from commit 32181be6081f6c70a1e0bd0540050805c8e88e83) Co-authored-by: Guanzhong Chen <quantum2048@gmail.com>
* bpo-43283: Add IDLE doc paragraph about print speed (GH-24615) (GH-24632)Miss Islington (bot)2021-02-241-0/+9
| | | | | | | Printing to IDLE's Shell is often slower than printing to a system terminal, but it can be made faster by pre-formatting a single string before printing. (cherry picked from commit 2827e8a177c2a6584fada594bca6829c53a2872f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-23882: Doc: Clarify unittest discovery document (GH-21560)Miss Islington (bot)2021-02-221-6/+12
| | | | | | | | | | | Unittest discovery support namespace package as start directory. But it doesn't find namespace package in the start directory automatically. Otherwise, unittest discovery search into unexpected directories like `vendor/` or `node_modules/`. (cherry picked from commit 5a4aa4c03e27ca5007b86c9c1ee62c77ad08a120) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-43283: Rearrange some IDLE doc paragraphs. (GH-24604)Miss Islington (bot)2021-02-211-14/+15
| | | | | | | In the Running User Code section, gather together paragraphs about two processes and the sys.stdstream replacements, preparing to add another. (cherry picked from commit 4cf7bb8e22bf37e6d65bf4cb5618d09c4a8ad612) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-27646: Say that 'yield from' expression can be any iterable (GH-24595)Miss Islington (bot)2021-02-211-2/+2
| | | | | | Previously, the doc at least strongly implied that it had to be an iterator. (cherry picked from commit 2f9ef514fb24b6a95bd3272885f197752810c107) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Fix typo in dis module doc (GH-24509)Miss Islington (bot)2021-02-201-1/+1
| | | | | (cherry picked from commit 292f23186c6573bc1c3fa4f6e91116e8ee444cf4) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
* bpo-43042: Augment tutorial sentence (GH-24514)Miss Islington (bot)2021-02-201-1/+2
| | | | | | Calling same function also gets new local namespace. (cherry picked from commit b30fcba3a8abaabd1087f2392ae8aec4c1b1f210) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* closes bpo-43254: Fix *snprintf() man page refs. (GH-24563)Miss Islington (bot)2021-02-191-2/+2
| | | | | (cherry picked from commit e92d67dfbb4790df37aa6a0961fb6dc7e8d2fbbf) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* Remove all links to mingw.org (GH-24552)Miss Islington (bot)2021-02-182-4/+1
| | | | | | | | | | This lease on this domain has lapsed. This not only makes these dead links, but a potential attack vector for readers of python.org as the domain can be obtained by an untrustworthy party. I considered redirecting these links to http://mingw-w64.org/ which is a maintained fork of mingw, but beyond my unfamiliarity with the exact level of compatibility, at the time of this PR that site had an expired cert and so is not much of a vulnerability fix. Automerge-Triggered-By: GH:Mariatta (cherry picked from commit 743932d50815edbe4ffd530ae091c53ae47dd34b) Co-authored-by: Jeremy Paige <ucodery@gmail.com>
* Add a warning block around the get_referrers() documentation (GH-24511)Miss Islington (bot)2021-02-151-4/+5
| | | | | (cherry picked from commit 813db24f7c2c536d587d1832c3c52b44fa9e242e) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* [3.8] bpo-42967: only use '&' as a query string separator (GH-24297) (#24529)Senthil Kumaran2021-02-155-5/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-42967: only use '&' as a query string separator (#24297) bpo-42967: [security] Address a web cache-poisoning issue reported in urllib.parse.parse_qsl(). urllib.parse will only us "&" as query string separator by default instead of both ";" and "&" as allowed in earlier versions. An optional argument seperator with default value "&" is added to specify the separator. Co-authored-by: Éric Araujo <merwok@netwok.org> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Éric Araujo <merwok@netwok.org> (cherry picked from commit fcbe0cb04d35189401c0c880ebfb4311e952d776) * [3.8] bpo-42967: only use '&' as a query string separator (GH-24297) bpo-42967: [security] Address a web cache-poisoning issue reported in urllib.parse.parse_qsl(). urllib.parse will only us "&" as query string separator by default instead of both ";" and "&" as allowed in earlier versions. An optional argument seperator with default value "&" is added to specify the separator. Co-authored-by: Éric Araujo <merwok@netwok.org> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Éric Araujo <merwok@netwok.org>. (cherry picked from commit fcbe0cb04d35189401c0c880ebfb4311e952d776) Co-authored-by: Adam Goldschmidt <adamgold7@gmail.com> * Update correct version information. * fix docs and make logic clearer Co-authored-by: Adam Goldschmidt <adamgold7@gmail.com> Co-authored-by: Fidget-Spinner <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505)Miss Islington (bot)2021-02-131-2/+3
| | | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 762fe7deed34a1d5294bf82071d318c8427b4893) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* [3.8] bpo-41824: Fix indentation issue in ForwardRef docs (#24495)Ken Jin2021-02-091-1/+1
|