Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #11955: show the list of args in case of error in test_argparse. | Ezio Melotti | 2014-08-04 | 1 | -2/+2 |
| | |||||
* | #18034: update FAQ to suggest importlib.import_module instead of __import__. ↵ | Ezio Melotti | 2014-08-04 | 2 | -12/+4 |
| | | | | Patch by Wouter van Heyst. | ||||
* | Issue #22104: Don't hold a reference to the loaded TestSuite in runtest_inner | Zachary Ware | 2014-08-04 | 2 | -2/+7 |
| | |||||
* | #20977: fix undefined name in the email module. Patch by Rose Ames. | Ezio Melotti | 2014-08-04 | 3 | -3/+16 |
| | |||||
* | #18588: update the timeit examples to be consistent. | Ezio Melotti | 2014-08-04 | 1 | -9/+10 |
| | |||||
* | Remove unused leftover stray line | Raymond Hettinger | 2014-08-04 | 1 | -1/+0 |
| | |||||
* | Fix markup. | Raymond Hettinger | 2014-08-04 | 1 | -2/+2 |
| | |||||
* | Improve regex tokenizer example by using re.finditer(). | Raymond Hettinger | 2014-08-04 | 1 | -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 Reedy | 2014-08-04 | 1 | -548/+582 |
| | | | | a, b in arg lists, and hanging indents for long arg lists. | ||||
* | Issue #13540: Merge changes from 3.3 | Jason R. Coombs | 2014-08-03 | 1 | -19/+53 |
|\ | |||||
| * | Issue #13540: Merge changes from 3.2 | Jason R. Coombs | 2014-08-03 | 1 | -19/+53 |
| |\ | |||||
| | * | Issue #13540: Update references to Action class to match syntax used for ↵ | Jason R. Coombs | 2014-08-03 | 1 | -2/+2 |
| | | | | | | | | | | | | other classes in this file. | ||||
| | * | Issue #13540: Removed redundant documentation about Action instance ↵ | Jason R. Coombs | 2014-07-20 | 1 | -49/+26 |
| | | | | | | | | | | | | attributes. Updated example and documentation per recommendations by Steven Bethard in msg149524. | ||||
| | * | Issue #13540: Expanded argparse documents to clarify the action API | Jason R. Coombs | 2011-12-14 | 1 | -19/+76 |
| | | | |||||
* | | | Fix whitespace in example. | Raymond Hettinger | 2014-08-03 | 1 | -2/+2 |
| | | | |||||
* | | | - update config.guess and config.sub to support openrisc. | doko@ubuntu.com | 2014-08-01 | 2 | -175/+40 |
| | | | |||||
* | | | Issue #22068: Don't create self reference cycles in idlelib.ConfigDialog. | Terry Jan Reedy | 2014-07-30 | 1 | -29/+38 |
| | | | |||||
* | | | Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk. | Serhiy Storchaka | 2014-07-30 | 4 | -16/+20 |
| | | | | | | | | | | | | In particular this allows to initialize images from binary data. | ||||
* | | | Issue #21951: Temporary skip crashing test_user_command on AIX. | Serhiy Storchaka | 2014-07-30 | 1 | -0/+1 |
| | | | |||||
* | | | Issue #22063: Mention in asyncio documentation that socket operations require | Victor Stinner | 2014-07-29 | 1 | -0/+8 |
| | | | | | | | | | | | | the socket to be non-blocking | ||||
* | | | Close #22063: socket operations (socket,recv, sock_sendall, sock_connect, | Victor Stinner | 2014-07-29 | 3 | -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 available | Victor Stinner | 2014-07-29 | 2 | -10/+14 |
| | | | |||||
* | | | Edit NEWS entry | Ned Deily | 2014-07-29 | 1 | -3/+3 |
| | | | |||||
* | | | #21704: remove duplicate name in Misc/ACKS. | Ezio Melotti | 2014-07-29 | 1 | -1/+0 |
| | | | |||||
* | | | asyncio: sync with Tulip | Victor Stinner | 2014-07-29 | 7 | -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 NEWS | Terry Jan Reedy | 2014-07-29 | 1 | -0/+7 |
| | | | |||||
* | | | Issue #17172: Add the ability to run turtledemo from Idle. | Terry Jan Reedy | 2014-07-29 | 3 | -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_tempfile | Victor Stinner | 2014-07-28 | 1 | -0/+4 |
| | | | |||||
* | | | Issue #11453, #18174: Fix leak of file descriptor in test_asyncore | Victor Stinner | 2014-07-28 | 1 | -0/+4 |
| | | | |||||
* | | | Fix sporadic failure of test_pep277 on Windows: use support.rmtree() instead of | Victor Stinner | 2014-07-28 | 1 | -24/+9 |
| | | | | | | | | | | | | deltree(). | ||||
* | | | Issue #21704: Fix build error for _multiprocessing when semaphores | Richard Oudkerk | 2014-07-28 | 3 | -0/+6 |
| | | | | | | | | | | | | are not available. Patch by Arfrever Frehtes Taifersar Arahesis. | ||||
* | | | Fix test_bytes when sys.stdin is None, for example on Windows when using | Victor Stinner | 2014-07-28 | 1 | -1/+1 |
| | | | | | | | | | | | | pythonw.exe instead of python.exe | ||||
* | | | asyncio, tulip issue 196: ProactorIocp._register() now registers the overlapped | Victor Stinner | 2014-07-27 | 1 | -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 Reedy | 2014-07-27 | 1 | -19/+6 |
| | | | |||||
* | | | Reduce unnecessary 2.7 versus 3.4+ differences in idlelib/configDialog.py. | Terry Jan Reedy | 2014-07-26 | 1 | -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 Svetlov | 2014-07-26 | 1 | -2/+4 |
| | | | |||||
* | | | Issue #22074: Fix Lib/test/make_ssl_certs.py | Antoine Pitrou | 2014-07-26 | 1 | -1/+1 |
| | | | |||||
* | | | Accept optional lock object in Condition ctor (tulip issue #198) | Andrew Svetlov | 2014-07-26 | 2 | -3/+18 |
| | | | |||||
* | | | Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError | Victor Stinner | 2014-07-26 | 3 | -2/+30 |
| | | | | | | | | | | | | on closed socket. repr(socket.socket) already works fine. | ||||
* | | | Tulip issue 196: _OverlappedFuture.set_result() now clears its reference to the | Victor Stinner | 2014-07-25 | 1 | -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 Hettinger | 2014-07-25 | 4 | -7/+22 |
| | | | |||||
* | | | asyncio: sync with Tulip | Victor Stinner | 2014-07-25 | 2 | -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 Ware | 2014-07-25 | 2 | -0/+8 |
| | | | | | | | | | | | | Patch by Zachary Turner. | ||||
* | | | Issue #22072: Fix a couple of SSL doc typos. Patch by Alex Gaynor. | Zachary Ware | 2014-07-25 | 1 | -2/+2 |
| | | | |||||
* | | | Merge. | Charles-François Natali | 2014-07-25 | 50 | -441/+649 |
|\ \ \ | |||||
| * | | | asyncio, test_subprocess: relax timings for slow builbots | Victor Stinner | 2014-07-25 | 1 | -2/+2 |
| | | | | |||||
| * | | | asyncio: sync with Tulip | Victor Stinner | 2014-07-25 | 2 | -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 Storchaka | 2014-07-25 | 1 | -2/+9 |
| | | | | |||||
| * | | | Issue #22061: remove call of useless function slated for removal. | Terry Jan Reedy | 2014-07-25 | 1 | -1/+0 |
| | | | | |||||
| * | | | Issue #22053: Make help work, after previous patch for this issue disabled it | Terry Jan Reedy | 2014-07-25 | 1 | -17/+9 |
| | | | | | | | | | | | | | | | | by removing global 'demo'. Refactor and remove duplicate code. |