summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Modernize turtledemo with conditional expressions; remove duplicate line.Terry Jan Reedy2014-07-271-19/+6
|
* Reduce unnecessary 2.7 versus 3.4+ differences in idlelib/configDialog.py.Terry Jan Reedy2014-07-261-10/+8
| | | | | | 2009-02-02 51562 (27c589f09a21) merged Mac support revisions into 3.0. 2009-03-04 52014 (dc3d24824b60) merged slightly improved version into 2.7. Change 3.4+ to match the later 2.7 patch. Buttons tested manually.
* Document lock parameter for asyncio.Condition()Andrew Svetlov2014-07-261-2/+4
|
* Issue #22074: Fix Lib/test/make_ssl_certs.pyAntoine Pitrou2014-07-261-1/+1
|
* Accept optional lock object in Condition ctor (tulip issue #198)Andrew Svetlov2014-07-262-3/+18
|
* Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowErrorVictor Stinner2014-07-263-2/+30
| | | | on closed socket. repr(socket.socket) already works fine.
* Tulip issue 196: _OverlappedFuture.set_result() now clears its reference to theVictor Stinner2014-07-251-5/+11
| | | | | overlapped object. IocpProactor._poll() now also ignores false alarms: GetQueuedCompletionStatus() returns the overlapped but it is still pending.
* Issue #22044: Fixed premature DECREF in call_tzinfo_method.Raymond Hettinger2014-07-254-7/+22
|
* asyncio: sync with TulipVictor Stinner2014-07-252-1/+9
| | | | | | | | * 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.
* Issue #21958: Define HAVE_ROUND when building with VS 2013 and above.Zachary Ware2014-07-252-0/+8
| | | | Patch by Zachary Turner.
* Issue #22072: Fix a couple of SSL doc typos. Patch by Alex Gaynor.Zachary Ware2014-07-251-2/+2
|
* Merge.Charles-François Natali2014-07-2550-441/+649
|\
| * asyncio, test_subprocess: relax timings for slow builbotsVictor Stinner2014-07-251-2/+2
| |
| * asyncio: sync with TulipVictor Stinner2014-07-252-27/+52
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * Issue #22061: Add deprecation warnings in empty obsolete methods.Serhiy Storchaka2014-07-251-2/+9
| |
| * Issue #22061: remove call of useless function slated for removal.Terry Jan Reedy2014-07-251-1/+0
| |
| * Issue #22053: Make help work, after previous patch for this issue disabled itTerry Jan Reedy2014-07-251-17/+9
| | | | | | | | by removing global 'demo'. Refactor and remove duplicate code.
| * asyncio: sync with TulipVictor Stinner2014-07-242-30/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| * Issue #19884, readline: calling rl_variable_bind ("enable-meta-key", "off")Victor Stinner2014-07-241-1/+5
| | | | | | | | does crash on Mac OS X which uses libedit instead of readline.
| * 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 #19875: Fix random test_getsockaddrarg() failure.Charles-François Natali2014-07-251-8/+16
|/
* 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