summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #22117: Fix rounding in _PyTime_FromSecondsObject()Victor Stinner2015-03-271-79/+173
| | | | | | * Rename _PyTime_FromObject() to _PyTime_FromSecondsObject() * Add _PyTime_AsNanosecondsObject() and _testcapi.pytime_fromsecondsobject() * Add unit tests
* Issue #22117: Fix test_gdb for the new time.sleep()Victor Stinner2015-03-271-6/+8
| | | | | | | Use time.gmtime() instead of time.sleep(), because time.sleep() is no more declared with METH_VARARGS but with METH_O. time.gmtime() is still declared with METH_VARARGS and so it is called with PyCFunction_Call() which is the target of the test_gdb unit test.
* Merge 3.4 (test.support)Victor Stinner2015-03-271-1/+1
|\
| * Issue #23445: Fix test.support.python_is_optimized() for CFLAGS=-OgVictor Stinner2015-03-271-1/+1
| | | | | | | | -Og does not optimize the C code, it's just "fast debugging".
* | Merge 3.4 (asyncio)Victor Stinner2015-03-272-1/+6
|\ \ | |/
| * asyncio: Fix _SelectorTransport.__repr__() if the event loop is closedVictor Stinner2015-03-272-1/+6
| |
* | Issue #23715: Fix test_sigtimedwait() of test_eintrVictor Stinner2015-03-271-1/+1
| | | | | | | | | | sigtimedwait([], timeout) fails with OSError(EINVAL) on OpenIndiana, wait for a signal which will never be received instead.
* | Issue #23775: pprint() of OrderedDict now outputs the same representationSerhiy Storchaka2015-03-262-24/+37
| | | | | | | | as repr().
* | Issue #23776: Removed asserts from pprint.PrettyPrinter constructor.Serhiy Storchaka2015-03-262-7/+23
| |
* | Issue #23765: Removed IsBadStringPtr calls in ctypesSteve Dower2015-03-261-8/+4
| |
* | Issue #22364: Improved some re error messages using regex for hints.Serhiy Storchaka2015-03-254-193/+295
| |
* | Check that failed writerow() doesn't produce change a file.Serhiy Storchaka2015-03-251-14/+16
|\ \ | |/
| * Check that failed writerow() doesn't produce change a file.Serhiy Storchaka2015-03-251-14/+16
| |
* | Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes.Serhiy Storchaka2015-03-252-1/+2
|\ \ | |/
| * Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes.Serhiy Storchaka2015-03-252-1/+2
| |
* | Issue #21717: The zipfile.ZipFile.open function now supports 'x' (exclusiveSerhiy Storchaka2015-03-252-12/+27
| | | | | | | | creation) mode.
* | Fixed bytes warnings when run tests with -vv.Serhiy Storchaka2015-03-242-6/+6
|\ \ | |/
| * Fixed bytes warnings when run tests with -vv.Serhiy Storchaka2015-03-242-6/+6
| |
* | Fixed using deprecated escaping in regular expression in _strptime.py ↵Serhiy Storchaka2015-03-242-3/+3
| | | | | | | | (issue23622).
* | Issue #21802: The reader in BufferedRWPair now is closed even when closingSerhiy Storchaka2015-03-242-2/+51
|\ \ | |/ | | | | writer failed in BufferedRWPair.close().
| * Issue #21802: The reader in BufferedRWPair now is closed even when closingSerhiy Storchaka2015-03-242-2/+51
| | | | | | | | writer failed in BufferedRWPair.close().
* | Issue #23622: Unknown escapes in regular expressions that consist of ``'\'``Serhiy Storchaka2015-03-243-17/+46
| | | | | | | | | | and ASCII letter now raise a deprecation warning and will be forbidden in Python 3.6.
* | Issue #23671: string.Template now allows to specify the "self" parameter asSerhiy Storchaka2015-03-243-3/+48
|\ \ | |/ | | | | | | keyword argument. string.Formatter now allows to specify the "self" and the "format_string" parameters as keyword arguments.
| * Issue #23671: string.Template now allows to specify the "self" parameter asSerhiy Storchaka2015-03-243-3/+44
| | | | | | | | | | keyword argument. string.Formatter now allows to specify the "self" and the "format_string" parameters as keyword arguments.
* | Added tests for mixed kinds of Unicode strings.Serhiy Storchaka2015-03-241-0/+150
|\ \ | |/
| * Added tests for mixed kinds of Unicode strings.Serhiy Storchaka2015-03-241-0/+150
| |
* | Issue #23583: Added tests for standard IO streams in IDLE.Serhiy Storchaka2015-03-241-0/+233
|\ \ | |/
| * Issue #23583: Added tests for standard IO streams in IDLE.Serhiy Storchaka2015-03-241-0/+233
| |
| * Issue #21560: An attempt to write a data of wrong type no longer causeSerhiy Storchaka2015-03-232-2/+35
| | | | | | | | GzipFile corruption. Original patch by Wolfgang Maier.
* | Issue #23502: The pprint module now supports mapping proxies.Serhiy Storchaka2015-03-242-0/+38
| | | | | | | | In particular the __dict__ attributes of building types.
* | Issue #17530: pprint now wraps long bytes objects and bytearrays.Serhiy Storchaka2015-03-242-0/+147
| |
* | Issue #23741: Slightly refactor the pprint module to make it a little moreSerhiy Storchaka2015-03-241-108/+122
| | | | | | | | extesible. No public API is added.
* | Issue #22687: Fixed some corner cases in breaking words in tetxtwrap.Serhiy Storchaka2015-03-242-4/+35
| | | | | | | | Got rid of quadratic complexity in breaking long words.
* | Issue #20289: The copy module now uses pickle protocol 4 (PEP 3154) andSerhiy Storchaka2015-03-242-2/+72
| | | | | | | | | | supports copying of instances of classes whose __new__ method takes keyword-only arguments.
* | Issue #23571: Enhance _Py_CheckFunctionResult()Victor Stinner2015-03-241-4/+4
| | | | | | | | | | | | | | | | | | Too bad, sometimes Py_FatalError() is unable to write the exception into sys.stderr (on "AMD64 OpenIndiana 3.x" buildbot, the buildbot was probably out of memory). Call Py_FatalError() with a different message for the two cases (result+error, or no result and no error).
* | Issue #23571: Update test_capiVictor Stinner2015-03-241-2/+23
| |
* | Issue #23688: Added support of arbitrary bytes-like objects and avoidedSerhiy Storchaka2015-03-232-8/+48
| | | | | | | | | | unnecessary copying of memoryview in gzip.GzipFile.write(). Original patch by Wolfgang Maier.
* | Issue #23252: Added support for writing ZIP files to unseekable streams.Serhiy Storchaka2015-03-222-34/+108
| |
* | Merge: #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes.R David Murray2015-03-221-5/+6
|\ \ | |/
| * #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes.R David Murray2015-03-221-5/+6
| |
* | Merge: #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.R David Murray2015-03-222-28/+78
|\ \ | |/
| * #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.R David Murray2015-03-222-28/+78
| | | | | | | | | | | | | | | | Some http servers will reject PUT, POST, and PATCH requests if they do not have a Content-Length header. Patch by James Rutherford, with additional cleaning up of the 'request' documentation by me.
* | Merge: #23700: fix/improve commentR David Murray2015-03-221-2/+4
|\ \ | |/
| * #23700: fix/improve commentR David Murray2015-03-221-2/+4
| |
* | #23657 Don't explicitly do an isinstance check for str in zipappPaul Moore2015-03-222-9/+129
| | | | | | | | | | As a result, explicitly support pathlib.Path objects as arguments. Also added tests for the CLI interface.
* | Issue #22289: merge from 3.4Ned Deily2015-03-221-1/+2
|\ \ | |/
| * Issue #22289: Prevent test_urllib2net failures due to ftp connection timeout.Ned Deily2015-03-221-1/+2
| |
* | Issue #23571: Fix test_capiVictor Stinner2015-03-211-2/+2
| |
* | Issue #23571: _Py_CheckFunctionResult() now gives the name of the functionVictor Stinner2015-03-211-0/+44
| | | | | | | | | | | | | | | | | | | | | | which returned an invalid result (result+error or no result without error) in the exception message. Add also unit test to check that the exception contains the name of the function. Special case: the final _PyEval_EvalFrameEx() check doesn't mention the function since it didn't execute a single function but a whole frame.
* | Issue 23704: Add index(), copy(), and insert() to deques. Register deques ↵Raymond Hettinger2015-03-213-1/+61
| | | | | | | | as a MutableSequence.