Miss Islington (bot)
5abc681019
Reword paragraph on specific value for Py_LIMITED_API (GH-26101) (GH-26123)
...
(cherry picked from commit ddd30b2dd2 )
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2021-05-14 14:28:08 +02:00
Miss Islington (bot)
464269778b
Updated code example for asyncio.gather (GH-20604) (GH-26119)
...
The previous example did not fully showcase the interest of using gather.
Here the example showcases "the result is an aggregate list of returned values".
(cherry picked from commit 56b8ea65d2 )
Co-authored-by: josephernest <nouvellecollection@gmail.com>
Co-authored-by: josephernest <nouvellecollection@gmail.com>
2021-05-13 23:07:20 -07:00
Miss Islington (bot)
e7d25d3f3b
bpo-43977: Update pattern matching language reference docs (GH-25917) (GH-26117)
...
* Update patma language reference with new changes to sequence and mapping
* update 3.10 whatsnew too
(cherry picked from commit 53c91ac525 )
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-05-13 22:55:41 -07:00
Miss Islington (bot)
373937182e
bpo-43795: PEP 652 user documentation (GH-25668) (GH-26034)
...
- Reformat the C API and ABI Versioning page (and extend/clarify a bit)
- Rewrite the stable ABI docs into a general text on C API Compatibility
- Add a list of Limited API contents, and notes for the individual items.
- Replace `Include/README.rst` with a link to a devguide page with the same info
(cherry picked from commit b05955d6f5 )
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2021-05-13 22:29:09 -07:00
Miss Islington (bot)
ea14a0749a
bpo-43757: Document os.path.realpath(strict=True) in 3.10 whatsnew. (GH-26090) ( #26099 )
...
(cherry picked from commit d1560d2429 )
Co-authored-by: Barney Gale <barney.gale@gmail.com>
Co-authored-by: Barney Gale <barney.gale@gmail.com>
2021-05-13 22:24:13 -07:00
Miss Islington (bot)
3222b25b2f
[3.10] bpo-43908: Add What's New entry for Py_TPFLAGS_IMMUTABLETYPE flag (GH-25816) (GH-26115)
...
(cherry picked from commit a09fc9c63f )
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Automerge-Triggered-By: GH:gvanrossum
2021-05-13 16:04:15 -07:00
Miss Islington (bot)
2d972b8e7c
bpo-39906: Document new follow_symlinks argument to pathlib.Path.stat() and chmod() in 3.10 whatsnew. (GH-26089)
...
(cherry picked from commit 366c69f3f6 )
Co-authored-by: Barney Gale <barney.gale@gmail.com>
2021-05-13 05:35:01 -07:00
Miss Islington (bot)
6275ea0282
bpo-44030: Fix formatting error in exceptions docs (GH-25929) (GH-26086)
...
(cherry picked from commit 8ea350ee90 )
Co-authored-by: Miguel Brito <5544985+miguendes@users.noreply.github.com>
2021-05-13 01:27:08 +01:00
Miss Islington (bot)
48cb11bf5b
bpo-40640: doc -- add missing ... in example of Continue (GH-26055) (GH-26057)
...
Co-authored-by: Chas Belov <59780179+ChasBelov@users.noreply.github.com>
(cherry picked from commit 6574334a68 )
Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
2021-05-12 11:25:54 +01:00
Miss Islington (bot)
7e59ef10e8
Correct the changelog entry for the syntax error message for multiple exception types (GH-26038)
...
(cherry picked from commit c1df8808e0 )
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
2021-05-11 16:58:18 -07:00
Miss Islington (bot)
1e4ca09d82
bpo-10548: expectedFailure does not apply to fixtures (GH-23201) ( #26044 )
...
(cherry picked from commit 23ae2c3bac )
Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
2021-05-11 23:23:40 +01:00
Miss Islington (bot)
6fc6f4366d
bpo-23750: Document os-system, subprocess. Patch by Martin Panter. (GH-26016) (GH-26040)
...
* Document os-system, subprocess Patch
* Update Doc/library/os.rst
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 5f2eb87f28 )
Co-authored-by: uniocto <serit142sa33go@gmail.com>
Co-authored-by: uniocto <serit142sa33go@gmail.com>
2021-05-11 13:55:15 -07:00
Miss Islington (bot)
7bef7a180d
bpo-25821: Fix inaccuracy in threading.enumerate/is_alive documentation (GH-23192) ( #26035 )
...
(cherry picked from commit 12e7d10dfd )
Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
2021-05-11 19:19:27 +01:00
Miss Islington (bot)
90904011bd
Doc: http.server: directory is not a class attribute, but an argument. (GH-26017)
...
* Doc: http.server: directory is not a class attribute, but an argument.
(cherry picked from commit d1b81574ed )
Co-authored-by: Julien Palard <julien@palard.fr>
2021-05-10 19:20:22 -07:00
Miss Islington (bot)
f47305aa1f
bpo-43558: Add note about base class initialization to dataclasses doc (GH-25967) (GH-26018)
...
(cherry picked from commit 2a031723ee )
Co-authored-by: dhoekstra2000 <douwe.hoekstra2512@gmail.com>
Co-authored-by: dhoekstra2000 <douwe.hoekstra2512@gmail.com>
2021-05-10 09:38:46 -04:00
Miss Islington (bot)
9a0e65c8e0
bpo-43149: Correct the syntax error message for multiple exception types (GH-25996) GH-25997)
...
Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit 6692dc1ca9 )
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2021-05-09 22:13:50 +01:00
Miss Islington (bot)
70ff820046
Fix a word in dataclasses docs. (GH-26003) (GH-26004)
...
(cherry picked from commit 801497a115 )
Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
2021-05-08 22:22:48 -04:00
Pablo Galindo
03acfc50ac
bpo-32924: Fix the Show Source url in the documentation (GH-25994)
2021-05-08 17:15:01 +01:00
Miss Islington (bot)
90d584a2ab
bpo-42725: mention the changes on what's new (GH-25974)
...
(cherry picked from commit 17229ab4a2 )
Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
2021-05-08 05:20:48 -07:00
Pablo Galindo
f46ef57c25
Update the SOURCE_URI in pyspecific.py to point to the new branch (GH-25978)
2021-05-08 03:43:43 +01:00
Miss Islington (bot)
a8fa6b248f
Simple Enhancement. Add missing return statements in ftplib documentation. (GH-25968) ( #25969 )
...
(cherry picked from commit b32c8e9795 )
Co-authored-by: Senthil Kumaran <senthil@uthcode.com>
Co-authored-by: Senthil Kumaran <senthil@uthcode.com>
2021-05-07 07:13:15 -07:00
Miss Islington (bot)
ba5076f34b
Fix minor grammar problems in dataclasses documentation (GH-25948) (GH-25958)
...
Some missing words; some odd word choices.
(cherry picked from commit ee8e7c2fa9 )
Co-authored-by: Scott Noyes <snoyes@gmail.com>
Co-authored-by: Scott Noyes <snoyes@gmail.com>
2021-05-06 17:54:32 -04:00
Miss Islington (bot)
34fc6dd8fd
docs: clearly document that ":GH-X" string formatting results in "0X..." (GH-25941)
...
* clearly document that ":GH-X" string formatting results in "0X..."
* put back the "serial comma"
(cherry picked from commit 92ceb1c840 )
Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com>
2021-05-06 12:46:08 -07:00
Miss Islington (bot)
5dffd79ee9
Clarify rx parameter of compileall functions (GH-25857)
...
(cherry picked from commit 09490298d4 )
Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
2021-05-04 12:57:35 -07:00
Miss Islington (bot)
377f3d43aa
fix enum.property reference in docs (GH-25875) ( #25876 )
...
(cherry picked from commit 6fee0835cb )
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2021-05-04 06:24:46 -07:00
Miss Islington (bot)
8655521de8
bpo-32822: Add finally with return/break/continue to the tutorial (GH-25600) ( #25893 )
...
This documents in the tutorial docs the behavior of a finally clause in
case it should re-raise an exception but contains a
return/break/continue statement.
(cherry picked from commit a0b9915a8b )
Co-authored-by: Roberto Hueso <robertohueso96@gmail.com>
2021-05-04 15:17:40 +02:00
Miss Islington (bot)
31debfa524
Fix error in Enum documentation example code that was referring to the wrong enum. (GH-25837) ( #25891 )
...
(cherry picked from commit 33d9bf298b )
Co-authored-by: krisaoe <krisaoe@users.noreply.github.com>
2021-05-04 14:44:14 +02:00
Miss Islington (bot)
ae4f857499
bpo-44025: Clarify when '_' is a keyword. (GH-25873)
...
In match statements, in case patterns and nowhere else.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 3b200b2aa6 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-05-04 04:36:50 -07:00
Miss Islington (bot)
aa0ce1615f
Copyedits to 3.10 What's New (GH-25787) ( #25883 )
...
Co-authored-by: Dominic Davis-Foster <dominic@davis-foster.co.uk>
(cherry picked from commit f6d7abc6e7 )
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2021-05-04 13:04:46 +02:00
Miss Islington (bot)
2046fb35e4
bpo-44001: improve Literal documentation (GH-25877) ( #25882 )
...
(cherry picked from commit 87109f4d85 )
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2021-05-04 11:17:35 +02:00
Pablo Galindo
b86ac4c352
Add CI step to check changes in the exported ABI (GH-25868)
2021-05-04 02:15:11 +01:00
Pablo Galindo
c2931d31f8
bpo-43916: Move the _PyStructSequence_InitType function to the internal API (GH-25854)
2021-05-03 15:50:24 +01:00
Julien Palard
440c025726
Doc: Fix random.uniform example comment. (GH-25784)
2021-05-03 02:20:54 -07:00
Eric V. Smith
72720a2639
dataclasses docs: add a missing word. (GH-25839)
2021-05-03 02:33:34 -04:00
Eric V. Smith
a21b3d2fa2
More clarification of kw_only args. (GH-25838)
...
Also, clarify that the dataclass decorator is what raises an error for some mutable defaults.
2021-05-03 01:55:13 -04:00
Raymond Hettinger
4ae828f3c0
Fix invalid markup ( #25833 )
2021-05-02 21:07:29 -07:00
Raymond Hettinger
8c598dbb94
bpo-25478: Add total() method to collections.Counter (GH-25829)
2021-05-02 20:19:51 -07:00
Tal Einat
b43cc31a27
bpo-37903: IDLE: add shell sidebar mouse interactions (GH-25708)
...
Left click and drag to select lines. With selection, right click for context menu with copy and copy-with-prompts.
Also add copy-with-prompts to the text-box context menu.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-05-02 22:27:38 -04:00
Eric V. Smith
821f0c8c39
More work on documenting dataclass keyword-only fields. (GH-25828)
2021-05-02 21:20:50 -04:00
Brandt Bucher
9387fac100
bpo-43977: Document the new pattern matching type flags (GH-25734)
2021-05-02 15:35:00 -07:00
Jason R. Coombs
37e0c7850d
bpo-43926: Cleaner metadata with PEP 566 JSON support. (GH-25565)
...
* bpo-43926: Cleaner metadata with PEP 566 JSON support.
* Add blurb
* Add versionchanged and versionadded declarations for changes to metadata.
* Use descriptor for PEP 566
2021-05-02 17:03:40 -04:00
Brandt Bucher
0ad1e0384c
bpo-43754: Eliminate bindings for partial pattern matches (GH-25229)
2021-05-02 13:02:10 -07:00
Zackery Spytz
7d2b83e9f0
bpo-43990: Fix the footnote ordering in the operator precedence docs (GH-25805)
...
Footnotes 5 and 6 were in the wrong order.
2021-05-02 10:29:15 -07:00
Shreyan Avigyan
a5eabc9a39
bpo-43997: Add versionadded directives for to match_args, kw_only, and slots in dataclasses.dataclasses documentation (GH-25803)
2021-05-02 08:43:50 -07:00
Christian Heimes
d8389e3e50
bpo-38820: Add ssl, hashlib, and hmac changes to whatsnew 3.10 (GH-25817)
...
Signed-off-by: Christian Heimes <christian@python.org>
2021-05-02 16:38:02 +02:00
Christian Heimes
60ce8f0be6
bpo-36384: Leading zeros in IPv4 addresses are no longer tolerated (GH-25099)
...
Reverts commit e653d4d8e8 and makes
parsing even more strict. Like socket.inet_pton() any leading zero
is now treated as invalid input.
Signed-off-by: Christian Heimes <christian@python.org>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-05-02 14:00:35 +02:00
Inada Naoki
fd0bc7e7f4
bpo-43733: netrc try to use UTF-8 before using locale encoding. (GH-25781)
2021-05-02 14:01:02 +09:00
larryhastings
49b26fa517
bpo-43987: Add "Annotations Best Practices" HOWTO doc. ( #25746 )
...
Add "Annotations Best Practices" HOWTO doc.
2021-05-01 21:19:24 -07:00
Eric V. Smith
318ca1764c
Minor tweaks to dataclasses keyword-only fields documentation. (GH-25801)
2021-05-01 21:46:05 -04:00
Eric V. Smith
2f59a767bc
Improve the dataclasses kw_only documentation. (GH-25799)
2021-05-01 19:51:12 -04:00