summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #22161: Conformed arguments type checks in ctype to actually supportedSerhiy Storchaka2014-08-094-3/+22
|\ | | | | | | types. Corrected error messages about bytes arguments.
| * Issue #22161: Conformed arguments type checks in ctype to actually supportedSerhiy Storchaka2014-08-094-3/+22
| | | | | | | | types. Corrected error messages about bytes arguments.
* | Merge with 3.4Terry Jan Reedy2014-08-092-1/+10
|\ \ | |/
| * Issue #14105: Stop removing breakpoints from Idle editors.Terry Jan Reedy2014-08-092-1/+10
| | | | | | | | Move BREAK tag configuration to PyShellEditorWindow.
* | Closes #22060: Merge with 3.4Zachary Ware2014-08-088-302/+71
|\ \ | |/
| * 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.
| * Issue #20056: Fixed deprecation warning about bytes path in test_shutil onSerhiy Storchaka2014-08-071-1/+4
| | | | | | | | Windows. Path by Vajrasky Kok.
* | #22092: merge with 3.4.Ezio Melotti2014-08-077-5/+8
|\ \ | |/
| * #22092: use absolute imports in unittest tests. Patch by Vajrasky Kok.Ezio Melotti2014-08-077-5/+8
| |
* | Issue #22116: C functions and methods (of the 'builtin_function_or_method' ↵Antoine Pitrou2014-08-062-1/+13
| | | | | | | | type) can now be weakref'ed. Patch by Wei Wu.
* | Issue #5411: Added support for the "xztar" format in the shutil module.Serhiy Storchaka2014-08-062-4/+31
| |
* | - Issue #21539: Add a *exists_ok* argument to `Pathlib.mkdir()` to mimicBarry Warsaw2014-08-053-8/+63
| | | | | | | | | | | | | | | | | | | | | | `mkdir -p` and `os.makedirs()` functionality. When true, ignore FileExistsErrors. Patch by Berker Peksag. (With minor cleanups, additional tests, doc tweaks, etc. by Barry) Also: * Remove some unused imports in test_pathlib.py reported by pyflakes.
* | #11955: merge with 3.4.Ezio Melotti2014-08-041-2/+2
|\ \ | |/
| * #11955: show the list of args in case of error in test_argparse.Ezio Melotti2014-08-041-2/+2
| |
* | Closes #22104: Merge with 3.4Zachary Ware2014-08-041-2/+4
|\ \ | |/
| * Issue #22104: Don't hold a reference to the loaded TestSuite in runtest_innerZachary Ware2014-08-041-2/+4
| |
* | #20977: merge with 3.4.Ezio Melotti2014-08-042-3/+15
|\ \ | |/
| * #20977: fix undefined name in the email module. Patch by Rose Ames.Ezio Melotti2014-08-042-3/+15
| |
* | Use two-argument form of next() and use a return-statement instead of an ↵Raymond Hettinger2014-08-041-5/+2
| | | | | | | | explicit raise StopIteration
* | Make the import private to keep the global namespace clean.Raymond Hettinger2014-08-041-2/+2
| |
* | Use reversed() instead of creating a new temporary list.Raymond Hettinger2014-08-041-1/+1
| |
* | Merge with 3.4Terry Jan Reedy2014-08-041-548/+582
|\ \ | |/
| * 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.
* | #21047: set the default value for the *convert_charrefs* argument of ↵Ezio Melotti2014-08-022-13/+4
| | | | | | | | HTMLParser to True. Patch by Berker Peksag.
* | Add an __all__ to html.entities.Ezio Melotti2014-08-021-0/+3
| |
* | #15114: the strict mode and argument of HTMLParser, HTMLParser.error, and ↵Ezio Melotti2014-08-022-158/+17
| | | | | | | | the HTMLParserError exception have been removed.
* | Issue #22077: Improve index error messages for bytearrays, bytes, lists, andTerry Jan Reedy2014-08-023-0/+31
| | | | | | | | | | tuples by adding 'or slices'. Added ', not <typename' for bytearrays. Original patch by Claudiu Popa.
* | Simplify code in multiprocessing.Connection.send_bytes().Antoine Pitrou2014-07-311-9/+6
| | | | | | | | Followup to issue #20540; patch by Serhiy.
* | Issue #22111: Assorted cleanups in test_imaplib. Patch by Milan Oberkirch.Antoine Pitrou2014-07-311-65/+51
| |
* | Back out of changes to Tkinter variables trace commands (issue #22085).Serhiy Storchaka2014-07-311-3/+3
| |
* | Merge with 3.4Terry Jan Reedy2014-07-301-29/+38
|\ \ | |/
| * Issue #22068: Don't create self reference cycles in idlelib.ConfigDialog.Terry Jan Reedy2014-07-301-29/+38
| |
* | Issue #22085: Dropped support of Tk 8.3 in Tkinter.Serhiy Storchaka2014-07-301-5/+4
| |
* | 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 #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 #22018: Fix test_signal: use assertEqual() not assertIs()Victor Stinner2014-07-301-3/+3
| |
* | Issue #21951: Temporary skip crashing test_user_command on AIX.Serhiy Storchaka2014-07-301-0/+1
|\ \ | |/
| * Issue #21951: Temporary skip crashing test_user_command on AIX.Serhiy Storchaka2014-07-301-0/+1
| |
* | Issue #22003: When initialized from a bytes object, io.BytesIO() nowAntoine Pitrou2014-07-291-3/+49
| | | | | | | | | | | | | | defers making a copy until it is mutated, improving performance and memory use on some use cases. Patch by David Wilson.
* | Issue #22018: On Windows, signal.set_wakeup_fd() now also supports sockets.Victor Stinner2014-07-291-0/+107
| | | | | | | | A side effect is that Python depends to the WinSock library.
* | Merge with Python 3.4 (asyncio)Victor Stinner2014-07-295-4/+48
|\ \ | |/ | | | | | | | | | | - Close #22063: socket operations (socket,recv, sock_sendall, sock_connect, 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
| * 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
| |
* | Issue #22054: Add os.get_blocking() and os.set_blocking() functions to get andVictor Stinner2014-07-298-57/+56
| | | | | | | | | | set the blocking mode of a file descriptor (False if the O_NONBLOCK flag is set, True otherwise). These functions are not available on Windows.
* | (Merge 3.4) 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
| * 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
* | Merge with 3.4Terry Jan Reedy2014-07-293-0/+30
|\ \ | |/
| * 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.
* | (Merge 3.4) Issue #18174: Fix leak of file descriptor in test_tempfileVictor Stinner2014-07-281-0/+4
|\ \ | |/