Victor Stinner
f67255ab94
Issue #20311 : asyncio: Add a granularity attribute to BaseEventLoop: maximum
...
between the resolution of the BaseEventLoop.time() method and the resolution of
the selector. The granuarility is used in the scheduler to round time and
deadline.
2014-01-25 15:01:33 +01:00
Christian Heimes
6d8c1abb00
Issue #19509 : Finish implementation of check_hostname
...
The new asyncio package now supports the new feature and comes with additional tests for SSL.
2013-12-06 00:23:13 +01:00
Guido van Rossum
a5062c5d81
asyncio: Change write buffer use to avoid O(N**2). Make write()/sendto() accept bytearray/memoryview too. Change some asserts with proper exceptions.
2013-11-27 14:12:48 -08:00
Guido van Rossum
7fa6e1aeea
Keep asyncio working with Python 3.3 too.
2013-11-23 15:36:43 -08:00
Christian Heimes
67986f9431
Issue #19735 : Implement private function ssl._create_stdlib_context() to
...
create SSLContext objects in Python's stdlib module. It provides a single
configuration point and makes use of SSLContext.load_default_certs().
2013-11-23 22:43:47 +01:00
Guido van Rossum
2335de7a20
asyncio: Replace connection_refused() with error_received().
2013-11-15 16:51:48 -08:00
Guido van Rossum
28dff0d823
asyncio: Better-looking errors when ssl module cannot be imported. In part by Arnaud Faure.
2013-11-01 14:22:30 -07:00
Guido van Rossum
3a703921a6
asyncio: Log a warning when eof_received() returns true and using ssl.
2013-11-01 14:19:35 -07:00
Guido van Rossum
2b57016458
asyncio: Refactor ssl transport ready loop (Nikolay Kim).
2013-11-01 14:18:02 -07:00
Guido van Rossum
21c85a7124
asyncio: Add server_hostname as create_connection() argument, with secure default.
2013-11-01 14:16:54 -07:00
Guido van Rossum
2b430b8720
asyncio: Fold some long lines.
2013-11-01 14:13:30 -07:00
Guido van Rossum
3317a13253
asyncio: Pause accepting whenever accept() returns certain errors. Fixes asyncio issue #78 .
2013-11-01 14:12:50 -07:00
Guido van Rossum
1f683bbe71
asyncio: When not closing the connection after receiving EOF, still remove the read handler.
2013-10-30 14:36:58 -07:00
Antoine Pitrou
4ca7355901
Issue #19299 : fix refleak test failures in test_asyncio
2013-10-20 00:54:10 +02:00
Guido van Rossum
f19a6ef2c9
Verify hostname if verify_mode is CERT_OPTIONAL too.
2013-10-19 09:52:09 -07:00
Guido van Rossum
355491dc47
Write flow control for asyncio (includes asyncio.streams overhaul).
2013-10-18 15:17:11 -07:00
Guido van Rossum
2546a17765
Important race condition fix for Tulip.
2013-10-18 10:10:36 -07:00
Guido van Rossum
57497ad181
Rename Transport.pause/resume to pause_reading/pause_writing. Also relax timeout in test_call_later().
2013-10-18 07:58:20 -07:00
Guido van Rossum
fc29e0f37e
Rename the logger to plain "logger".
2013-10-17 15:39:45 -07:00
Guido van Rossum
27b7c7ebf1
Initial checkin of asyncio package (== Tulip, == PEP 3156).
2013-10-17 13:40:50 -07:00