- 26 Tem, 2014 2 kayıt (commit)
-
-
Andrew Svetlov yazdı
-
Victor Stinner yazdı
on closed socket. repr(socket.socket) already works fine.
-
- 25 Tem, 2014 12 kayıt (commit)
-
-
Victor Stinner yazdı
overlapped object. IocpProactor._poll() now also ignores false alarms: GetQueuedCompletionStatus() returns the overlapped but it is still pending.
-
Raymond Hettinger yazdı
-
Victor Stinner yazdı
* Tulip issue #196: IocpProactor._poll() clears the reference to the overlapped operation when the operation is done. It would be better to clear the reference in a new _OverlappedFuture.set_result() method, but it cannot be done yet because of a weird bug. * BaseSelectorEventLoop._write_to_self() now logs errors in debug mode.
-
Zachary Ware yazdı
Patch by Zachary Turner.
-
Zachary Ware yazdı
-
Charles-François Natali yazdı
-
Charles-François Natali yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
* Fix _WaitHandleFuture.cancel(): return the result of the parent cancel() method. * _OverlappedFuture.cancel() now clears its reference to the overlapped object. Make also the _OverlappedFuture.ov attribute private. * Check if _WaitHandleFuture completed before unregistering it in the callback. Add also _WaitHandleFuture._poll() and repr(_WaitHandleFuture). * _WaitHandleFuture now unregisters its wait handler if WaitForSingleObject() raises an exception. * _OverlappedFuture.set_exception() now cancels the overlapped operation.
-
Serhiy Storchaka yazdı
-
Terry Jan Reedy yazdı
-
Terry Jan Reedy yazdı
by removing global 'demo'. Refactor and remove duplicate code.
-
- 24 Tem, 2014 14 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ı
does crash on Mac OS X which uses libedit instead of readline.
-
Victor Stinner yazdı
BlockingIOError exceptions. Initial patch written by Xavier de Gaye. Document also in asyncore documentation that recv() may raise BlockingIOError.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
terminal to not write the ANSI sequence "\033[1034h" into stdout. This sequence is used on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit characters.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Patch written by Saimadhav Heblikar.
-
Andrew Svetlov yazdı
-
Terry Jan Reedy yazdı
-
Terry Jan Reedy yazdı
-
Benjamin Peterson yazdı
Patch by Martin Matusiak.
-
Terry Jan Reedy yazdı
-
- 23 Tem, 2014 10 kayıt (commit)
-
-
Terry Jan Reedy yazdı
-
Zachary Ware yazdı
and skip test_win32.FunctionCallTestCase.test_SEH when Python was compiled in debug configuration or by a non-MSC compiler.
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
from 6ae34a948cb4.
-
Terry Jan Reedy yazdı
lines or narrowed for small screens. Issie #19132: Turtledemo buttons no longer disappear when window is shrun. Patch mostly by Lita Cho (21597) using idea from patch by Jan Kanis (18132).
-
Zachary Ware yazdı
Adds `load_package_tests` function to test.support, uses it in test_asyncio, test_email, test_json, test_tools, test_importlib and all test_importlib sub-packages to implement test discovery.
-
Victor Stinner yazdı
* Tulip issue 194: Don't use sys.getrefcount() in unit tests * signal.set_wakeup_fd() can now raise an OSError on Python 3.5
-
Serhiy Storchaka yazdı
specified.
-
Serhiy Storchaka yazdı
-
Andrew Svetlov yazdı
-
- 22 Tem, 2014 2 kayıt (commit)
-
-
Charles-François Natali yazdı
-
Victor Stinner yazdı
Replace also _make_drain_waiter() function with a classic _drain_helper() coroutine.
-