summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14260: The groupindex attribute of regular expression pattern objectSerhiy Storchaka2015-03-291-0/+8
| | | | now is non-modifiable mapping.
* #2211: properly document the Morsel behavior changes.R David Murray2015-03-291-0/+2
| | | | | | | Also deprecate the undocumented set argument instead of removing it already in 3.5. Initial patch by Demian Brecht.
* merge 3.4 (#23801)Benjamin Peterson2015-03-291-0/+19
|\
| * Closes #23801 - Ignore entire preamble to multipart in cgi.FieldStorageDonald Stufft2015-03-291-0/+19
| |
* | Added explicit tests for issue #23803.Serhiy Storchaka2015-03-291-0/+2
|\ \ | |/
| * Issue #23803: Fixed str.partition() and str.rpartition() when a separatorSerhiy Storchaka2015-03-291-0/+2
| | | | | | | | is wider then partitioned string.
* | Make some tests more frienly to MemoryError.Serhiy Storchaka2015-03-284-12/+28
|\ \ | |/ | | | | Free memory, unlock hanging threads.
| * Make some tests more frienly to MemoryError.Serhiy Storchaka2015-03-284-12/+29
| | | | | | | | Free memory, unlock hanging threads.
* | Issue #22117: Add the new _PyTime_ROUND_FLOOR rounding method for the datetimeVictor Stinner2015-03-281-48/+18
| | | | | | | | | | module. time.clock_settime() now uses this rounding method instead of _PyTime_ROUND_DOWN to handle correctly dates before 1970.
* | Issue #22117: Write unit tests for _PyTime_AsTimeval()Victor Stinner2015-03-281-0/+38
| | | | | | | | | | | | | | * _PyTime_AsTimeval() now ensures that tv_usec is always positive * _PyTime_AsTimespec() now ensures that tv_nsec is always positive * _PyTime_AsTimeval() now returns an integer on overflow instead of raising an exception
* | Issue #22117: The signal modules uses the new _PyTime_t APIVictor Stinner2015-03-271-1/+28
| | | | | | | | | | * Add _PyTime_AsTimespec() * Add unit tests for _PyTime_AsTimespec()
* | Issue #22117: time.monotonic() now uses the new _PyTime_t APIVictor Stinner2015-03-271-10/+54
| | | | | | | | | | | | * Add _PyTime_FromNanoseconds() * Add _PyTime_AsSecondsDouble() * Add unit tests for _PyTime_AsSecondsDouble()
* | Remove a dead test for a never-launched APIBrett Cannon2015-03-271-9/+0
| |
* | 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-271-0/+5
|\ \ | |/
| * asyncio: Fix _SelectorTransport.__repr__() if the event loop is closedVictor Stinner2015-03-271-0/+5
| |
* | 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-261-18/+22
| | | | | | | | as repr().
* | Issue #23776: Removed asserts from pprint.PrettyPrinter constructor.Serhiy Storchaka2015-03-261-4/+17
| |
* | Issue #22364: Improved some re error messages using regex for hints.Serhiy Storchaka2015-03-251-74/+179
| |
* | 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-251-0/+1
|\ \ | |/
| * Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes.Serhiy Storchaka2015-03-251-0/+1
| |
* | Issue #21717: The zipfile.ZipFile.open function now supports 'x' (exclusiveSerhiy Storchaka2015-03-251-0/+13
| | | | | | | | 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
| |
* | Issue #21802: The reader in BufferedRWPair now is closed even when closingSerhiy Storchaka2015-03-241-0/+47
|\ \ | |/ | | | | writer failed in BufferedRWPair.close().
| * Issue #21802: The reader in BufferedRWPair now is closed even when closingSerhiy Storchaka2015-03-241-0/+47
| | | | | | | | writer failed in BufferedRWPair.close().
* | Issue #23622: Unknown escapes in regular expressions that consist of ``'\'``Serhiy Storchaka2015-03-242-16/+33
| | | | | | | | | | 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-242-0/+22
|\ \ | |/ | | | | | | 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-242-0/+21
| | | | | | | | | | 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 #21560: An attempt to write a data of wrong type no longer causeSerhiy Storchaka2015-03-231-0/+33
| | | | | | | | GzipFile corruption. Original patch by Wolfgang Maier.
* | Issue #23502: The pprint module now supports mapping proxies.Serhiy Storchaka2015-03-241-0/+29
| | | | | | | | In particular the __dict__ attributes of building types.
* | Issue #17530: pprint now wraps long bytes objects and bytearrays.Serhiy Storchaka2015-03-241-0/+100
| |
* | Issue #22687: Fixed some corner cases in breaking words in tetxtwrap.Serhiy Storchaka2015-03-241-0/+16
| | | | | | | | Got rid of quadratic complexity in breaking long words.
* | Issue #20289: The copy module now uses pickle protocol 4 (PEP 3154) andSerhiy Storchaka2015-03-241-0/+70
| | | | | | | | | | 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-231-0/+37
| | | | | | | | | | 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-221-12/+50
| |
* | Merge: #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.R David Murray2015-03-221-15/+54
|\ \ | |/
| * #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.R David Murray2015-03-221-15/+54
| | | | | | | | | | | | | | | | 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.
* | #23657 Don't explicitly do an isinstance check for str in zipappPaul Moore2015-03-221-0/+99
| | | | | | | | | | 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
|\ \ | |/