| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Just a simple documentation fix: apply_async and map_async return a "multiprocessing.pool.AsyncResult Object", not a "result object".
(cherry picked from commit f9bf0157999cb4adbcfd7e9bf526bfa48601e128)
Co-authored-by: Volker-Weissmann <39418860+Volker-Weissmann@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
| |
(GH-15312)
These changes updates the doc to comprehensively mention the behaviour of gather.cancel()
Automerge-Triggered-By: @asvetlov
(cherry picked from commit d42528a3a2c7d79fd2e6c9f2a02f3ce12d44c8cc)
Co-authored-by: Vinay Sharma <vinay04sharma@icloud.com>
|
| |
|
|
|
|
| |
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
(cherry picked from commit 10e466448f67850ed7bb2e2a4e7f017f2b050cad)
Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
|
| |
|
|
|
|
|
| |
(GH-21525)
(cherry picked from commit 9b01c598ca2576a1056816e85dd84bf5f9c74688)
Co-authored-by: Jordan Speicher <uSpike@users.noreply.github.com>
|
| |
|
|
|
|
|
|
| |
This should also fix the syntax highlighting for these code blocks
Automerge-Triggered-By: @csabella
(cherry picked from commit 5e5c0f98667c9280c6d27b3db98a6cad2cc89077)
Co-authored-by: Christopher Yeh <chrisyeh96@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit 344dce312a0cf86d5a5772d54843cc179acaf6e3)
Co-authored-by: Nima Dini <nima.dini@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 6fc732a2116e2c42b0431bb7e2a21719351af755)
Co-authored-by: marload <rladhkstn8@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
Keywords are present in the main module tab completion lists generated by rlcompleter, which is used by REPLs on *nix. Add all keywords to IDLE's main module name list except those already added from builtins (True, False, and None) . This list may also be used by Show Completions on the Edit menu, and its hot key.
Rewrite Completions doc.
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
(cherry picked from commit bce2eb4646021910aa4074d86f44a09b32d0b2b2)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
|
|
|
| |
page (GH-21413)
Automerge-Triggered-By: @ericvsmith
(cherry picked from commit 61bb24a270d15106decb1c7983bf4c2831671a75)
Co-authored-by: marload <rladhkstn8@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit c4a65ed7fe342bd18b5a5b0eea3470dc4fc31160)
Co-authored-by: Ogi Moore <ognyan.moore@jacobs.ucsd.edu>
|
| |
|
|
|
| |
(cherry picked from commit b40e434386cd94a367d4a256e3364771140160e7)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
| | |
|
| |
|
|
|
|
| |
Automerge-Triggered-By: @merwok
(cherry picked from commit cf18c9e9d4d44f6671a3fe6011bb53d8ee9bd92b)
Co-authored-by: Arisaka97 <solitaire2312@gmail.com>
|
| |
|
|
|
|
|
| |
(GH-20283)
(cherry picked from commit bf2e515fa43406d4bd9c4c53ecc9364034d8f9f6)
Co-authored-by: Gareth Rees <gdr@garethrees.org>
|
| |
|
|
|
|
|
|
|
| |
* Add a glossary entry for the term "callback"
* Link to it in loop.call_soon() and in the "Concurrency and Multithreading" section
Co-authored-by: Kyle Stanley <aeros167@gmail.com>
(cherry picked from commit a16d6970496cae5ecab5aaea2b416a4b77527cc2)
Co-authored-by: Roger Iyengar <ri@rogeriyengar.com>
|
| |
|
|
|
|
|
|
|
|
| |
(GH-20860)
(cherry picked from commit dea3223740127ac13f984c1d38f127ab6701af44)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Automerge-Triggered-By: @brettcannon
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-20687) (GH-20792)
The doccumentation at https://docs.python.org/3.10/library/weakref.html cautions that the `WeakKeyDictionary` and `WeakValueDictionary` are susceptible to the problem of dictionary mutation during iteration.
These notes present the user with a problem that has no easy solution.
I dug into the implementation and found that fortunately, Antoine Pitrou already addressed this challenge (10 years ago!) by introducing an `_IterationGuard` context manager to the implementation, which delays mutation while an iteration is in progress.
I asked for confirmation and @pitrou agreed that these notes could be removed:
https://github.com/python/cpython/commit/c1baa601e2b558deb690edfdf334fceee3b03327GH-commitcomment-39514438.
(cherry picked from commit 1642c0ef750f96664a98cadb09301d492098d2fb)
Co-authored-by: Daniel Fortunov <asqui@users.noreply.github.com>
Automerge-Triggered-By: @pitrou
|
| |
|
|
|
|
|
|
|
| |
Follow-up to GH-8014
(cherry picked from commit 7aed0524d4129766a6032326949ef7f91f6f6dfc)
Co-authored-by: Éric Araujo <merwok@netwok.org>
Automerge-Triggered-By: @merwok
|
| |
|
|
|
| |
arithmetic (GH-20745)
This reverts commit d6965ff026f35498e554bc964ef2be8f4d80eb7f.
|
| |
|
| |
This reverts commit c6ecd9c14081a787959e13df33e250102a658154.
|
| |
|
|
|
|
|
|
| |
Also added an example in shutil in order to make more clear how they are to be used.
Initially reported by Weinan Li on bpo.
(cherry picked from commit 7633371dace67aaa21eb4b86f889441571ec4167)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before
```
content.txt is 42 bytes in size and isa regular file.
folder is 420 bytes in size and isa directory.
magic is 4200 bytes in size and issomething else.
```
After:
```
content.txt is 42 bytes in size and is a regular file.
folder is 420 bytes in size and is a directory.
magic is 4200 bytes in size and is something else.
```
Automerge-Triggered-By: @orsenthil
(cherry picked from commit 7a280197f4162e5fcdde6f34701a9fa6e669190d)
Co-authored-by: Harsha Laxman <HarshaLaxman@users.noreply.github.com>
|
| |
|
|
|
|
| |
Reference to PySide has been removed has it is for Qt 4, which has reached end of life.
(cherry picked from commit 4649202ea75d48e1496e99911709824ca2d3170e)
Co-authored-by: Samuel Gaist <samuel.gaist@idiap.ch>
|
| | |
|
| |
|
| |
require `_generate_next_value_` to be defined before members
|
| |
|
|
|
|
|
| |
sequences (GH-16832)
(cherry picked from commit 372ee27d4958302dac7ad6a8711f6fd04771b2e6)
Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
|
| |
|
|
|
|
|
|
|
|
|
| |
(GH-20347) (GH-20415)
* bpo-39301: State that floor division is used for right shift operations
* Remove "without overflow check"
(cherry picked from commit af7553ac95a96713be847dd45bc5a8aeb0a75955)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 2b0e654f91f28379c6c7ef5fd80e8754afb70935)
Co-authored-by: ziheng <zihenglv@gmail.com>
|
| |
|
|
|
|
|
| |
(GH-20403)
(cherry picked from commit 4a0ac42c52a4d9ccfb0a78ab02aa03172ce0e31a)
Co-authored-by: sth <sth.dev@tejp.de>
|
| |
|
|
|
|
|
|
|
|
|
| |
* Fix as_completed docs to correctly state the function return value.
* Also, improves the general wording of the as_completed documentation.
Co-Authored-By: Rémi Lapeyre <remi.lapeyre@henki.fr>
Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
Co-Authored-By: Yury Selivanov <yury@edgedb.com>
(cherry picked from commit 13206b52d16c2489f4c7dd2dce2a7f48a554b5ed)
Co-authored-by: Bar Harel <bzvi7919@gmail.com>
|
| |
|
|
|
|
|
|
| |
This is more informative and avoids the question of whether the period should go inside or outside the quotation marks.
See also GH-20007.
(cherry picked from commit 2e76820a50b8ce2a9a5f6cdef6cef1859a89c460)
Co-authored-by: Mathieu Dupuy <mathieu.dupuy@doctolib.com>
|
| |
|
|
| |
(GH-GH-20139) (GH-20167)
|
| |
|
|
|
| |
(cherry picked from commit 46545000c2a30b46aed717b546bc09e5bae7148f)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 65460565df99fbda6a74b6bb4bf99affaaf8bd95)
Co-authored-by: Mathieu Dupuy <mathieu.dupuy@doctolib.com>
|
| |
|
|
|
| |
(cherry picked from commit 4eba67783eb2084b2dad875ed1cbffdaf8a9202e)
Co-authored-by: Mathieu Dupuy <mathieu.dupuy@doctolib.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Document exec symbol for codeop.compile_command
* Remove extra statements
Co-authored-by: nanjekyejoannah <joannah.nanjekye@ibm.com>
(cherry picked from commit 7ba1f75f3f02b4b50ac6d7e17d15e467afa36aac)
Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
(cherry picked from commit 2effef7453986bf43a6d921cd471a8bc0722c36a)
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
of 10 (GH-19752)
(cherry picked from commit 766352320fd736e2c8ed545b4cc57563f61a0b9d)
Co-authored-by: Sander <svr003@gmail.com>
|
| |
|
|
|
|
|
| |
(cherry picked from commit 289842a)
Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
Automerge-Triggered-By: @pitrou
|
| |
|
|
|
| |
(cherry picked from commit 831d58d7865cb98fa09227dc614f4f3ce6af968b)
Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
|
| | |
|
| |
|
|
|
| |
(GH-19558) (GH-19661)
(cherry picked from commit bf1a81258c0ecc8b52b9dcc53321c066b3ed4a67)
|
| |
|
|
|
|
|
| |
* Add underscores to long numbers to improve readability
* Use bigger dataset in the bootstrapping example
* Convert single-server queue example to more useful multi-server queue
(cherry picked from commit d3a8d616faf3364b22fde18dce8c168de9368146)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes Issue39285
The example incorrectly returned True for match.
Furthermore the example is ambiguous in its usage of PureWindowsPath.
Windows is case-insensitve, however the underlying match functionality
utilizes fnmatch.fnmatchcase.
Automerge-Triggered-By: @pitrou
(cherry picked from commit c12375aa0b838d34067efa3f1b9a1fbc632d0413)
Co-authored-by: Tim Lo <timlo@users.noreply.github.com>
|
| |
|
|
|
|
| |
Automerge-Triggered-By: @pitrou
(cherry picked from commit 482259d0dcf27714a84cf56b93977320bea7e093)
Co-authored-by: Furkan Önder <furkantahaonder@gmail.com>
|
| |
|
|
|
|
| |
The names "member" and "container" for the arguments are also used in the module and shown with the help() function, and are immediately understandable in this context, contrary to "first" and "second".
(cherry picked from commit a388bbd3f129364c39843f63e92f08bc53c71905)
Co-authored-by: Christoph Zwerschke <cito@online.de>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-39667: Sync zipp 3.0 (GH-18540)
* bpo-39667: Improve pathlib.Path compatibility on zipfile.Path and correct performance degradation as found in zipp 3.0
* 📜🤖 Added by blurb_it.
* Update docs for new zipfile.Path.open
* Rely on dict, faster than OrderedDict.
* Syntax edits on docs
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
(cherry picked from commit 0aeab5c4381f0cc11479362af2533b3a391312ac)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* Clarify the change in behavior with a couple of workaround options.
* Restore API compatibility while backporting performance improvements.
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
|
| |
|
|
|
|
|
|
| |
(cherry picked from commit 85dd6bb1f61f7edcd6ac0b640a98644531690a0e)
Co-authored-by: laike9m <laike9m@users.noreply.github.com>
Automerge-Triggered-By: @zhangyangyu
|