Miss Islington (bot)
345bfc990f
bpo-36373: Deprecate explicit loop in task and subprocess API (GH-16033)
...
(cherry picked from commit a488879cba
)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2019-09-12 05:59:50 -07:00
Miss Islington (bot)
14afe203d6
bpo-35325: Doc: imp.find_module() return value documentation discrepancy (GH-11040)
...
(cherry picked from commit 967b84c913
)
Co-authored-by: Windson yang <wiwindson@outlook.com>
2019-09-12 05:25:54 -07:00
Miss Islington (bot)
648494b44a
bpo-35685: Add examples of unittest.mock.patch.dict usage (GH-11456)
...
(cherry picked from commit 31a82e25b6
)
Co-authored-by: Emmanuel Arias <emmanuelarias30@gmail.com>
2019-09-12 04:37:05 -07:00
Miss Islington (bot)
94a684734f
bpo-36675: Remove obsolete code. (GH-16024)
...
Does no longer work since Sphinx moved the trim_doctest_flag option in
the configuration.
(cherry picked from commit 2c910c1e73
)
Co-authored-by: Julien Palard <julien@palard.fr>
2019-09-12 04:31:17 -07:00
Stéphane Wirtel
1fc84b64f9
[3.8] bpo-32008: Prefer client or TLSv1_2 in examples (GH-5797) (GH-16027)
...
Prefer client or TLSv1_2 in examples
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit 894d0f7d55
)
Co-authored-by: Christian Heimes <christian@python.org>
2019-09-12 12:25:02 +01:00
Miss Islington (bot)
1e17c4d414
bpo-13927: time.ctime and time.asctime return string explantion (GH-11303)
...
* bpo-13927: time.ctime and time.asctime return string explantion
* Add note explaining that time.ctime and time.asctime returns a space padded date value in case it contains a single digit date
* Reformat linebreaks
(cherry picked from commit 2d32bf1ef2
)
Co-authored-by: Harmandeep Singh <harmandeep.singh1@delhivery.com>
2019-09-12 03:31:43 -07:00
Miss Islington (bot)
eb19c45298
Doc: Update pickle.rst (GH-14128) (GH-16014)
...
* Edits for readability and grammar
(cherry picked from commit 362f5350eb
)
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
2019-09-12 09:19:12 +01:00
Paul Ganssle
2bb6bf0c8c
bpo-38096: Clean up the "struct sequence" / "named tuple" docs (GH-15895) (GH-15961)
2019-09-11 19:50:29 -07:00
Miss Islington (bot)
f79a022d76
bpo-36270: Doc: add link to traceback object reference (GH-13119)
...
(cherry picked from commit 9936371af2
)
Co-authored-by: Björn Meier <bjoern@opentrash.org>
2019-09-11 11:12:35 -07:00
Miss Islington (bot)
d47993664e
Doc: recursive glob ** follows symlinks to directories (GH-12918)
...
(cherry picked from commit e24594bfe7
)
Co-authored-by: Marc <Marc.Herbert+github@gmail.com>
2019-09-11 10:32:26 -07:00
Miss Islington (bot)
05d692b08b
Doc: Fix missing negation. (GH-14640)
...
Reported by Hug Capella on docs@.
Automerge-Triggered-By: @matrixise
(cherry picked from commit 1fae844451
)
Co-authored-by: Julien Palard <julien@palard.fr>
2019-09-11 09:25:40 -07:00
Miss Islington (bot)
c5a672315d
bpo-36260: Add pitfalls to zipfile module documentation (GH-13378) (GH-15976)
...
* bpo-36260: Add pitfalls to zipfile module documentation
We saw vulnerability warning description (including zip bomb) in Doc/library/xml.rst file.
This gave us the idea of documentation improvement.
So, we moved a little bit forward :P
And the doc patch can be found (pr).
* fix trailing whitespace
* 📜 🤖 Added by blurb_it.
* Reformat text for consistency.
(cherry picked from commit 3ba51d587f
)
Co-authored-by: JunWei Song <sungboss2004@gmail.com>
2019-09-11 17:03:18 +01:00
Miss Islington (bot)
893653357c
bpo-36182: Update pathlib.Path.write_text() docs (GH-12161) (GH-15977)
...
with the case of an existing file
(cherry picked from commit af636f4f91
)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
2019-09-11 17:55:31 +02:00
Miss Islington (bot)
e784bb7c6b
bpo-37651: Document CancelledError is now a subclass of BaseException (GH-15950)
...
https://bugs.python.org/issue37651
Automerge-Triggered-By: @1st1
(cherry picked from commit 7b69069e9a
)
Co-authored-by: Xtreak <tir.karthi@gmail.com>
2019-09-11 08:08:47 -07:00
Miss Islington (bot)
2f2a867fe3
Update ftplib.all_errors documentation to match code (GH-15026)
...
The documentation doesn't mention the `EOFError` that https://github.com/python/cpython/blob/master/Lib/ftplib.pyGH-L66 includes
(cherry picked from commit 51adfc6ed2
)
Co-authored-by: Andrew Scheller <github@loowis.durge.org>
2019-09-11 07:54:44 -07:00
Miss Islington (bot)
6cf0ba8a63
bpo-33187: Document ElementInclude (XInclude) support in ElementTree (GH-8861) (GH-15958)
...
(cherry picked from commit 97b817eae3
)
Co-authored-by: Anjali Bansal <anjali.mca17.du@gmail.com>
2019-09-11 15:48:33 +01:00
Miss Islington (bot)
629f1f87e9
bpo-23460: Fix documentation for decimal string :g formatting (GH-11850) (GH-15954)
...
(cherry picked from commit 1660a61a10
)
Co-authored-by: Brennan D Baraban <34765317+bdbaraban@users.noreply.github.com>
2019-09-11 16:38:25 +02:00
Miss Islington (bot)
cbd7b2a399
bpo-31163: Added return values to pathlib.Path instance's rename and replace methods. (GH-13582) (GH-15944)
...
* bpo-31163: Added return values to pathlib.Path instance's rename and replace methods.
(cherry picked from commit 088a09af4b
)
Co-authored-by: hui shang <shangdahao@gmail.com>
2019-09-11 15:12:54 +01:00
Miss Islington (bot)
d1d968d45d
bpo-33944: note about the intended use of code in .pth files (GH-10131) (GH-15942)
...
https://bugs.python.org/issue33944
(cherry picked from commit f9b5840fb4
)
Co-authored-by: native-api <ivan_pozdeev@mail.ru>
2019-09-11 15:36:50 +02:00
Stéphane Wirtel
c97ee1d3d8
[3.8] Doc: Use walrus operator in example. (GH-15934) (GH-15936)
...
(cherry picked from commit e1d455f3a3
)
Co-authored-by: Julien Palard <julien@palard.fr>
2019-09-11 15:17:48 +02:00
Miss Islington (bot)
43fb3bb223
bpo-35649: update http client example (GH-11441) (GH-15930)
...
(cherry picked from commit 62cf698142
)
Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com>
2019-09-11 15:02:25 +02:00
Vinay Sajip
3b92ddb761
[3.8] bpo-35168: Make shlex.punctuation_chars read-only (GH-11631) (GH-15927)
...
(cherry picked from commit 972cf5c06a
)
Co-authored-by: Alex <a.v.shkop@gmail.com>
2019-09-11 13:39:52 +01:00
Miss Islington (bot)
01ae0e2698
Minor ReST formatting fixes in subprocess docs (GH-14876)
...
(cherry picked from commit 1a13efb7e0
)
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
2019-09-11 05:32:16 -07:00
Miss Islington (bot)
44e36e8045
bpo-35603: Add a note on difflib table header interpreted as HTML (GH-11439)
...
(cherry picked from commit c78dae8d2b
)
Co-authored-by: Xtreak <tir.karthi@gmail.com>
2019-09-11 05:24:55 -07:00
Miss Islington (bot)
0ba5dbd992
bpo-32972: Document IsolatedAsyncioTestCase of unittest module (GH-15878) (GH-15918)
...
* Document `unittest.IsolatedAsyncioTestCase` API
* Add a simple example with respect to order of evaluation of setup and teardown calls.
https://bugs.python.org/issue32972
Automerge-Triggered-By: @asvetlov
(cherry picked from commit 6a9fd66f6e
)
Co-authored-by: Xtreak <tir.karthi@gmail.com>
2019-09-11 14:17:14 +03:00
Miss Islington (bot)
4e914ab29f
bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
...
(cherry picked from commit 7a0023e8d1
)
Co-authored-by: smokephil <smokephil@gmail.com>
2019-09-11 03:53:16 -07:00
Miss Islington (bot)
690a16d455
bpo-37585: Add clarification regarding comparing dict.values() (GH-14954)
...
(cherry picked from commit 6472ece5a0
)
Co-authored-by: Kyle Stanley <aeros167@gmail.com>
2019-09-11 03:46:53 -07:00
Miss Islington (bot)
80db4b4be5
bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521)
...
(cherry picked from commit 4576b5431b
)
Co-authored-by: Anjali <anjali30malik@gmail.com>
2019-09-11 03:39:36 -07:00
Miss Islington (bot)
f357cd022e
bpo-38034: Fix typo in logging.handlers.rst (GH-15708) (GH-15893)
...
(cherry picked from commit efd5741ae9
)
Co-authored-by: wwuck <301402+wwuck@users.noreply.github.com>
2019-09-11 07:56:10 +01:00
Miss Islington (bot)
63909cdc2f
bpo-37574: Mention helper functions for find_spec documentation (GH-14739)
...
(cherry picked from commit 9cbb97b29e
)
Co-authored-by: jdkandersson <51036209+jdkandersson@users.noreply.github.com>
2019-09-10 10:13:55 -07:00
Miss Islington (bot)
30a8fd7e73
Correct minor grammatical mistake in open docs (GH-15865)
...
(cherry picked from commit 05184515f9
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2019-09-10 09:24:06 -07:00
Miss Islington (bot)
58ef7d341c
bpo-33602: Doc: Remove set and queue references from Data Types (GH-7055) (GH-15875)
...
(cherry picked from commit 912108891d
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2019-09-10 17:42:56 +02:00
Miss Islington (bot)
8072230882
Note regarding + mode truncation applies to both text and binary mode (GH-11314) (GH-15869)
...
* Improve doc on open's mode +
* Improve wording
* Address comment from Rémi
(cherry picked from commit c1d8c1cb8e
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2019-09-10 16:04:56 +01:00
Jason R. Coombs
97c2f68a4c
[3.8] bpo-38086: Sync importlib.metadata with importlib_metadata 0.21. (GH-15840) ( #15861 )
...
https://gitlab.com/python-devs/importlib_metadata/-/tags/0.21 .
(cherry picked from commit 17499d8270
)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2019-09-10 15:58:29 +01:00
Miss Islington (bot)
5cf8155bbd
bpo-21018: added missing documentation about escaping characters for configparser (GH-6137) (GH-15846)
...
Document how $ and % can be escaped in configparser.
(cherry picked from commit 9a94093189
)
Co-authored-by: Arun Persaud <arun@nubati.net>
2019-09-10 15:32:56 +02:00
Miss Islington (bot)
eaa1b09412
docs: Add references to AsyncMock in unittest.mock.patch (GH-13681)
...
Update the docs as patch can now return an AsyncMock if the patched
object is an async function.
(cherry picked from commit f5e7f39d29
)
Co-authored-by: Mario Corchero <mcorcherojim@bloomberg.net>
2019-09-10 06:15:19 -07:00
Miss Islington (bot)
55daf1a561
bpo-36373: Deprecate explicit loop parameter in all public asyncio APIs [queue] (GH-13950)
...
This PR deprecate explicit loop parameters in all public asyncio APIs
This issues is split to be easier to review.
fourth step: queue.py
https://bugs.python.org/issue36373
(cherry picked from commit 9008be303a
)
Co-authored-by: Emmanuel Arias <emmanuelarias30@gmail.com>
2019-09-10 05:50:14 -07:00
Miss Islington (bot)
bb8fc8bd30
bpo-36373: Deprecate explicit loop parameter in all public asyncio APIs [locks] (GH-13920)
...
This PR deprecate explicit loop parameters in all public asyncio APIs
This issues is split to be easier to review.
Third step: locks.py
https://bugs.python.org/issue36373
(cherry picked from commit 537877d85d
)
Co-authored-by: Emmanuel Arias <emmanuelarias30@gmail.com>
2019-09-10 04:26:54 -07:00
Miss Islington (bot)
ab74e52f76
bpo-37052: Add examples for mocking async iterators and context managers (GH-14660)
...
Add examples for mocking asynchronous iterators and asynchronous context managers.
https://bugs.python.org/issue37052
(cherry picked from commit c8dfa7333d
)
Co-authored-by: Xtreak <tir.karthi@gmail.com>
2019-09-10 04:08:52 -07:00
Miss Islington (bot)
74b7413d3a
bpo-37662: Documented venv.EnvBuilder.upgrade_dependencies(). (GH-15768)
...
(cherry picked from commit 264e034f99
)
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
2019-09-10 00:31:56 -07:00
Miss Islington (bot)
d4391aa5eb
bpo-37383: Updates docs to reflect AsyncMock call_count after await. (GH-15761)
...
* bpo-351428: Updates documentation to reflect AsyncMock call_count after await.
* Adds skip and fixes warning.
* Removes extra >>>.
* Adds ... in front of await mock().
(cherry picked from commit b9f65f01fd
)
Co-authored-by: Lisa Roach <lisaroach14@gmail.com>
2019-09-10 00:31:34 -07:00
Miss Islington (bot)
c1c04cbc24
bpo-36502: Update link to UAX GH-44, the Unicode doc on the UCD. (GH-15301)
...
The link we have points to the version from Unicode 6.0.0, dated 2010.
There have been numerous updates to it since then:
https://www.unicode.org/reports/tr44/GH-Modifications
Change the link to one that points to the current version. Also, use HTTPS.
(cherry picked from commit 64c6ac74e2
)
Co-authored-by: Greg Price <gnprice@gmail.com>
2019-09-09 11:41:13 -07:00
Miss Islington (bot)
eadf6b8787
bpo-35803: Document and test dir=PathLike for tempfile (GH-11644)
...
Co-Authored-By: Ammar Askar <ammar_askar@hotmail.com>
(cherry picked from commit 370138ba9c
)
Co-authored-by: Anthony Sottile <asottile@umich.edu>
2019-09-09 10:31:31 -07:00
Miss Islington (bot)
0468a85cc4
Clarify that shutil's copy functions can accept path-like values (GH-15141)
...
(cherry picked from commit 9488a5289d
)
Co-authored-by: Boris Verhovsky <boris.verk@gmail.com>
2019-09-09 10:18:51 -07:00
Miss Islington (bot)
6e3809c7ce
bpo-34410: Fix a crash in the tee iterator when re-enter it. (GH-15625)
...
RuntimeError is now raised in this case.
(cherry picked from commit 526a01467b
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2019-09-09 02:07:51 -07:00
Raymond Hettinger
cc1bdf91d5
[3.8] bpo-36018: Address more reviewer feedback (GH-15733) (GH-15734)
2019-09-08 18:40:06 -07:00
Miss Islington (bot)
cc51a6d7c7
bpo-20806: Reference both times(2) and times(3) and link to MSDN. (GH-15479)
...
(cherry picked from commit 3ccdbc3338
)
Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
2019-09-07 00:12:34 -07:00
Miss Islington (bot)
b8c66779c7
More refinements to the statistics docs (GH-15713) (GH-15715)
...
(cherry picked from commit d8c93aa5d2
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2019-09-05 23:19:13 -07:00
Miss Islington (bot)
7eaeddad75
Correct minor gramatical mistake in sys.settrace doc (GH-15637)
...
(cherry picked from commit 3038e87ba8
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2019-09-05 04:17:41 -07:00
Miss Islington (bot)
f5649bfe76
bpo-36324: Apply review comment from Jake Vanderplas (GH-15695) (GH-15696)
...
(cherry picked from commit 9b51570ffd
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2019-09-05 01:10:40 -07:00