- 11 Jul, 2014 11 commits
-
-
Victor Stinner authored
:c:type:`int` for the size to support reading more than 2 GB at once. On Windows, the size is truncted to INT_MAX. As any call to os.read(), the OS may read less bytes than the number of requested bytes.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
* Tulip issue #182: Improve logs of BaseEventLoop._run_once() - Don't log non-blocking poll - Only log polling with a timeout if it gets events or if it timed out after more than 1 second. * Fix some pyflakes warnings: remove unused imports
-
Victor Stinner authored
* Tulip issue #182: Improve logs of BaseEventLoop._run_once() - Don't log non-blocking poll - Only log polling with a timeout if it gets events or if it timed out after more than 1 second. * Fix some pyflakes warnings: remove unused imports
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
- 10 Jul, 2014 10 commits
-
-
Victor Stinner authored
- CoroWrapper.__del__() now reuses repr(CoroWrapper) to log the "... was never yielded from" warning - Improve CoroWrapper: copy also the qualified name on Python 3.4, not only on Python 3.5+
-
Victor Stinner authored
- CoroWrapper.__del__() now reuses repr(CoroWrapper) to log the "... was never yielded from" warning - Improve CoroWrapper: copy also the qualified name on Python 3.4, not only on Python 3.5+
-
Victor Stinner authored
- repr(Task) and repr(CoroWrapper) now also includes where these objects were created. If the coroutine is not a generator (don't use "yield from"), use the location of the function, not the location of the coro() wrapper. - Fix create_task(): truncate the traceback to hide the call to create_task().
-
Victor Stinner authored
- repr(Task) and repr(CoroWrapper) now also includes where these objects were created. If the coroutine is not a generator (don't use "yield from"), use the location of the function, not the location of the coro() wrapper. - Fix create_task(): truncate the traceback to hide the call to create_task().
-
Victor Stinner authored
- Issues #21936, #21163: Fix sporadic failures of test_future_exception_never_retrieved() - Handle.cancel() now clears references to callback and args - In debug mode, repr(Handle) now contains the location where the Handle was created.
-
Victor Stinner authored
- Issues #21936, #21163: Fix sporadic failures of test_future_exception_never_retrieved() - Handle.cancel() now clears references to callback and args - In debug mode, repr(Handle) now contains the location where the Handle was created.
-
Zachary Ware authored
-
Zachary Ware authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
- 09 Jul, 2014 3 commits
-
-
Berker Peksag authored
-
Berker Peksag authored
-
Berker Peksag authored
-
- 08 Jul, 2014 10 commits
-
-
Guido van Rossum authored
-
Antoine Pitrou authored
-
Victor Stinner authored
now waits until protocol.connection_made() has been called. Document also why transport constructors use a waiter.
-
Victor Stinner authored
until protocol.connection_made() has been called. Document also why transport constructors use a waiter.
-
Victor Stinner authored
-
Victor Stinner authored
-
Zachary Ware authored
The clean script is a "best effort" thing anyway, and this will hopefully revive the XP buildbot.
-
Victor Stinner authored
asyncio: sync with Tulip - Tulip issue 185: Add a create_task() method to event loops. The create_task() method can be overriden in custom event loop to implement their own task class. For example, greenio and Pulsar projects use their own task class. The create_task() method is now preferred over creating directly task using the Task class. - tests: fix a warning - fix typo in the name of a test function - Update AbstractEventLoop: add new event loop methods; update also the unit test Update asyncio documentation - Document the new create_task() method - "Hide" the Task class: point to the create_task() method for interoperability - Rewrite the documentation of the Task class - Document the "Pending task destroyed" - Update output in debug mode of examples in the dev section - Replace Task() with create_task() in examples
-
Victor Stinner authored
- Document the new create_task() method - "Hide" the Task class: point to the create_task() method for interoperability - Rewrite the documentation of the Task class - Document the "Pending task destroyed" - Update output in debug mode of examples in the dev section - Replace Task() with create_task() in examples
-
Victor Stinner authored
- Tulip issue 185: Add a create_task() method to event loops. The create_task() method can be overriden in custom event loop to implement their own task class. For example, greenio and Pulsar projects use their own task class. The create_task() method is now preferred over creating directly task using the Task class. - tests: fix a warning - fix typo in the name of a test function - Update AbstractEventLoop: add new event loop methods; update also the unit test
-
- 07 Jul, 2014 6 commits
-
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Victor Stinner authored
ValueError if the number of received bytes is negative.
-
Victor Stinner authored
the number of received bytes is negative.
-
Victor Stinner authored
-
Victor Stinner authored
-