Jason R. Coombs
17499d8270
bpo-38086: Sync importlib.metadata with importlib_metadata 0.21. (GH-15840)
...
https://gitlab.com/python-devs/importlib_metadata/-/tags/0.21
2019-09-10 14:53:31 +01:00
Zach Thompson
c2f056be82
Fix typo in ssl.RAND_bytes documentation (GH-14791)
...
It looks like "cryptographically strong" is the preferred phrase from the surrounding documentation.
Automerge-Triggered-By: @tiran
2019-09-10 06:40:14 -07:00
Andre Delfino
c1d8c1cb8e
Note regarding + mode truncation applies to both text and binary mode ( #11314 )
...
* Improve doc on open's mode +
* Improve wording
* Address comment from Rémi
2019-09-10 14:04:22 +01:00
Arun Persaud
9a94093189
bpo-21018: added missing documentation about escaping characters for configparser (GH-6137)
...
Document how $ and % can be escaped in configparser.
2019-09-10 14:51:09 +02:00
Emmanuel Arias
9008be303a
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
2019-09-10 04:46:12 -07:00
Emmanuel Arias
537877d85d
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
2019-09-10 03:55:07 -07:00
Xtreak
c8dfa7333d
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
2019-09-10 03:37:17 -07:00
Nikhil
80428ed4e1
bpo-25237: Documentation for tkinter modules (GH-1870)
2019-09-10 10:55:34 +02:00
Serhiy Storchaka
832e864008
bpo-38049: Add command-line interface for the ast module. (GH-15724)
2019-09-09 23:36:13 +03:00
Lisa Roach
b9f65f01fd
bpo-37383: Updates docs to reflect AsyncMock call_count after await. ( #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().
2019-09-09 17:54:13 +01:00
Greg Price
64c6ac74e2
bpo-36502: Update link to UAX #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/#Modifications
Change the link to one that points to the current version. Also, use HTTPS.
2019-09-09 09:37:13 -07:00
Serhiy Storchaka
850573b836
bpo-37995: Add an option to ast.dump() to produce a multiline output. (GH-15631)
2019-09-09 19:33:13 +03:00
Anthony Sottile
370138ba9c
bpo-35803: Document and test dir=PathLike for tempfile (GH-11644)
...
Co-Authored-By: Ammar Askar <ammar_askar@hotmail.com>
2019-09-09 10:54:34 -05:00
Boris Verhovsky
9488a5289d
Clarify that shutil's copy functions can accept path-like values (GH-15141)
2019-09-09 08:51:56 -07:00
Richard Sanger
bb668f798a
Fix docs bz.open default mode (GH-15100)
...
bz2.open()'s default mode is rb, not r
2019-09-09 08:49:47 -07:00
Mario Corchero
f5e7f39d29
docs: Add references to AsyncMock in unittest.mock.patch ( #13681 )
...
Update the docs as patch can now return an AsyncMock if the patched
object is an async function.
2019-09-09 15:18:06 +01:00
Jon Janzen
24b11b8c95
bpo-38053 Update documentation for plistlib (GH-15727)
...
* Update documentation for plistlib
- Update "Mac OS X" to "Apple" since plists are used more widely than just macOS
- Re-add the UID class documentation (oops, removed in GH-15615)
2019-09-09 16:13:43 +02:00
Vinay Sajip
264e034f99
bpo-37662: Documented venv.EnvBuilder.upgrade_dependencies(). (GH-15768)
2019-09-09 14:50:38 +01:00
David Röthlisberger
4f0f9f066e
logging.Formatter docs: Add missing `validate` parameter, clarify `style` parameter (GH-15222)
2019-09-09 12:29:54 +01:00
Serhiy Storchaka
526a01467b
bpo-34410: Fix a crash in the tee iterator when re-enter it. (GH-15625)
...
RuntimeError is now raised in this case.
2019-09-09 11:47:14 +03:00
Serhiy Storchaka
918b468b7d
Revert "Raise a RuntimeError when tee iterator is consumed from different threads (GH-15567)" (GH-15736)
...
This reverts commit fa220ec763
.
2019-09-09 11:18:16 +03:00
Raymond Hettinger
4db25d5c39
bpo-36018: Address more reviewer feedback (GH-15733)
2019-09-08 16:57:58 -07:00
Joannah Nanjekye
3ccdbc3338
bpo-20806: Reference both times(2) and times(3) and link to MSDN. (GH-15479)
2019-09-07 10:05:29 +03:00
Raymond Hettinger
d8c93aa5d2
More refinements to the statistics docs (GH-15713)
2019-09-05 23:02:27 -07:00
Andre Delfino
3038e87ba8
Correct minor gramatical mistake in sys.settrace doc (GH-15637)
2019-09-05 13:10:37 +02:00
Jon Janzen
ce81a925ef
bpo-36409: Remove old plistlib API deprecated in 3.4 (GH-15615)
...
* Remove implementation for old plistlib API deprecated in 3.4
2019-09-05 10:11:35 +02:00
Raymond Hettinger
9b51570ffd
bpo-36324: Apply review comment from Jake Vanderplas (GH-15695)
2019-09-05 01:03:14 -07:00
Raymond Hettinger
e4810b2a6c
bpo-36324: Apply review comments from Allen Downey (GH-15693)
2019-09-05 00:18:47 -07:00
Roger Iyengar
675d17cec4
Fix grammar in asyncio-dev.rst (GH-15672)
...
Automerge-Triggered-By: @ned-deily
2019-09-03 23:04:09 -07:00
Jason R. Coombs
102e9b40ff
bpo-38010 Sync importlib.metadata with importlib_metadata 0.20. (GH-15646)
...
Sync importlib.metadata with importlib_metadata 0.20.
2019-09-02 11:08:03 -04:00
Serhiy Storchaka
f02ea6225b
bpo-36543: Remove old-deprecated ElementTree features. (GH-12707)
...
Remove methods Element.getchildren(), Element.getiterator() and
ElementTree.getiterator() and the xml.etree.cElementTree module.
2019-09-01 11:18:35 +03:00
Daniel Pope
daa82d019c
bpo-37977: Warn more strongly and clearly about pickle security (GH-15595)
2019-08-30 22:51:33 -07:00
Min ho Kim
39d87b5471
Fix typos mostly in comments, docs and test names (GH-15209)
2019-08-30 16:21:19 -04:00
Paul Ganssle
59725f3bad
bpo-37979: Add alternative to fromisoformat in documentation (GH-15596)
...
Adds a link to `dateutil.parser.isoparse` in the documentation.
It would be nice to set up intersphinx for things like this, but I think we can leave that for a separate PR.
CC: @pitrou
[bpo-37979](https://bugs.python.org/issue37979 )
https://bugs.python.org/issue37979
Automerge-Triggered-By: @pitrou
2019-08-29 07:47:48 -07:00
Raymond Hettinger
35f6301d68
bpo-10978: Semaphores can release multiple threads at a time (GH-15588)
2019-08-29 01:45:19 -07:00
Raymond Hettinger
84125fed2a
bpo-16468: Clarify which objects can be passed to "choices" in argparse (GH-15566)
2019-08-29 00:58:08 -07:00
Raymond Hettinger
cd81f0500f
bpo-23674: Clarify ambiguities in super() docs ( #15564 )
2019-08-29 00:44:02 -07:00
Serhiy Storchaka
e64f948e76
bpo-37950: Fix ast.dump() when call with incompletely initialized node. (GH-15510)
2019-08-29 09:30:23 +03:00
Rémi Lapeyre
f5896a05ed
bpo-35946: Improve assert_called_with documentation (GH-11796)
2019-08-29 02:15:53 -04:00
HongWeipeng
fa220ec763
Raise a RuntimeError when tee iterator is consumed from different threads (GH-15567)
2019-08-28 20:39:25 -07:00
Vinay Sharma
13f37f2ba8
closes bpo-37964: add F_GETPATH command to fcntl (GH-15550)
...
https://bugs.python.org/issue37964
Automerge-Triggered-By: @benjaminp
2019-08-28 18:56:17 -07:00
Christian Heimes
98d90f745d
bpo-37951: Lift subprocess's fork() restriction (GH-15544)
2019-08-27 23:36:56 +02:00
Serhiy Storchaka
c3ea41e9bf
bpo-36917: Add default implementation of ast.NodeVisitor.visit_Constant(). (GH-15490)
...
It emits a deprecation warning and calls corresponding method
visit_Num(), visit_Str(), etc.
2019-08-26 10:13:19 +03:00
Zackery Spytz
ce6a070414
bpo-34880: Add the LOAD_ASSERTION_ERROR opcode. (GH-15073)
...
Fix assert statement misbehavior if AssertionError is shadowed.
2019-08-25 12:44:09 +03:00
Raymond Hettinger
8371799e30
bpo-37905: Improve docs for NormalDist (GH-15486)
2019-08-25 00:57:26 -07:00
Berker Peksag
805f8f9afe
bpo-19072: Make @classmethod support chained decorators (GH-8405)
2019-08-24 15:37:25 -07:00
Jürgen Gmach
c5218fce02
Clarify argument types in datetime docs. (GH-15459)
...
"Arguments may be integers... " could be misunderstand as they also
could be strings.
New wording makes it clear that arguments have to be integers.
modified: Doc/library/datetime.rst
Automerge-Triggered-By: @pganssle
2019-08-24 12:48:55 -07:00
Raymond Hettinger
69ee87e99c
bpo-14112: Allow beginners to explore shallowness in greater depth ;-) (GH-15465)
2019-08-24 11:15:44 -07:00
Raymond Hettinger
8f080b0995
bpo-26589: Add http status code 451 (GH-15413)
2019-08-23 10:19:15 -07:00
Stefan Behnel
b5d3ceea48
bpo-14465: Add an indent() function to xml.etree.ElementTree to pretty-print XML trees (GH-15200)
2019-08-23 16:44:25 +02:00