Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #23611: Serializing more "lookupable" objects (such as unbound methods | Serhiy Storchaka | 2015-03-31 | 5 | -66/+114 |
| | | | | or nested classes) now are supported with pickle protocols < 4. | ||||
* | Issue #13583: sqlite3.Row now supports slice indexing. | Serhiy Storchaka | 2015-03-31 | 4 | -2/+24 |
| | | | | Tests by Jessica McKellar. | ||||
* | Merge heads | Serhiy Storchaka | 2015-03-31 | 7 | -69/+181 |
|\ | |||||
| * | Issue #23485: Enhance and update selectors doc and test_selectors | Victor Stinner | 2015-03-31 | 2 | -3/+40 |
| | | | | | | | | | | | | | | | | 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 | 5 | -49/+85 |
| | | |||||
| * | Issue #23485: select.kqueue.control() is now retried when interrupted by a ↵ | Victor Stinner | 2015-03-31 | 5 | -18/+57 |
| | | | | | | | | signal | ||||
* | | Issue #18473: Fixed 2to3 and 3to2 compatible pickle mappings. | Serhiy Storchaka | 2015-03-31 | 6 | -30/+326 |
|\ \ | |/ |/| | | | | | | | | | | | 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 | 6 | -30/+326 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | Fix typo in Doc/whatsnew/3.5.rst. | Berker Peksag | 2015-03-31 | 1 | -1/+1 |
| | | |||||
* | | merge | Raymond Hettinger | 2015-03-31 | 1 | -8/+10 |
|\ \ | |/ | |||||
| * | Issue #23729: Improve docs for ElementTree namespace parsing | Raymond Hettinger | 2015-03-31 | 1 | -8/+10 |
| | | |||||
* | | Issue #23485: select.epoll.poll() is now retried when interrupted by a signal | Victor Stinner | 2015-03-30 | 5 | -23/+71 |
| | | |||||
* | | Issue #23485: select.poll.poll() is now retried when interrupted by a signal | Victor Stinner | 2015-03-30 | 6 | -62/+112 |
| | | |||||
* | | Issue #23485: Add _PyTime_FromMillisecondsObject() function | Victor Stinner | 2015-03-30 | 2 | -6/+25 |
| | | |||||
* | | 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 | ||||
* | | Ignore .rst files in the venv directory. | Brett Cannon | 2015-03-30 | 1 | -0/+3 |
| | | |||||
* | | PEP 475: on EINTR, retry the function even if the timeout is equals to zero | Victor Stinner | 2015-03-30 | 3 | -3/+3 |
| | | | | | | | | | | | | | | | | | | Retry: * signal.sigtimedwait() * threading.Lock.acquire() * threading.RLock.acquire() * time.sleep() | ||||
* | | Issue #23485: select.select() is now retried automatically with the recomputed | Victor Stinner | 2015-03-30 | 9 | -31/+85 |
| | | | | | | | | | | | | | | | | | | 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 |
| | | |||||
* | | #2211: Fix typo, address missed review comment. | R David Murray | 2015-03-30 | 2 | -2/+8 |
| | | |||||
* | | 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. | ||||
* | | What's New in Python 3.5: add pep 461 (bytes%args) and 465 (a@b) | Victor Stinner | 2015-03-30 | 1 | -3/+42 |
| | | |||||
* | | 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.4) Issue #22585: os.urandom() now releases the GIL when the | Victor Stinner | 2015-03-30 | 1 | -6/+14 |
|\ \ | |/ | | | | | getentropy() is used (OpenBSD 5.6+). | ||||
| * | Issue #22585: os.urandom() now releases the GIL when the getentropy() is used | Victor Stinner | 2015-03-30 | 1 | -6/+14 |
| | | | | | | | | (OpenBSD 5.6+). | ||||
* | | Issue #22181: os.urandom() now releases the GIL when the getrandom() | Victor Stinner | 2015-03-30 | 1 | -2/+11 |
| | | | | | | | | implementation is used. | ||||
* | | Fix PY_VERSION in Include/patchlevel.h to reflect our post-3.5.0a3 state. | Larry Hastings | 2015-03-30 | 1 | -1/+1 |
| | | |||||
* | | Merge 3.5.0a3 release engineering changes back into trunk. | Larry Hastings | 2015-03-30 | 35 | -503/+616 |
|\ \ | |||||
| * | | Issue #22117: Try to fix rounding in conversion from Python double to _PyTime_t | Victor Stinner | 2015-03-30 | 1 | -1/+2 |
| | | | | | | | | | | | | using the C volatile keyword. | ||||
| * | | Issue #23752: _Py_fstat() is now responsible to raise the Python exception | Victor Stinner | 2015-03-30 | 12 | -57/+89 |
| | | | | | | | | | | | | Add _Py_fstat_noraise() function when a Python exception is not welcome. | ||||
| * | | Issue #23785: Fixed memory leak in TextIOWrapper.tell() in rare circumstances. | Serhiy Storchaka | 2015-03-30 | 1 | -6/+2 |
| |\ \ | | |/ | |||||
| | * | Issue #23785: Fixed memory leak in TextIOWrapper.tell() in rare circumstances. | Serhiy Storchaka | 2015-03-30 | 1 | -6/+2 |
| | | | |||||
| * | | Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case of | Serhiy Storchaka | 2015-03-30 | 1 | -7/+4 |
| |\ \ | | |/ | | | | | | | MemoryError. | ||||
| | * | Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case of | Serhiy Storchaka | 2015-03-30 | 1 | -7/+4 |
| | | | | | | | | | | | | MemoryError. | ||||
| * | | Issue #23466: %c, %o, %x, and %X in bytes formatting now raise TypeError on | Serhiy Storchaka | 2015-03-30 | 3 | -27/+76 |
| | | | | | | | | | | | | non-integer input. | ||||
| * | | Issue #23171: csv.Writer.writerow() now supports arbitrary iterables. | Serhiy Storchaka | 2015-03-30 | 5 | -46/+54 |
| | | | |||||
| * | | Issue #22117: Remove _PyTime_ROUND_DOWN and _PyTime_ROUND_UP rounding methods | Victor Stinner | 2015-03-30 | 4 | -110/+20 |
| | | | | | | | | | | | | Use _PyTime_ROUND_FLOOR and _PyTime_ROUND_CEILING instead. | ||||
| * | | Issue #22117: Replace usage of _PyTime_ROUND_UP with _PyTime_ROUND_CEILING | Victor Stinner | 2015-03-30 | 6 | -18/+22 |
| | | | | | | | | | | | | | | | All these functions only accept positive timeouts, so this change has no effect in practice. | ||||
| * | | Issue #22117: Add _PyTime_ROUND_CEILING rounding method for timestamps | Victor Stinner | 2015-03-30 | 4 | -6/+68 |
| | | | | | | | | | | | | Add also more tests for ROUNd_FLOOR. | ||||
| * | | Merge: #23745: handle duplicate MIME parameter names in new parser. | R David Murray | 2015-03-30 | 3 | -7/+139 |
| |\ \ | | |/ | |||||
| | * | #23745: handle duplicate MIME parameter names in new parser. | R David Murray | 2015-03-30 | 3 | -7/+139 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #23752: When built from an existing file descriptor, io.FileIO() now only | Victor Stinner | 2015-03-30 | 2 | -24/+26 |
| | | | | | | | | | | | | calls fstat() once. Before fstat() was called twice, which was not necessary. | ||||
| * | | Issue #22117: Add assertions to _PyTime_AsTimeval() and _PyTime_AsTimespec() to | Victor Stinner | 2015-03-30 | 1 | -0/+4 |
| | | | | | | | | | | | | check that microseconds and nanoseconds fits into the specified range. | ||||
| * | | Issue #22117: Fix usage of _PyTime_AsTimeval() | Victor Stinner | 2015-03-30 | 6 | -20/+29 |
| | | | | | | | | | | | | | | | Add _PyTime_AsTimeval_noraise() function. Call it when it's not possible (or not useful) to raise a Python exception on overflow. | ||||
| * | | Issue #23694: Fix usage of _Py_open() in the _posixsubprocess module | Victor Stinner | 2015-03-30 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | Don't call _Py_open() from _close_open_fds_safe() because it is call just after fork(). It's not good to play with locks (the GIL) between fork() and exec(). Use instead _Py_open_noraise() which doesn't touch to the GIL. | ||||
| * | | Issue #22117: Fix rounding of fromtimestamp() methods of datetime.datetime and | Victor Stinner | 2015-03-29 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | datetime.time: round towards minus infinity ("floor") instead of rounding towards zero ("down"). | ||||
| * | | Issue #22117: Fix os.utime(), it now rounds the timestamp towards minus | Victor Stinner | 2015-03-29 | 2 | -2/+5 |
| | | | | | | | | | | | | | | | | | | infinity (-inf) instead of rounding towards zero. Replace _PyTime_ROUND_DOWN with _PyTime_ROUND_FLOOR. | ||||
| * | | Issue #22117: Fix rounding and implement _PyTime_ROUND_FLOOR in: | Victor Stinner | 2015-03-29 | 2 | -26/+22 |
| | | | | | | | | | | | | | | | | | | - _PyTime_ObjectToTime_t() - _PyTime_ObjectToTimespec() - _PyTime_ObjectToTimeval() | ||||
| * | | Issue #22117: Cleanup pytime.c/.h | Victor Stinner | 2015-03-29 | 2 | -44/+42 |
| | | |