summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #16133: The asynchat.async_chat.handle_read() method now ignoresVictor Stinner2014-07-244-0/+26
| | | | | | BlockingIOError exceptions. Initial patch written by Xavier de Gaye. Document also in asyncore documentation that recv() may raise BlockingIOError.
* Backport os.rst documentation from Python 3.5.Victor Stinner2014-07-241-3/+28
|
* Issue #21813: Enhance documentation of the os.stat_result class.Victor Stinner2014-07-241-73/+182
|
* Issue #19884: readline: Disable the meta modifier key if stdout is not aVictor Stinner2014-07-243-5/+34
| | | | | | 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.
* test_gettext: use support.rmtree() instead of shutil.rmtree()Victor Stinner2014-07-241-1/+1
|
* asyncio tests: relax timings for slow buildbotsVictor Stinner2014-07-241-4/+4
|
* Issue #20055: Fix BaseEventLoop.stop() docstring, incomplete sentence.Victor Stinner2014-07-241-3/+3
| | | | Patch written by Saimadhav Heblikar.
* Fix incomplete sentence in asyncio docs.Andrew Svetlov2014-07-241-2/+3
|
* Asyncio doc fixes: spelling, grammar, duplication.Terry Jan Reedy2014-07-242-5/+3
|
* Englich grammar nit.Terry Jan Reedy2014-07-241-1/+1
|
* s/stringobject/bytesobject/ (closes #22036)Benjamin Peterson2014-07-241-1/+1
| | | | Patch by Martin Matusiak.
* Fix doc example bug reported on python-list by Akshay Verma.Terry Jan Reedy2014-07-241-1/+1
|
* Issue #22053: Cleanup turtledemo start and stop and fix debug shutdown warning.Terry Jan Reedy2014-07-231-21/+5
|
* Issue #19493: Fix two uses of ctypes.test.requires (it's not a decorator)Zachary Ware2014-07-232-2/+5
| | | | | and skip test_win32.FunctionCallTestCase.test_SEH when Python was compiled in debug configuration or by a non-MSC compiler.
* Merge headsSerhiy Storchaka2014-07-232-68/+81
|\
| * Issue #21597: Turtledemo text pane can now be widened to view or copy completeTerry Jan Reedy2014-07-232-68/+81
| | | | | | | | | | | | 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).
* | Issue #6167: Backported tests for Scrollbar.activate() and Scrollbar.set()Serhiy Storchaka2014-07-231-0/+18
|/ | | | from 6ae34a948cb4.
* Issue #22002: Make full use of test discovery in test sub-packages.Zachary Ware2014-07-2321-169/+104
| | | | | | 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.
* asyncio: sync with TulipVictor Stinner2014-07-233-14/+13
| | | | | * Tulip issue 194: Don't use sys.getrefcount() in unit tests * signal.set_wakeup_fd() can now raise an OSError on Python 3.5
* Issue #21888: plistlib's load() and loads() now work if the fmt parameter isSerhiy Storchaka2014-07-233-5/+11
| | | | specified.
* Correct issue #21044 patch author.Serhiy Storchaka2014-07-232-2/+1
|
* Fix grammarAndrew Svetlov2014-07-231-1/+1
|
* Issue #21901: Cap the maximum number of file descriptors to use for the test.Charles-François Natali2014-07-221-1/+1
|
* asyncio, tulip issue 193: Convert StreamWriter.drain() to a classic coroutineVictor Stinner2014-07-221-19/+18
| | | | | Replace also _make_drain_waiter() function with a classic _drain_helper() coroutine.
* Fixed bugs in reprs of CookieJar and multiprocessing.dummy.Value.Serhiy Storchaka2014-07-222-3/+3
|
* Merge headsSerhiy Storchaka2014-07-222-2/+3
|\
| * Fix localhost checking in FileHandler. Raised in #21970.Senthil Kumaran2014-07-222-2/+3
| |
* | Issue #15759: "make suspicious", "make linkcheck" and "make doctest" in Doc/Serhiy Storchaka2014-07-222-10/+19
|/ | | | now display special message when and only when there are failures.
* Issue #21976: Fix test_ssl to accept LibreSSL version strings.Antoine Pitrou2014-07-213-6/+14
| | | | Thanks to William Orr.
* Issue #19629: Add missing "import stat"Victor Stinner2014-07-211-12/+13
| | | | Sort also imports in support/__init__.py
* Issue #19811, #22022: test_pathlib uses support.rmtree() instead ofVictor Stinner2014-07-211-2/+2
| | | | shutil.rmtree() to remove the temporary directory.
* Issue #19629: Fix support.rmtree(), use os.lstat() to check if the file is aVictor Stinner2014-07-211-1/+7
| | | | directory, not os.path.isdir()
* asyncio: Fix test_stdin_broken_pipe(), drain() is not a coroutineVictor Stinner2014-07-211-2/+7
|
* Issue #21868: Prevent turtle crash due to invalid undo buffer size.Raymond Hettinger2014-07-212-1/+3
|
* add #Benjamin Peterson2014-07-201-1/+1
|
* args doesn't need to be a tuple (closes #17210)Benjamin Peterson2014-07-191-1/+1
|
* Issue #22006: Remove outdated _thread caveat. Thanks Dan O'Reilly for the ↵Mark Dickinson2014-07-191-4/+0
| | | | report.
* Issue #22004: Correct an argument name.Zachary Ware2014-07-181-1/+1
|
* Fix asyncio.__all__: export also unix_events and windows_events symbolsVictor Stinner2014-07-181-6/+7
| | | | | For example, on Windows, it was not possible to get ProactorEventLoop or DefaultEventLoopPolicy using "from asyncio import *".
* Issue #21247: Fix a race condition in test_send_signal() of asyncioVictor Stinner2014-07-171-4/+15
| | | | | Add a basic synchronization mechanism to wait until the child process is ready before sending it a signal.
* Python issue #21645, Tulip issue 192: Rewrite signal handlingVictor Stinner2014-07-175-7/+27
| | | | | | | | | | | | | | | | | | | Since Python 3.3, the C signal handler writes the signal number into the wakeup file descriptor and then schedules the Python call using Py_AddPendingCall(). asyncio uses the wakeup file descriptor to wake up the event loop, and relies on Py_AddPendingCall() to schedule the final callback with call_soon(). If the C signal handler is called in a thread different than the thread of the event loop, the loop is awaken but Py_AddPendingCall() was not called yet. In this case, the event loop has nothing to do and go to sleep again. Py_AddPendingCall() is called while the event loop is sleeping again and so the final callback is not scheduled immediatly. This patch changes how asyncio handles signals. Instead of relying on Py_AddPendingCall() and the wakeup file descriptor, asyncio now only relies on the wakeup file descriptor. asyncio reads signal numbers from the wakeup file descriptor to call its signal handler.
* asyncio: Fix test_stdin_broken_pipe(), drain() can also raiseVictor Stinner2014-07-171-2/+2
| | | | ConnectionResetError
* asyncio, tulip issue 190: Process.communicate() now ignoresVictor Stinner2014-07-172-9/+12
| | | | ConnectionResetError too
* asyncio, tulip issue 190: Process.communicate() must ignore BrokenPipeErrorVictor Stinner2014-07-173-8/+32
| | | | | | | | If you want to handle the BrokenPipeError, you can easily reimplement communicate(). Add also a unit test to ensure that stdin.write() + stdin.drain() raises BrokenPipeError.
* Issue #21994: Fix SyntaxError in the SSLContext.check_hostname documentation.Berker Peksag2014-07-171-2/+2
|
* Issue 21044: tarfile.open() now handles fileobj with an integer 'name'Serhiy Storchaka2014-07-164-7/+36
| | | | attribute. Based on patch by Martin Panter.
* Fix a minor typo in the turtle docs. Found by Brandon Passmore on docs@.Zachary Ware2014-07-161-1/+1
|
* Issue #21918: Convert test_tools.py to a sub-package of test.Zachary Ware2014-07-1610-195/+283
|
* Remove Tools/scripts/pydocgui.pyw.Zachary Ware2014-07-161-7/+0
| | | | | pydoc.gui was removed over 3 years ago (#10818), this script has been utterly bereft of worth since then.
* asyncio: test_as_completed(): disable "slow callback" warningVictor Stinner2014-07-161-0/+2
|