- 09 Tem, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
* queues: get coroutine from asyncio.coroutines, not from asyncio.tasks * tets: replace tulip with asyncio in comments
-
- 11 May, 2015 1 kayıt (commit)
-
-
Yury Selivanov yazdı
-
- 26 Ock, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
Use a coroutine with asyncio.sleep() instead of call_later() to ensure that the schedule call is cancelled. Add also a unit test cancelling connect_pipe().
-
- 13 Ock, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
Pass explicitly the event loop to StreamReaderProtocol.
-
- 19 Ara, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
future
-
- 01 Ara, 2014 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 24 Tem, 2014 2 kayıt (commit)
-
-
Victor Stinner yazdı
Improve stability of the proactor event loop, especially operations on overlapped objects: * Tulip issue 195: Don't call UnregisterWait() twice if a _WaitHandleFuture is cancelled twice to fix a crash. * IocpProactor.close(): cancel futures to cancel overlapped operations, instead of cancelling directly overlapped operations. Future objects may not call ov.cancel() if the future was cancelled or if the overlapped was already cancelled. The cancel() method of the future may also catch exceptions. Log also errors on cancellation. * tests: rename "f" to "fut" * Add a __repr__() method to IocpProactor * Add a destructor to IocpProactor which closes it * _OverlappedFuture.cancel() doesn't cancel the overlapped anymore if it is done: if it is already cancelled or completed. Log also an error if the cancellation failed. * Add the address of the overlapped object in repr(_OverlappedFuture) * _OverlappedFuture truncates the source traceback to hide the call to the parent constructor (useless in debug).
-
Victor Stinner yazdı
-
- 18 Haz, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
- Add a missing import - Remove an unused import - Remove unused variables
-
- 17 Haz, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 26 Şub, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 03 Şub, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
Tulip (changeset d7ac90c0463a)
-
- 01 Şub, 2014 2 kayıt (commit)
-
-
Victor Stinner yazdı
* Add a new asyncio.subprocess module * Add new create_subprocess_exec() and create_subprocess_shell() functions * The new asyncio.subprocess.SubprocessStreamProtocol creates stream readers for stdout and stderr and a stream writer for stdin. * The new asyncio.subprocess.Process class offers an API close to the subprocess.Popen class: - pid, returncode, stdin, stdout and stderr attributes - communicate(), wait(), send_signal(), terminate() and kill() methods * Remove STDIN (0), STDOUT (1) and STDERR (2) constants from base_subprocess and unix_events, to not be confused with the symbols with the same name of subprocess and asyncio.subprocess modules * _ProactorBasePipeTransport.get_write_buffer_size() now counts also the size of the pending write * _ProactorBaseWritePipeTransport._loop_writing() may now pause the protocol if the write buffer size is greater than the high water mark (64 KB by default)
-
Victor Stinner yazdı
looks to be slow
-
- 25 Ock, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
Major changes: - StreamReader.readexactly() now raises an IncompleteReadError if the end of stream is reached before we received enough bytes, instead of returning less bytes than requested. - Unit tests use the main asyncio module instead of submodules like events - _UnixWritePipeTransport now also supports character devices, as _UnixReadPipeTransport. Patch written by Jonathan Slenders. - Export more symbols: BaseEventLoop, BaseProactorEventLoop, BaseSelectorEventLoop, Queue and Queue sublasses, Empty, Full
-
- 10 Ock, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
close the write end of the socket pair
-
- 13 Ara, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
sometimes busy
-
- 18 Kas, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
http://buildbot.python.org/all/builders/AMD64%20Windows%20Server%202008%20%5BSB%5D%203.x/builds/1649/steps/test/logs/stdio ====================================================================== FAIL: test_wait_for_handle (test.test_asyncio.test_windows_events.ProactorTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "E:\home\cpython\buildslave\x64\3.x.snakebite-win2k8r2sp1-amd64\build\lib\test\test_asyncio\test_windows_events.py", line 112, in test_wait_for_handle self.assertTrue(0.18 < elapsed < 0.22, elapsed) AssertionError: False is not true : 0.25
-
- 01 Kas, 2013 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 30 Eki, 2013 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 20 Eki, 2013 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
- 17 Eki, 2013 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-