Yury Selivanov
2d01c0a080
asyncio: WriteTransport.set_write_buffer_size to call _maybe_pause_protocol
2014-02-19 11:10:52 -05:00
Victor Stinner
03e9cb2b0b
asyncio: document new create_unix_connection() and create_unix_server() methods
...
of BaseEventLoop
2014-02-19 13:32:34 +01:00
Yury Selivanov
b41a42e316
asyncio: pep8-ify the code.
2014-02-18 22:56:15 -05:00
Yury Selivanov
b0b0e628ee
asyncio: Fix spelling and typos.
...
Thanks to Vajrasky Kok for discovering some of them.
2014-02-18 22:27:48 -05:00
Victor Stinner
8abac348a9
Issue #20682 : test_asyncio, _basetest_create_connection() checks also the
...
sockname, as _basetest_create_ssl_connection().
2014-02-19 02:21:08 +01:00
Victor Stinner
884e40b982
asyncio, Tulip issue 143: UNIX domain methods, fix ResourceWarning and
...
DeprecationWarning warnings. create_unix_server() closes the socket on any
error, not only on OSError.
2014-02-19 01:45:59 +01:00
Victor Stinner
065ca25aae
asyncio, Tulip issue 139: Improve error messages on "fatal errors"
...
Mention if the error was caused by a read or a write, and be more specific on
the object (ex: "pipe transport" instead of "transport").
2014-02-19 01:40:41 +01:00
Yury Selivanov
c098241342
asyncio.transports: Make _ProactorBasePipeTransport use _FlowControlMixin
2014-02-18 18:41:13 -05:00
Yury Selivanov
ff827f08ac
asyncio: New error handling API. Issue #20681 .
2014-02-18 18:02:19 -05:00
Victor Stinner
065efc3072
Issue #20625 : Fix compilation issue
2014-02-18 22:07:56 +01:00
Victor Stinner
5f47ac2aaa
(Merge 3.3) Issue #19612 : On Windows, subprocess.Popen.communicate() now
...
ignores OSError(22, 'Invalid argument') when writing input data into stdin,
whereas the process already exited.
2014-02-18 22:06:35 +01:00
Victor Stinner
d5c8ce7cc0
Issue #19612 : On Windows, subprocess.Popen.communicate() now ignores
...
OSError(22, 'Invalid argument') when writing input data into stdin, whereas
the process already exited.
2014-02-18 22:00:53 +01:00
Ethan Furman
9a0cbcc4f8
Close issue20653: allow Enum subclasses to override __reduce_ex__
2014-02-18 12:37:12 -08:00
Guido van Rossum
59a5533028
asyncio: Make tests pass on Windows.
2014-02-18 10:24:30 -08:00
Yury Selivanov
34ce99f66d
Mangle __parameters in __annotations__ dict properly. Issue #20625 .
2014-02-18 12:49:41 -05:00
Zachary Ware
b59e4425d5
Issue #20609 : Merge with 3.3.
2014-02-18 11:35:15 -06:00
Zachary Ware
9e5a9876ad
Issue #20609 : Fix building 64-bit binaries on 32-bit Windows.
2014-02-18 11:33:18 -06:00
Yury Selivanov
8e7761ec70
Misc/NEWS: Add a news item for UNIX Sockets support in asyncio. Cleanup WS.
2014-02-18 12:21:57 -05:00
Yury Selivanov
88a5bf0b2e
asyncio: Add support for UNIX Domain Sockets.
2014-02-18 12:15:06 -05:00
Zachary Ware
c36e504c53
Issue #20510 : Merge with 3.3.
2014-02-18 08:41:21 -06:00
Zachary Ware
cefe6b34de
Issue #20510 : Rewrote test_exit in test_sys to match existing comments
...
and to modernize. Patch by Gareth Rees.
2014-02-18 08:39:04 -06:00
Victor Stinner
8b21d91e35
Issue #20493 : Document that asyncio should not exceed one day
2014-02-18 09:37:43 +01:00
Victor Stinner
329e492570
Issue #20656 : Restore explicit downcast in select_select().
...
Cast from time_t (64 bit) to long (32 bit). It should fix a compiler warning.
2014-02-18 09:30:33 +01:00
Victor Stinner
0aba4dc1ed
Close #20649 : Fix typo in asyncio doc. Patch written by Brett Cannon.
2014-02-18 09:22:00 +01:00
Victor Stinner
7d02d50504
Issue #20564 : Skip tests on lock+signals on OpenBSD
2014-02-18 09:19:48 +01:00
Victor Stinner
9141bff144
Issue #20667 : KqueueEventLoopTests.test_read_pty_output() hangs also on OpenBSD 5.5.
2014-02-18 09:13:47 +01:00
Terry Jan Reedy
79bf89986c
Merge with 3.3
2014-02-17 23:12:37 -05:00
Terry Jan Reedy
5b8d2c3af7
Issue #8478 : Untokenizer.compat now processes first token from iterator input.
...
Patch based on lines from Georg Brandl, Eric Snow, and Gareth Rees.
2014-02-17 23:12:16 -05:00
Victor Stinner
5a8e5796f1
Close #20656 : Fix select.select() on OpenBSD 64-bit
2014-02-18 01:35:40 +01:00
Victor Stinner
5afffeab73
Issue #20667 : test_asyncio: Skip KqueueEventLoopTests.test_read_pty_output() on
...
OpenBSD older than 5.5
2014-02-18 01:30:03 +01:00
Victor Stinner
740eedb826
Issue #20655 : Fix test_asyncio, run also subprocess tests. Patch written by
...
Vajrasky Kok.
2014-02-18 00:11:21 +01:00
Terry Jan Reedy
65429cf639
Merge with 3.3
2014-02-17 16:49:26 -05:00
Terry Jan Reedy
58edfd9ff1
whitespace
2014-02-17 16:49:06 -05:00
Terry Jan Reedy
8c8d77254f
Untokenize, bad assert: Merge with 3.3
2014-02-17 16:46:43 -05:00
Terry Jan Reedy
5e6db31368
Untokenize: An logically incorrect assert tested user input validity.
...
Replace it with correct logic that raises ValueError for bad input.
Issues #8478 and #12691 reported the incorrect logic.
Add an Untokenize test case and an initial test method.
2014-02-17 16:45:48 -05:00
Victor Stinner
38df2adaeb
Close #20652 : asyncio doc: close the event loop in run_forever() example. Fix
...
also typo. Patch written by Vajrasky Kok.
2014-02-17 10:54:30 +01:00
Victor Stinner
3c1b379ebd
Issue #20320 : select.select() and select.kqueue.control() now round the timeout
...
aways from zero, instead of rounding towards zero.
It should make test_asyncio more reliable, especially test_timeout_rounding() test.
2014-02-17 00:02:43 +01:00
Victor Stinner
23f628de4a
Issue #20616 : Add a format() method to tracemalloc.Traceback.
2014-02-16 23:53:38 +01:00
Benjamin Peterson
f617fa88de
merge 3.3
2014-02-16 14:53:55 -05:00
Benjamin Peterson
cf62603276
backout fafac90b69c4
2014-02-16 14:52:01 -05:00
Benjamin Peterson
ec91cd6040
merge backout for #20621
2014-02-16 14:17:28 -05:00
Benjamin Peterson
eb43736de2
backout 2807a5f011e4 for causing #20621
2014-02-16 14:12:57 -05:00
Benjamin Peterson
c20b4d872d
backout d28242a636c7 so I can backout 2807a5f011e4
2014-02-16 14:11:56 -05:00
Benjamin Peterson
e686c5c3e8
look up __getnewargs__ and __getnewargs_ex__ on the object type ( #16251 )
2014-02-16 13:49:16 -05:00
Benjamin Peterson
1bcfbd5107
merge 3.3
2014-02-16 12:46:38 -05:00
Benjamin Peterson
0b094ce170
do not line break reference
2014-02-16 12:46:30 -05:00
Andrew Kuchling
c77974e033
Merge from 3.3
2014-02-16 12:18:17 -05:00
Andrew Kuchling
3137885c36
#12211 : remove paragraph about NaNs
2014-02-16 12:09:35 -05:00
Andrew Kuchling
87a113b807
Merge from 3.3
2014-02-16 11:15:13 -05:00
Andrew Kuchling
8cb1ec3274
#12211 : clarify math.copysign() documentation and docstring
2014-02-16 11:11:25 -05:00