summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* #11955: show the list of args in case of error in test_argparse.Ezio Melotti2014-08-041-2/+2
|
* #18034: update FAQ to suggest importlib.import_module instead of __import__. ↵Ezio Melotti2014-08-042-12/+4
| | | | Patch by Wouter van Heyst.
* Issue #22104: Don't hold a reference to the loaded TestSuite in runtest_innerZachary Ware2014-08-042-2/+7
|
* #20977: fix undefined name in the email module. Patch by Rose Ames.Ezio Melotti2014-08-043-3/+16
|
* #18588: update the timeit examples to be consistent.Ezio Melotti2014-08-041-9/+10
|
* Remove unused leftover stray lineRaymond Hettinger2014-08-041-1/+0
|
* Fix markup.Raymond Hettinger2014-08-041-2/+2
|
* Improve regex tokenizer example by using re.finditer().Raymond Hettinger2014-08-041-37/+38
| | | | | Also, improve variable names and fix column numbers in the generated output.
* 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 #13540: Merge changes from 3.3Jason R. Coombs2014-08-031-19/+53
|\
| * Issue #13540: Merge changes from 3.2Jason R. Coombs2014-08-031-19/+53
| |\
| | * Issue #13540: Update references to Action class to match syntax used for ↵Jason R. Coombs2014-08-031-2/+2
| | | | | | | | | | | | other classes in this file.
| | * Issue #13540: Removed redundant documentation about Action instance ↵Jason R. Coombs2014-07-201-49/+26
| | | | | | | | | | | | attributes. Updated example and documentation per recommendations by Steven Bethard in msg149524.
| | * Issue #13540: Expanded argparse documents to clarify the action APIJason R. Coombs2011-12-141-19/+76
| | |
* | | Fix whitespace in example.Raymond Hettinger2014-08-031-2/+2
| | |
* | | - update config.guess and config.sub to support openrisc.doko@ubuntu.com2014-08-012-175/+40
| | |
* | | 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-304-16/+20
| | | | | | | | | | | | 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
| | |
* | | Issue #22063: Mention in asyncio documentation that socket operations requireVictor Stinner2014-07-291-0/+8
| | | | | | | | | | | | the socket to be non-blocking
* | | 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
| | |
* | | Edit NEWS entryNed Deily2014-07-291-3/+3
| | |
* | | #21704: remove duplicate name in Misc/ACKS.Ezio Melotti2014-07-291-1/+0
| | |
* | | 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 NEWSTerry Jan Reedy2014-07-291-0/+7
| | |
* | | 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().
* | | Issue #21704: Fix build error for _multiprocessing when semaphoresRichard Oudkerk2014-07-283-0/+6
| | | | | | | | | | | | are not available. Patch by Arfrever Frehtes Taifersar Arahesis.
* | | 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.
* | | 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.