summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #22065: Update turtledemo menu creation; don't use obsolete Menubutton.Terry Jan Reedy2014-08-151-27/+22
|
* #22053: actually remove .txt files from 3.4.Terry Jan Reedy2014-08-153-172/+0
|
* Issue #10291: Backport 004fe3449193 with a few changes due to 22095.Terry Jan Reedy2014-08-152-6/+103
| | | | Will forward port 22095 changes separately.
* Issue #17390: Adjust Editor window title. Remove 'Python', move version to end.Terry Jan Reedy2014-08-151-4/+5
|
* Issue #21445: Pass exception messages correctly to assertTrue inBerker Peksag2014-08-141-4/+4
| | | | | | the FileCompareTestCase.test_matching test. Patch by Steven Barker.
* Issue #20729: Restored the use of lazy iterkeys()/itervalues()/iteritems()Serhiy Storchaka2014-08-132-14/+14
| | | | in the mailbox module. This is partial rollback of changeset f340cb045bf9.
* Issue 22184: Early detection and reporting of missing lru_cache parametersRaymond Hettinger2014-08-122-0/+13
|
* Decreased memory requirements of new tests added in issue21448.Serhiy Storchaka2014-08-121-1/+2
|
* Issue #21448: Fixed FeedParser feed() to avoid O(N**2) behavior when parsing ↵Serhiy Storchaka2014-08-122-12/+77
| | | | | | long line. Original patch by Raymond Hettinger.
* Issue #17923: glob() patterns ending with a slash no longer match non-dirs onSerhiy Storchaka2014-08-121-3/+8
| | | | AIX. Based on patch by Delhallt.
* Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de ↵Antoine Pitrou2014-08-121-0/+2
| | | | Gaye.
* Close #22175: Improve test_faulthandler readability with dedent.Victor Stinner2014-08-101-174/+176
| | | | Patch written by Xavier de Gaye.
* Issue #22161: Conformed arguments type checks in ctype to actually supportedSerhiy Storchaka2014-08-094-3/+22
| | | | types. Corrected error messages about bytes arguments.
* Issue #14105: Stop removing breakpoints from Idle editors.Terry Jan Reedy2014-08-092-1/+10
| | | | Move BREAK tag configuration to PyShellEditorWindow.
* Issue #22060: Clean up/simplify test_ctypes, use test discoveryZachary Ware2014-08-088-302/+71
|
* Issue #20056: Fixed deprecation warning about bytes path in test_shutil onSerhiy Storchaka2014-08-071-1/+4
| | | | Windows. Path by Vajrasky Kok.
* #22092: use absolute imports in unittest tests. Patch by Vajrasky Kok.Ezio Melotti2014-08-077-5/+8
|
* #11955: show the list of args in case of error in test_argparse.Ezio Melotti2014-08-041-2/+2
|
* Issue #22104: Don't hold a reference to the loaded TestSuite in runtest_innerZachary Ware2014-08-041-2/+4
|
* #20977: fix undefined name in the email module. Patch by Rose Ames.Ezio Melotti2014-08-042-3/+15
|
* PEP 8 spacing in idlelib.configDialog: mostly a = b in assignments,Terry Jan Reedy2014-08-041-548/+582
| | | | a, b in arg lists, and hanging indents for long arg lists.
* Issue #22068: Don't create self reference cycles in idlelib.ConfigDialog.Terry Jan Reedy2014-07-301-29/+38
|
* Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka2014-07-302-14/+15
| | | | In particular this allows to initialize images from binary data.
* Issue #21951: Temporary skip crashing test_user_command on AIX.Serhiy Storchaka2014-07-301-0/+1
|
* Close #22063: socket operations (socket,recv, sock_sendall, sock_connect,Victor Stinner2014-07-293-0/+34
| | | | | sock_accept) now raise an exception in debug mode if sockets are in blocking mode.
* asyncio: Use the new os.set_blocking() function of Python 3.5 if availableVictor Stinner2014-07-292-10/+14
|
* asyncio: sync with TulipVictor Stinner2014-07-297-72/+108
| | | | | | | | | | | | | | | | | | | | | | | | * _WaitHandleFuture.cancel() now notify IocpProactor through the overlapped object that the wait was cancelled. * Optimize IocpProactor.wait_for_handle() gets the result if the wait is signaled immediatly. * Enhance representation of Future and Future subclasses - Add "created at filename:lineno" in the representation - Add Future._repr_info() method which can be more easily overriden than Future.__repr__(). It should now be more easy to enhance Future representation without having to modify each subclass. For example, _OverlappedFuture and _WaitHandleFuture get the new "created at" information. - Use reprlib to format Future result, and function arguments when formatting a callback, to limit the length of the representation. * Fix repr(_WaitHandleFuture) * _WaitHandleFuture and _OverlappedFuture: hide frames of internal calls in the source traceback. * Cleanup ProactorIocp._poll(): set the timeout to 0 after the first call to GetQueuedCompletionStatus() * test_locks: close the temporary event loop and check the condition lock * Remove workaround in test_futures, no more needed
* Issue #17172: Add the ability to run turtledemo from Idle.Terry Jan Reedy2014-07-293-0/+30
| | | | | Make turtledemo start as active on Mac even when run with subprocess. Patch by Ramchandra Apt, Lita Cho, and Ned Daily.
* Issue #18174: Fix leak of file descriptor in test_tempfileVictor Stinner2014-07-281-0/+4
|
* Issue #11453, #18174: Fix leak of file descriptor in test_asyncoreVictor Stinner2014-07-281-0/+4
|
* Fix sporadic failure of test_pep277 on Windows: use support.rmtree() instead ofVictor Stinner2014-07-281-24/+9
| | | | deltree().
* Fix test_bytes when sys.stdin is None, for example on Windows when usingVictor Stinner2014-07-281-1/+1
| | | | pythonw.exe instead of python.exe
* asyncio, tulip issue 196: ProactorIocp._register() now registers the overlappedVictor Stinner2014-07-271-15/+38
| | | | | | | | | | | | | | | | in the _cache dictionary, even if we already got the result. We need to keep a reference to the overlapped object, otherwise the memory may be reused and GetQueuedCompletionStatus() may use random bytes and behaves badly. There is still a hack for ConnectNamedPipe(): the overlapped object is not register into _cache if the overlapped object completed directly. Log also an error in debug mode in ProactorIocp._loop() if we get an unexpected event. Add a protection in ProactorIocp.close() to avoid blocking, even if it should not happen. I still don't understand exactly why some the completion of some overlapped objects are not notified.
* 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.
* 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-261-0/+18
| | | | 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-251-0/+11
|
* 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.
* Merge.Charles-François Natali2014-07-2538-351/+377
|\
| * 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 #16133: The asynchat.async_chat.handle_read() method now ignoresVictor Stinner2014-07-242-0/+19
| | | | | | | | | | | | BlockingIOError exceptions. Initial patch written by Xavier de Gaye. Document also in asyncore documentation that recv() may raise BlockingIOError.
| * Issue #19884: readline: Disable the meta modifier key if stdout is not aVictor Stinner2014-07-241-5/+18
| | | | | | | | | | | | 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.