Serhiy Storchaka
76a6326068
Try to fix test_cleanup (issue #20599 ).
2014-02-12 12:40:22 +02:00
Serhiy Storchaka
5bdfc51950
Issue #17671 : Fixed a crash when use non-initialized io.BufferedRWPair.
...
Based on patch by Stephen Tu.
2014-02-12 10:55:07 +02:00
Serhiy Storchaka
61e2493b83
Issue #17671 : Fixed a crash when use non-initialized io.BufferedRWPair.
...
Based on patch by Stephen Tu.
2014-02-12 10:52:35 +02:00
Victor Stinner
13b493e8a7
Issue #20495 : Skip test_read_pty_output() of test_asyncio on FreeBSD older than
...
FreeBSD 8
2014-02-11 18:40:56 +01:00
Victor Stinner
2371e25517
Issue #20505 : Remove debug code
2014-02-11 17:53:47 +01:00
Victor Stinner
eb74876e99
asyncio, Tulip issue 131: as_completed() and wait() now raises a TypeError if
...
the list of futures is not a list but a Future, Task or coroutine object
2014-02-11 11:54:08 +01:00
Victor Stinner
4e8d2f25e2
asyncio, Tulip issue 130: Add more checks on subprocess_exec/subprocess_shell
...
parameters
2014-02-11 11:44:56 +01:00
Victor Stinner
a125497ea3
asyncio, Tulip issue 126: call_soon(), call_soon_threadsafe(), call_later(),
...
call_at() and run_in_executor() now raise a TypeError if the callback is a
coroutine function.
2014-02-11 11:34:30 +01:00
Victor Stinner
1db2ba3a92
Issue #20505 : use also the monotonic time to decide if asyncio debug traces
...
should be printed
2014-02-11 10:26:53 +01:00
Victor Stinner
5d1ea04b06
Issue #20505 : Oops, only print debug info if selector.select(timeout) took less
...
than timeout
2014-02-11 10:10:41 +01:00
Victor Stinner
7bff8e1e2b
Issue #20505 : Improve debug info in asyncio event loop
2014-02-11 10:08:08 +01:00
Serhiy Storchaka
fea7e7336f
Merge heads
2014-02-11 10:38:44 +02:00
Serhiy Storchaka
6a45021084
Issue #19856 : shutil.move() failed to move a directory to other directory
...
on Windows if source name ends with os.altsep.
2014-02-11 10:32:41 +02:00
Serhiy Storchaka
3a308b9f37
Issue #19856 : shutil.move() failed to move a directory to other directory
...
on Windows if source name ends with os.altsep.
2014-02-11 10:30:59 +02:00
Larry Hastings
3f99504c08
Merge Python 3.4.0rc1 release branch.
2014-02-11 00:15:46 -08:00
Victor Stinner
06847d9c8c
Issue #20505 : Fix TestLoop, set the clock resolution
2014-02-11 09:03:47 +01:00
Larry Hastings
e9f73ac1fd
Python 3.4.0rc1: Version bump.
2014-02-10 14:45:05 -08:00
Victor Stinner
6cf5c96630
Issue #20505 : BaseEventLoop uses again the resolution of the clock to decide if
...
scheduled tasks should be executed or not.
2014-02-10 23:42:32 +01:00
Terry Jan Reedy
b825a3937c
Issue #20167 : Add missing else: break in 3 places as noticed by Serhiy.
2014-02-10 16:46:28 -05:00
Georg Brandl
d8413bab22
merge with 3.3
2014-02-10 22:11:21 +01:00
Georg Brandl
f0560d9592
Fix trailing whitespace.
2014-02-10 22:05:16 +01:00
Georg Brandl
8f9c20b8ff
merge with 3.3.4 releasing repo
2014-02-10 22:04:20 +01:00
Victor Stinner
cf736f4e98
Issue #20505 : Use even shorter sleep in test_timeout_rounding() to make the
...
test more reliable (= fail more often on Windows with HPET enabled).
2014-02-10 19:17:46 +01:00
Serhiy Storchaka
580e007860
issue12085: Use more Pythonic way to check _child_created.
...
_active shouldn't be cached, it set to None on shutdown.
2014-02-10 19:21:25 +02:00
Serhiy Storchaka
72e7761301
issue12085: Use more Pythonic way to check _child_created.
...
_active shouldn't be cached, it set to None on shutdown.
2014-02-10 19:20:22 +02:00
Serhiy Storchaka
e0a976c09d
Temporary silence test broken by issue19255.
...
Remove unused variables.
2014-02-10 19:09:19 +02:00
Serhiy Storchaka
d667d72cb7
Temporary silence test broken by issue19255.
...
Remove unused variables.
2014-02-10 19:09:19 +02:00
Serhiy Storchaka
013bb91aa3
Issue #19255 : The builtins module is restored to initial value before
...
cleaning other modules. The sys and builtins modules are cleaned last.
2014-02-10 18:21:34 +02:00
Larry Hastings
f34177a6f9
Version bump for Python 3.4.0rc2.
2014-02-23 02:18:24 -06:00
Larry Hastings
209c043c10
Regenerated pydoc topics for Python 3.4.0rc2.
2014-02-23 02:16:46 -06:00
Eric Snow
9d4c5f4640
Issue #20484 : Disable the 2 remaining "modules" tests in test_pydoc.
...
I'll look into re-enabling them in issue #20128 .
2014-02-22 13:57:08 -07:00
Yury Selivanov
8dfb4576a9
inspect.signature: Check for function-like objects before builtins. Issue #17159
2014-02-21 18:30:53 -05:00
Donald Stufft
e2df3ea682
Upgrade pip from 1.5.3 to 1.5.4
2014-02-21 07:42:39 -05:00
Larry Hastings
13da6a1a9c
Issue #20710 : The pydoc summary line no longer displays the "self" parameter
...
for bound methods. Previous to this change, it displayed "self" for methods
implemented in Python but not methods implemented in C; it is now both
internally consistent and consistent with inspect.Signature.
2014-02-20 23:34:46 -08:00
Yury Selivanov
d224b6a796
inspect: Fix getfullargspec to support builtin module-level functions. Issue #20711
2014-02-21 01:32:42 -05:00
Donald Stufft
b0b75a1922
Upgrade pip from 1.5.2 to 1.5.3
2014-02-20 20:53:27 -05:00
Victor Stinner
934c885885
asyncio: _check_resolved_address() must also accept IPv6 without flow_info and
...
scope_id: (host, port).
2014-02-20 21:59:38 +01:00
Victor Stinner
6dcfec9859
asyncio: ops, and now fix also the unit test for IPv6 address:
...
test_sock_connect_address()
2014-02-20 17:01:11 +01:00
Victor Stinner
d1a727a9e5
asyncio: Fix _check_resolved_address() for IPv6 address
2014-02-20 16:43:09 +01:00
Victor Stinner
b4c9388947
asyncio: remove unused imports and unused variables noticed by pyflakes
2014-02-20 10:37:27 +01:00
Victor Stinner
6f24d83ac6
asyncio: Fix _ProactorWritePipeTransport._pipe_closed()
...
The "exc" variable was not defined, pass a BrokenPipeError exception instead.
2014-02-20 10:33:01 +01:00
Victor Stinner
8d0230b0f2
asyncio.subprocess: Fix a race condition in communicate()
...
Use self._loop instead of self._transport._loop, because transport._loop is set
to None at process exit.
2014-02-20 10:12:59 +01:00
Benjamin Peterson
a96ed63d36
merge 3.3 ( #20695 )
2014-02-19 23:06:41 -05:00
Benjamin Peterson
a50fd87237
update magic number for #20625
2014-02-19 18:05:36 -05:00
Victor Stinner
0f3e6bca1b
asyncio, Tulip issue #136 : Add get/set_debug() methods to BaseEventLoopTests.
...
Add also a PYTHONASYNCIODEBUG environment variable to debug coroutines since
Python startup, to be able to debug coroutines defined directly in the asyncio
module.
2014-02-19 23:15:02 +01:00
Yury Selivanov
ff385b89f4
inspect: Fix getfullargspec() to not to follow __wrapped__ chains
...
Initial patch by Nick Coghlan.
2014-02-19 16:27:23 -05:00
Victor Stinner
eaeb623ae3
Issue #20682 : Oops, fix test_create_connection() of test_asyncio (fix my previous commit)
2014-02-19 18:32:03 +01:00
Victor Stinner
df90ae69fe
Close #20682 : Fix UNIX sockets tests of test_asyncio on Mac OS X Tiger
...
On Mac OS X Tiger (and older), getsockname() returns a zero-length address for
UNIX socket, and so 'sockname' extra info is None.
2014-02-19 18:10:32 +01:00
Yury Selivanov
1589920977
asyncio: WriteTransport.set_write_buffer_size to call _maybe_pause_protocol
2014-02-19 11:10:52 -05:00
Yury Selivanov
57797521bd
asyncio: pep8-ify the code.
2014-02-18 22:56:15 -05:00