- 24 Jul, 2014 14 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
does crash on Mac OS X which uses libedit instead of readline.
-
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
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
Patch written by Saimadhav Heblikar.
-
Andrew Svetlov authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Benjamin Peterson authored
Patch by Martin Matusiak.
-
Terry Jan Reedy authored
-
- 23 Jul, 2014 10 commits
-
-
Terry Jan Reedy 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
-
Serhiy Storchaka authored
from 6ae34a948cb4.
-
Terry Jan Reedy authored
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 authored
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 authored
* 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 authored
specified.
-
Serhiy Storchaka authored
-
Andrew Svetlov authored
-
- 22 Jul, 2014 6 commits
-
-
Charles-François Natali authored
-
Victor Stinner authored
Replace also _make_drain_waiter() function with a classic _drain_helper() coroutine.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
now display special message when and only when there are failures.
-
Senthil Kumaran authored
-
- 21 Jul, 2014 6 commits
-
-
Antoine Pitrou authored
Thanks to William Orr.
-
Victor Stinner authored
Sort also imports in support/__init__.py
-
Victor Stinner authored
shutil.rmtree() to remove the temporary directory.
-
Victor Stinner authored
directory, not os.path.isdir()
-
Victor Stinner authored
-
Raymond Hettinger authored
-
- 20 Jul, 2014 1 commit
-
-
Benjamin Peterson authored
-
- 19 Jul, 2014 2 commits
-
-
Benjamin Peterson authored
-
Mark Dickinson authored
-
- 18 Jul, 2014 1 commit
-
-
Zachary Ware authored
-