Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Release bump for Python 3.5.0a3.v3.5.0a3 | Larry Hastings | 2015-03-29 | 2 | -2/+2 |
| | |||||
* | Regenerated pydoc topics and minor doc fixes for 3.5.0a3. | Larry Hastings | 2015-03-29 | 1 | -1/+1 |
| | |||||
* | Issue #14260: The groupindex attribute of regular expression pattern object | Serhiy Storchaka | 2015-03-29 | 3 | -4/+14 |
| | | | | now is non-modifiable mapping. | ||||
* | #2211: properly document the Morsel behavior changes. | R David Murray | 2015-03-29 | 2 | -1/+10 |
| | | | | | | | Also deprecate the undocumented set argument instead of removing it already in 3.5. Initial patch by Demian Brecht. | ||||
* | merge 3.4 (#23801) | Benjamin Peterson | 2015-03-29 | 2 | -2/+26 |
|\ | |||||
| * | Closes #23801 - Ignore entire preamble to multipart in cgi.FieldStorage | Donald Stufft | 2015-03-29 | 2 | -2/+26 |
| | | |||||
* | | Merge: #23792: Ignore KeyboardInterrupt when the pydoc pager is active. | R David Murray | 2015-03-29 | 1 | -3/+10 |
|\ \ | |/ | |||||
| * | #23792: Ignore KeyboardInterrupt when the pydoc pager is active. | R David Murray | 2015-03-29 | 1 | -3/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if you hit ctl-c while the pager was active, the python that launched the subprocess for the pager would see the KeyboardInterrupt in the __exit__ method of the subprocess context manager where it was waiting for the subprocess to complete, ending the wait. This would leave the pager running, while the interactive interpreter, after handling the exception by printing it, would go back to trying to post a prompt...but the pager would generally have the terminal in raw mode, and in any case would be still trying to read from stdin. On some systems, even exiting python at that point would not restore the terminal mode. The problem with raw mode could also happen if ctl-C was hit when pydoc was called from the shell command line and the pager was active. Instead, we now wait on the subprocess in a loop, ignoring KeyboardInterrupt just like the pager does, until the pager actually exits. (Note: this was a regression relative to python2...in python2 the pager is called via system, and system does not return until the pager exits.) | ||||
* | | Added explicit tests for issue #23803. | Serhiy Storchaka | 2015-03-29 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue #23803: Fixed str.partition() and str.rpartition() when a separator | Serhiy Storchaka | 2015-03-29 | 1 | -0/+2 |
| | | | | | | | | is wider then partitioned string. | ||||
* | | Removed unintentional trailing spaces in text files. | Serhiy Storchaka | 2015-03-29 | 4 | -11/+11 |
| | | |||||
* | | Make some tests more frienly to MemoryError. | Serhiy Storchaka | 2015-03-28 | 6 | -16/+42 |
|\ \ | |/ | | | | | Free memory, unlock hanging threads. | ||||
| * | Make some tests more frienly to MemoryError. | Serhiy Storchaka | 2015-03-28 | 6 | -16/+43 |
| | | | | | | | | Free memory, unlock hanging threads. | ||||
* | | Issue #22117: Add the new _PyTime_ROUND_FLOOR rounding method for the datetime | Victor Stinner | 2015-03-28 | 1 | -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 Stinner | 2015-03-28 | 1 | -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 API | Victor Stinner | 2015-03-27 | 1 | -1/+28 |
| | | | | | | | | | | * Add _PyTime_AsTimespec() * Add unit tests for _PyTime_AsTimespec() | ||||
* | | Issue #22117: time.monotonic() now uses the new _PyTime_t API | Victor Stinner | 2015-03-27 | 1 | -10/+54 |
| | | | | | | | | | | | | * Add _PyTime_FromNanoseconds() * Add _PyTime_AsSecondsDouble() * Add unit tests for _PyTime_AsSecondsDouble() | ||||
* | | Remove a dead test for a never-launched API | Brett Cannon | 2015-03-27 | 1 | -9/+0 |
| | | |||||
* | | Merge | Brett Cannon | 2015-03-27 | 1 | -79/+173 |
|\ \ | |||||
| * | | 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 | ||||
* | | | Fix module deprecation warnings to have a useful stacklevel | Brett Cannon | 2015-03-27 | 2 | -2/+2 |
|/ / | |||||
* | | 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. |