summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Issue #21163: Fix "destroy pending task" warning in test_wait_errors()Victor Stinner2014-07-162-6/+9
|
* Issue #21163, asyncio: Ignore "destroy pending task" warnings for private tasksVictor Stinner2014-07-161-11/+23
| | | | in gather().
* asyncio: test_selector_events: remove duplicate call to _on_handshake() methodVictor Stinner2014-07-161-3/+3
| | | | The _SelectorSslTransport constructor already calls it.
* Issue #21765: Add support for non-ascii identifiers to HyperParserTal Einat2014-07-164-44/+213
|
* Issue #21982: Add minimal unittest for configDialog with 46% coverage.Terry Jan Reedy2014-07-152-4/+42
| | | | Fix regression that this test would have caught.
* asyncio tests: make quiet the logs of SSL handshake failures when running testsVictor Stinner2014-07-143-17/+37
| | | | in debug mode
* asyncio: sync with TulipVictor Stinner2014-07-146-43/+181
| | | | | | | | | | | | | | | | | | | | * Tulip issue #184: Log subprocess events in debug mode - Log stdin, stdout and stderr transports and protocols - Log process identifier (pid) - Log connection of pipes - Log process exit - Log Process.communicate() tasks: feed stdin, read stdout and stderr - Add __repr__() method to many classes related to subprocesses * Add BaseSubprocessTransport._pid attribute. Store the pid so it is still accessible after the process exited. It's more convinient for debug. * create_connection(): add the socket in the "connected to" debug log * Clean up some docstrings and comments. Remove unused unimplemented _read_from_self().
* Call PyErr_NoMemory() when PyMem_Malloc() fails.Serhiy Storchaka2014-07-141-1/+3
|
* Issue 21977: Minor improvements to the regexes in the tokenizer example.Raymond Hettinger2014-07-141-2/+2
|
* Issue #18592: Method return signature changes made to SearchDialogBase forTerry Jan Reedy2014-07-134-19/+35
| | | | | test purposes are now reflected in GrepDialog and ReplaceDialog. Docstrings are improved. Initial patch by Saimadhav Heblikar