- 24 Jul, 2014 30 commits
-
-
Victor Stinner authored
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 authored
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 authored
assertIs().
-
Victor Stinner authored
-
Victor Stinner authored
("enable-meta-key", "off") does crash on Mac OS X which uses libedit instead of readline.
-
Victor Stinner authored
does crash on Mac OS X which uses libedit instead of readline.
-
Victor Stinner authored
-
Victor Stinner authored
ignores BlockingIOError exceptions. Initial patch written by Xavier de Gaye. Document also in asyncore documentation that recv() may raise BlockingIOError.
-
Victor Stinner authored
BlockingIOError exceptions. Initial patch written by Xavier de Gaye. Document also in asyncore documentation that recv() may raise BlockingIOError.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
not a 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 authored
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 authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
sentence. Patch written by Saimadhav Heblikar.
-
Victor Stinner authored
Patch written by Saimadhav Heblikar.
-
Andrew Svetlov authored
-
Andrew Svetlov authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
Patch by Martin Matusiak.
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
- 23 Jul, 2014 10 commits
-
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Victor Stinner authored
Avoid cast from (int*) to (u_long*), even if sizeof(int) == sizeof(u_long).
-
Zachary Ware authored
-
Zachary Ware authored
and skip test_win32.FunctionCallTestCase.test_SEH when Python was compiled in debug configuration or by a non-MSC compiler.
-
Serhiy Storchaka authored
Tkinter methods.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-