Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #23799: Added test.support.start_threads() for running and cleaning up | Serhiy Storchaka | 2015-04-01 | 8 | -78/+72 |
|\ | | | | | | | multiple threads. | ||||
| * | Issue #23799: Added test.support.start_threads() for running and cleaning up | Serhiy Storchaka | 2015-04-01 | 8 | -80/+74 |
| | | | | | | | | multiple threads. | ||||
* | | Issue 23793: Add deque support for __add__(), __mul__(), and __imul__(). | Raymond Hettinger | 2015-03-31 | 1 | -0/+77 |
| | | |||||
* | | Issue #23611: Fixed enums pickling tests. Now all picklings work with all | Serhiy Storchaka | 2015-03-31 | 1 | -15/+7 |
| | | | | | | | | protocols. | ||||
* | | Issue #18473: Fixed pickle compatibility tests for optional modules. | Serhiy Storchaka | 2015-03-31 | 2 | -10/+32 |
|\ \ | |/ | | | | | Added WindowsError to compatibility mappings. | ||||
| * | Issue #18473: Fixed pickle compatibility tests for optional modules. | Serhiy Storchaka | 2015-03-31 | 2 | -10/+32 |
| | | | | | | | | Added WindowsError to compatibility mappings. | ||||
* | | Issue #10395: Added os.path.commonpath(). Implemented in posixpath and ntpath. | Serhiy Storchaka | 2015-03-31 | 4 | -2/+229 |
| | | | | | | | | Based on patch by Rafik Draoui. | ||||
* | | Issue #23611: Serializing more "lookupable" objects (such as unbound methods | Serhiy Storchaka | 2015-03-31 | 2 | -19/+33 |
| | | | | | | | | or nested classes) now are supported with pickle protocols < 4. | ||||
* | | Issue #13583: sqlite3.Row now supports slice indexing. | Serhiy Storchaka | 2015-03-31 | 1 | -0/+18 |
| | | | | | | | | Tests by Jessica McKellar. | ||||
* | | Merge heads | Serhiy Storchaka | 2015-03-31 | 3 | -13/+63 |
|\ \ | |||||
| * | | Issue #23485: Enhance and update selectors doc and test_selectors | Victor Stinner | 2015-03-31 | 1 | -3/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | Selector.select() is now retried with the recomputed timeout when interrupted by a signal. Write an unit test with a signal handler raising an exception, and a unit with a signal handler which does not raise an exception (it does nothing). | ||||
| * | | Issue #23485: select.devpoll.poll() is now retried when interrupted by a signal | Victor Stinner | 2015-03-31 | 2 | -4/+14 |
| | | | |||||
| * | | Issue #23485: select.kqueue.control() is now retried when interrupted by a ↵ | Victor Stinner | 2015-03-31 | 2 | -6/+15 |
| | | | | | | | | | | | | signal | ||||
* | | | Issue #18473: Fixed 2to3 and 3to2 compatible pickle mappings. | Serhiy Storchaka | 2015-03-31 | 4 | -18/+308 |
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | Fixed ambigious reverse mappings. Added many new mappings. Import mapping is no longer applied to modules already mapped with full name mapping. Added tests for compatible pickling and unpickling and for consistency of _compat_pickle mappings. | ||||
| * | Issue #18473: Fixed 2to3 and 3to2 compatible pickle mappings. | Serhiy Storchaka | 2015-03-31 | 4 | -18/+308 |
| | | | | | | | | | | | | | | | | Fixed ambigious reverse mappings. Added many new mappings. Import mapping is no longer applied to modules already mapped with full name mapping. Added tests for compatible pickling and unpickling and for consistency of _compat_pickle mappings. | ||||
* | | Issue #23485: select.epoll.poll() is now retried when interrupted by a signal | Victor Stinner | 2015-03-30 | 2 | -4/+13 |
| | | |||||
* | | Issue #23485: select.poll.poll() is now retried when interrupted by a signal | Victor Stinner | 2015-03-30 | 3 | -11/+22 |
| | | |||||
* | | Issue #23485: Fix test_signal, select.select() now retries the syscall if the | Victor Stinner | 2015-03-30 | 1 | -3/+17 |
| | | | | | | | | signal handler does not raise an exception | ||||
* | | Issue #23485: select.select() is now retried automatically with the recomputed | Victor Stinner | 2015-03-30 | 3 | -9/+17 |
| | | | | | | | | | | | | | | | | | | timeout when interrupted by a signal, except if the signal handler raises an exception. This change is part of the PEP 475. The asyncore and selectors module doesn't catch the InterruptedError exception anymore when calling select.select(), since this function should not raise InterruptedError anymore. | ||||
* | | Partially revert 3603bae63c13 (issue23326) for asyncio. | Serhiy Storchaka | 2015-03-30 | 1 | -0/+4 |
| | | |||||
* | | Merge: #23792: also catch interrupt around pipe.write. | R David Murray | 2015-03-30 | 1 | -1/+6 |
|\ \ | |/ | |||||
| * | #23792: also catch interrupt around pipe.write. | R David Murray | 2015-03-30 | 1 | -1/+6 |
| | | | | | | | | | | | | The previous patch only dealt with KeyboardInterrupt when all of the data had been consumed by the pager. This deals with the interrupt when some data is still pending. | ||||
* | | Issue #23605: Fix typo in an os.walk() comment | Victor Stinner | 2015-03-30 | 1 | -1/+1 |
| | | | | | | | | Thanks Ben Hoyt for the report. | ||||
* | | Merge 3.5.0a3 release engineering changes back into trunk. | Larry Hastings | 2015-03-30 | 7 | -106/+236 |
|\ \ | |||||
| * | | Issue #23466: %c, %o, %x, and %X in bytes formatting now raise TypeError on | Serhiy Storchaka | 2015-03-30 | 1 | -1/+18 |
| | | | | | | | | | | | | non-integer input. | ||||
| * | | Issue #23171: csv.Writer.writerow() now supports arbitrary iterables. | Serhiy Storchaka | 2015-03-30 | 2 | -5/+10 |
| | | | |||||
| * | | Issue #22117: Remove _PyTime_ROUND_DOWN and _PyTime_ROUND_UP rounding methods | Victor Stinner | 2015-03-30 | 1 | -87/+13 |
| | | | | | | | | | | | | Use _PyTime_ROUND_FLOOR and _PyTime_ROUND_CEILING instead. | ||||
| * | | Issue #22117: Add _PyTime_ROUND_CEILING rounding method for timestamps | Victor Stinner | 2015-03-30 | 1 | -4/+61 |
| | | | | | | | | | | | | Add also more tests for ROUNd_FLOOR. | ||||
| * | | Merge: #23745: handle duplicate MIME parameter names in new parser. | R David Murray | 2015-03-30 | 2 | -7/+136 |
| |\ \ | | |/ | |||||
| | * | #23745: handle duplicate MIME parameter names in new parser. | R David Murray | 2015-03-30 | 2 | -7/+136 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This mimics get_param's error handling for the most part. It is slightly better in some regards as get_param can produce some really weird results for duplicate *0* parts. It departs from get_param slightly in that if we have a mix of non-extended and extended pieces for the same parameter name, the new parser assumes they were all supposed to be extended and concatenates all the values, whereas get_param always picks the non-extended parameter value. All of this error recovery is pretty much arbitrary decisions... | ||||
| * | | Issue #22117: Fix rounding and implement _PyTime_ROUND_FLOOR in: | Victor Stinner | 2015-03-29 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | - _PyTime_ObjectToTime_t() - _PyTime_ObjectToTimespec() - _PyTime_ObjectToTimeval() | ||||
| * | | Issue #22390: test.regrtest now emits a warning if temporary files or | Serhiy Storchaka | 2015-03-29 | 1 | -15/+11 |
| |\ \ | | |/ | | | | | | | directories are left after running a test. | ||||
| | * | Issue #22390: test.regrtest now emits a warning if temporary files or | Serhiy Storchaka | 2015-03-29 | 1 | -15/+11 |
| | | | | | | | | | | | | directories are left after running a test. | ||||
* | | | 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() |