Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22117: Fix rounding in _PyTime_FromSecondsObject() | Victor Stinner | 2015-03-27 | 1 | -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 Stinner | 2015-03-27 | 1 | -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 Stinner | 2015-03-27 | 1 | -1/+1 |
|\ | |||||
| * | Issue #23445: Fix test.support.python_is_optimized() for CFLAGS=-Og | Victor Stinner | 2015-03-27 | 1 | -1/+1 |
| | | | | | | | | -Og does not optimize the C code, it's just "fast debugging". | ||||
* | | Merge 3.4 (asyncio) | Victor Stinner | 2015-03-27 | 2 | -1/+6 |
|\ \ | |/ | |||||
| * | asyncio: Fix _SelectorTransport.__repr__() if the event loop is closed | Victor Stinner | 2015-03-27 | 2 | -1/+6 |
| | | |||||
* | | Issue #23715: Fix test_sigtimedwait() of test_eintr | Victor Stinner | 2015-03-27 | 1 | -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 representation | Serhiy Storchaka | 2015-03-26 | 2 | -24/+37 |
| | | | | | | | | as repr(). | ||||
* | | Issue #23776: Removed asserts from pprint.PrettyPrinter constructor. | Serhiy Storchaka | 2015-03-26 | 2 | -7/+23 |
| | | |||||
* | | Issue #23765: Removed IsBadStringPtr calls in ctypes | Steve Dower | 2015-03-26 | 1 | -8/+4 |
| | | |||||
* | | Issue #22364: Improved some re error messages using regex for hints. | Serhiy Storchaka | 2015-03-25 | 4 | -193/+295 |
| | | |||||
* | | Check that failed writerow() doesn't produce change a file. | Serhiy Storchaka | 2015-03-25 | 1 | -14/+16 |
|\ \ | |/ | |||||
| * | Check that failed writerow() doesn't produce change a file. | Serhiy Storchaka | 2015-03-25 | 1 | -14/+16 |
| | | |||||
* | | Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes. | Serhiy Storchaka | 2015-03-25 | 2 | -1/+2 |
|\ \ | |/ | |||||
| * | Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes. | Serhiy Storchaka | 2015-03-25 | 2 | -1/+2 |
| | | |||||
* | | Issue #21717: The zipfile.ZipFile.open function now supports 'x' (exclusive | Serhiy Storchaka | 2015-03-25 | 2 | -12/+27 |
| | | | | | | | | creation) mode. | ||||
* | | Fixed bytes warnings when run tests with -vv. | Serhiy Storchaka | 2015-03-24 | 2 | -6/+6 |
|\ \ | |/ | |||||
| * | Fixed bytes warnings when run tests with -vv. | Serhiy Storchaka | 2015-03-24 | 2 | -6/+6 |
| | | |||||
* | | Fixed using deprecated escaping in regular expression in _strptime.py ↵ | Serhiy Storchaka | 2015-03-24 | 2 | -3/+3 |
| | | | | | | | | (issue23622). | ||||
* | | Issue #21802: The reader in BufferedRWPair now is closed even when closing | Serhiy Storchaka | 2015-03-24 | 2 | -2/+51 |
|\ \ | |/ | | | | | writer failed in BufferedRWPair.close(). | ||||
| * | Issue #21802: The reader in BufferedRWPair now is closed even when closing | Serhiy Storchaka | 2015-03-24 | 2 | -2/+51 |
| | | | | | | | | writer failed in BufferedRWPair.close(). | ||||
* | | Issue #23622: Unknown escapes in regular expressions that consist of ``'\'`` | Serhiy Storchaka | 2015-03-24 | 3 | -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 as | Serhiy Storchaka | 2015-03-24 | 3 | -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 as | Serhiy Storchaka | 2015-03-24 | 3 | -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 Storchaka | 2015-03-24 | 1 | -0/+150 |
|\ \ | |/ | |||||
| * | Added tests for mixed kinds of Unicode strings. | Serhiy Storchaka | 2015-03-24 | 1 | -0/+150 |
| | | |||||
* | | Issue #23583: Added tests for standard IO streams in IDLE. | Serhiy Storchaka | 2015-03-24 | 1 | -0/+233 |
|\ \ | |/ | |||||
| * | Issue #23583: Added tests for standard IO streams in IDLE. | Serhiy Storchaka | 2015-03-24 | 1 | -0/+233 |
| | | |||||
| * | Issue #21560: An attempt to write a data of wrong type no longer cause | Serhiy Storchaka | 2015-03-23 | 2 | -2/+35 |
| | | | | | | | | GzipFile corruption. Original patch by Wolfgang Maier. | ||||
* | | Issue #23502: The pprint module now supports mapping proxies. | Serhiy Storchaka | 2015-03-24 | 2 | -0/+38 |
| | | | | | | | | In particular the __dict__ attributes of building types. | ||||
* | | Issue #17530: pprint now wraps long bytes objects and bytearrays. | Serhiy Storchaka | 2015-03-24 | 2 | -0/+147 |
| | | |||||
* | | Issue #23741: Slightly refactor the pprint module to make it a little more | Serhiy Storchaka | 2015-03-24 | 1 | -108/+122 |
| | | | | | | | | extesible. No public API is added. | ||||
* | | Issue #22687: Fixed some corner cases in breaking words in tetxtwrap. | Serhiy Storchaka | 2015-03-24 | 2 | -4/+35 |
| | | | | | | | | Got rid of quadratic complexity in breaking long words. | ||||
* | | Issue #20289: The copy module now uses pickle protocol 4 (PEP 3154) and | Serhiy Storchaka | 2015-03-24 | 2 | -2/+72 |
| | | | | | | | | | | supports copying of instances of classes whose __new__ method takes keyword-only arguments. | ||||
* | | Issue #23571: Enhance _Py_CheckFunctionResult() | Victor Stinner | 2015-03-24 | 1 | -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_capi | Victor Stinner | 2015-03-24 | 1 | -2/+23 |
| | | |||||
* | | Issue #23688: Added support of arbitrary bytes-like objects and avoided | Serhiy Storchaka | 2015-03-23 | 2 | -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 Storchaka | 2015-03-22 | 2 | -34/+108 |
| | | |||||
* | | Merge: #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. | R David Murray | 2015-03-22 | 1 | -5/+6 |
|\ \ | |/ | |||||
| * | #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. | R David Murray | 2015-03-22 | 1 | -5/+6 |
| | | |||||
* | | Merge: #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. | R David Murray | 2015-03-22 | 2 | -28/+78 |
|\ \ | |/ | |||||
| * | #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. | R David Murray | 2015-03-22 | 2 | -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 comment | R David Murray | 2015-03-22 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | #23700: fix/improve comment | R David Murray | 2015-03-22 | 1 | -2/+4 |
| | | |||||
* | | #23657 Don't explicitly do an isinstance check for str in zipapp | Paul Moore | 2015-03-22 | 2 | -9/+129 |
| | | | | | | | | | | As a result, explicitly support pathlib.Path objects as arguments. Also added tests for the CLI interface. | ||||
* | | Issue #22289: merge from 3.4 | Ned Deily | 2015-03-22 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Issue #22289: Prevent test_urllib2net failures due to ftp connection timeout. | Ned Deily | 2015-03-22 | 1 | -1/+2 |
| | | |||||
* | | Issue #23571: Fix test_capi | Victor Stinner | 2015-03-21 | 1 | -2/+2 |
| | | |||||
* | | Issue #23571: _Py_CheckFunctionResult() now gives the name of the function | Victor Stinner | 2015-03-21 | 1 | -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 Hettinger | 2015-03-21 | 3 | -1/+61 |
| | | | | | | | | as a MutableSequence. |