Yury Selivanov
7372c3bbef
bpo-33649: Add high-level APIs cheat-sheet (GH-9319)
2018-09-14 15:11:24 -07:00
Yury Selivanov
6c7316439d
bpo-33649: Refresh asyncio docs landing page (GH-9322)
2018-09-14 14:57:39 -07:00
Grant
5acccfaf68
Grammar fix (GH-9318)
2018-09-14 14:37:48 -07:00
Yury Selivanov
3faaa8857a
bpo-33649: Refresh Tasks and Futures pages ( #9314 )
...
* bpo-33649: Refresh Tasks and Futures pages
* Fixes
* Fix markup
2018-09-14 13:32:07 -07:00
Tony Flury
ad8a000420
closes bpo-28955: Clarified comparisons between NaN and number in reference documentation (GH-5982)
...
Co-authored-by: Benjamin Peterson <benjamin@python.org>
2018-09-14 10:48:50 -07:00
Andrés Delfino
271818fe27
Fix "Python" casing in a few places (GH-9001)
2018-09-14 10:13:09 -07:00
Carol Willing
c9d66f0ed4
bpo-33649 Polish asyncio docs on queues, protocols, and subproccesses ( #9306 )
...
* small clarification
* edits to protocols doc
* Edit async queue doc
2018-09-14 10:06:55 -07:00
Raymond Hettinger
902bcd9a1e
Note that distinct argument patterns can be cached separately (GH-9298)
2018-09-14 00:53:20 -07:00
Lisa Roach
5ac704306f
bpo-33073: Adding as_integer_ratio to ints. (GH-8750)
2018-09-13 23:56:23 -07:00
Windson yang
1aeba7458d
bpo-34552: Clarify built-in types comparisons (GH-9035)
...
Some updates to ancient text about comparisons; fixes bp-34552.
2018-09-13 21:50:18 -07:00
Carol Willing
4e824e9649
bpo-33649: Polish asyncio subprocess and sync docs (GH-9285)
...
Second pass for asyncio subprocess and sync docs.
https://bugs.python.org/issue33649
2018-09-13 18:28:19 -07:00
Andrew Svetlov
11194c877c
bpo-34666: Implement stream.awrite() and stream.aclose() (GH-9274)
2018-09-13 16:53:49 -07:00
Carol Willing
a3c8ba7235
polish exceptions and platforms (GH-9272)
2018-09-13 16:14:41 -07:00
Ned Deily
66755cbb1e
bpo-34247: add porting note to 3.7 What's New (GH-9223)
2018-09-13 11:49:47 -07:00
Carol Willing
1abba455d1
Polish doc as part of asyncio doc improvement (GH-9185)
2018-09-12 22:40:37 -07:00
Benjamin Peterson
c9a71dd223
closes bpo-34641: Further restrict the LHS of keyword argument function call syntax. (GH-9212)
2018-09-12 17:14:39 -07:00
Carol Willing
6d9767fb26
edit async policy doc - second pass (GH-9235)
2018-09-12 17:09:08 -07:00
Carol Willing
5b7cbd602e
bpo-33649: Edit asyncio eventloop doc - second pass (GH-9233)
2018-09-12 17:05:17 -07:00
Tony Flury
2087023fde
bpo-32933: Implement __iter__ method on mock_open() (GH-5974)
2018-09-13 01:21:16 +03:00
Benjamin Peterson
5b10d5111d
closes bpo-34004: Skip lock interruption tests on musl. (GH-9224)
...
Returning EINTR from pthread semaphore or lock acquisition is an optional POSIX
feature. musl does not provide this feature, so some threadsignal tests fail
when Python is built against it.
There's no good way to test for musl, so we skip if we're on Linux and not using
glibc pthreads.
Also, hedge in the threading documentation about when we can provide interrupts
from lock acquisition.
2018-09-12 13:48:03 -07:00
Bumsik Kim
aca819fb49
bpo-33649: Fix doc to reflect changes in 47cd10d
(or bpo-23347) (GH-9219)
2018-09-12 11:31:56 -07:00
Raymond Hettinger
9dfa0fe587
bpo-34637: Make the *start* argument for *sum()* visible as a keyword argument. (GH-9208)
2018-09-12 10:54:06 -07:00
Ethan Furman
f52237400b
bpo-33437: add __new__ vs __init__ example (GH-9145)
...
Improve Enum docs.
https://bugs.python.org/issue33437
2018-09-12 10:00:30 -07:00
Cheryl Sabella
731ff68eee
closes bpo-25041: Document AF_PACKET socket address format. (GH-4092)
2018-09-11 17:32:15 -07:00
Yury Selivanov
8be876e44b
bpo-33649: Cleanup asyncio/streams and asyncio/synchronization docs (GH-9192)
2018-09-11 17:10:37 -07:00
Victor Stinner
998b806366
Revert "bpo-34595: Add %T format to PyUnicode_FromFormatV() (GH-9080)" (GH-9187)
...
This reverts commit 886483e2b9
.
2018-09-12 00:23:25 +02:00
Danish Prakash
9c223794c7
bpo-34365: Update date object documentation (GH-8814)
...
Python 3.x does not fall back to comparing object addresses when comparing two `dt` objects.
<!-- issue-number: [bpo-34365](https://www.bugs.python.org/issue34365 ) -->
https://bugs.python.org/issue34365
<!-- /issue-number -->
2018-09-11 13:59:23 -07:00
Bram
b4ec36200a
bpo-34613: document the correct value of limit argument of asyncio.StreamReader (GH-9121)
...
The default value of asyncio.StreamReader *limit* is `_DEFAULT_LIMIT` instead of `None`.
<!-- issue-number: [bpo-34613](https://www.bugs.python.org/issue34613 ) -->
https://bugs.python.org/issue34613
<!-- /issue-number -->
2018-09-11 11:45:26 -07:00
wim glenn
08bcf647d8
bpo-28617 Fixed docs inaccuracies about the types that support membership tests (GH-9086)
...
<!-- issue-number: [bpo-28617](https://www.bugs.python.org/issue28617 ) -->
https://bugs.python.org/issue28617
<!-- /issue-number -->
2018-09-11 10:44:52 -07:00
Yury Selivanov
7c7605ff11
bpo-33649: First asyncio docs improvement pass (GH-9142)
...
Rewritten/updated sections:
* Event Loop APIs
* Transports & Protocols
* Streams
* Exceptions
* Policies
* Queues
* Subprocesses
* Platforms
2018-09-11 09:54:40 -07:00
Andrés Delfino
a378254186
closes bpo-33883: Mention type checkers in the FAQ. (GH-7760)
2018-09-10 22:12:41 -07:00
Zackery Spytz
3666b3c1f6
bpo-33032: Mention the implicit cache in struct.Struct() docs (GH-7700)
...
Mention the implicit cache in struct.Struct() docs.
Consistent with the re.compile documentation note.
2018-09-10 21:37:33 -07:00
Raymond Hettinger
2064bb6d57
Fix missing line from example shell session (GH-9143)
2018-09-10 18:43:08 -07:00
Matthias Bussonnier
ffa198c642
bpo-33487: improve BZ2File Deprecation and documentation. (GH-6785)
...
Emit warning when None passed explicitly, list Python version since
deprecation in warning message and docs.
2018-09-10 18:15:56 -07:00
Lew Kurtz
f019579828
bpo-33460: remove ellipsis that look like continuation prompts (GH-7851)
...
Remove ellipsis that look like continuation prompts,
has a side benefit of putting rest of error message in proper text color.
2018-09-10 18:13:08 -07:00
Ville Skyttä
959625b5a5
Use bytes.hex instead of binascii.hexlify in pbkdf2_hmac example (GH-8420)
2018-09-10 18:07:19 -07:00
NotAFile
28ea4c2847
switch descriptor howto to return value annotation (GH-7796)
2018-09-10 14:35:38 -07:00
Rahul Jha
9430652535
bpo-33217: Raise TypeError for non-Enum lookups in Enums (GH-6651)
...
* bpo-33217: Raise TypeError for non-Enum lookups in Enums
2018-09-10 11:21:04 -07:00
Matthias Bussonnier
51a4743d19
bpo-33604: Remove deprecated HMAC default value marked for removal in 3.8 (GH-7063)
...
HMAC's digestmod was deprecated marked for removal, this removes it as planned.
2018-09-10 11:10:01 -07:00
Sebastian Rittau
78deb7f332
closes bpo-34525: Fix smtplib's authobject() documentation (GH-8965)
2018-09-10 10:29:43 -07:00
Tal Einat
54752533b2
bpo-30977: rework code changes according to post-merge code review (GH-9106)
...
also mention the change and its consequences in What's New
2018-09-10 16:11:04 +03:00
Rémy HUBSCHER
290a60bd8a
Revert "Fix misindented yaml in logging how to example (GH-8604)" (GH-9081)
...
This reverts commit 10b59f1b01
.
2018-09-10 17:07:15 +08:00
Serhiy Storchaka
d700f97b62
bpo-20104: Change the file_actions parameter of os.posix_spawn(). (GH-6725)
...
* Make its default value an empty tuple instead of None.
* Make it a keyword-only parameter.
2018-09-08 14:48:18 +03:00
Pablo Galindo
fa221d804f
bpo-33083: Update "What's new" with math.factorial changes (GH-9109)
...
* Add elimination of non-int-like parameters in math.factorial to "What's new".
2018-09-08 00:16:17 +01:00
Pablo Aguiar
d5fbe9b1a3
bpo-34246: Use no mutable default args in smtplib (GH-8554)
...
Some methods of the SMTP class use mutable default arguments. Specially
`send_message` is affected as it mutates one of the args by appending items
to it, which has side effects on further calls.
2018-09-07 23:04:48 +01:00
Victor Stinner
886483e2b9
bpo-34595: Add %T format to PyUnicode_FromFormatV() (GH-9080)
...
* Add %T format to PyUnicode_FromFormatV(), and so to
PyUnicode_FromFormat() and PyErr_Format(), to format an object type
name: equivalent to "%s" with Py_TYPE(obj)->tp_name.
* Replace Py_TYPE(obj)->tp_name with %T format in unicodeobject.c.
* Add unit test on %T format.
* Rename unicode_fromformat_write_cstr() to
unicode_fromformat_write_utf8(), to make the intent more explicit.
2018-09-07 18:00:58 +02:00
Pablo Galindo
254a4663d8
bpo-20104: Add flag capabilities to posix_spawn (GH-6693)
...
Implement the "attributes objects" parameter of `os.posix_spawn` to complete the implementation and fully cover the underlying API.
2018-09-07 16:44:24 +01:00
Victor Stinner
5e922658fb
bpo-34605: Avoid master/slave terms (GH-9101)
...
* Replace "master process" with "parent process"
* Replace "master option mappings" with "main option mappings"
* Replace "master pattern object" with "main pattern object"
* ssl: replace "master" with "server"
* And some other similar changes
2018-09-07 17:30:33 +02:00
Julien Palard
25fa141487
Doc: Missing 'f' in an f-string. (GH-9074)
2018-09-07 11:31:47 +02:00
Zachary Ware
98b976a2f8
Fix struct sequence glossary entry grammar (GH-9030)
...
... by removing a superfluous "either".
Reported by Никита Люшненко on docs@.
2018-09-01 20:59:27 -05:00