Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Issue #23618: Cleanup internal_connect() in socketmodule.c | Victor Stinner | 2015-03-31 | 1 | -3/+1 | |
| | | | | | | | | | | On Windows, it looks like using the C type socklen_t for getsockopt() (instead of int) is fine, it was already used in socket.getsockopt(). | |||||
* | | Issue 23793: Add deque support for __add__(), __mul__(), and __imul__(). | Raymond Hettinger | 2015-03-31 | 4 | -10/+204 | |
| | | ||||||
* | | Issue #23618: Refactor internal_connect() | Victor Stinner | 2015-03-31 | 1 | -79/+30 | |
| | | | | | | | | | | On Windows, internal_connect() now reuses internal_connect_select() and always calls getsockopt(). | |||||
* | | Issue #23618: Refactor internal_connect() | Victor Stinner | 2015-03-31 | 1 | -35/+57 | |
| | | | | | | | | | | | | | | The function now returns the error code instead of using the global errno (POSIX) or WSAGetLastError() (Windows). internal_connect() now returns errno if getsockopt() fails. | |||||
* | | Issue #22117: Fix integer overflow check in socket_parse_timeout() on Windows | Victor Stinner | 2015-03-31 | 1 | -3/+6 | |
| | | ||||||
* | | 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 | 7 | -5/+255 | |
| | | | | | | | | Based on patch by Rafik Draoui. | |||||
* | | Issue #23618: Fix internal_connect_select() | Victor Stinner | 2015-03-31 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #23618: internal_connect_select() now waits also for error events | Victor Stinner | 2015-03-31 | 1 | -6/+15 | |
| | | ||||||
* | | Issue #23618: Refactor internal_select() to prepare socket.connect() for EINTR | Victor Stinner | 2015-03-31 | 1 | -13/+23 | |
| | | ||||||
* | | Issue #23618: Refactor the _socket module | Victor Stinner | 2015-03-31 | 1 | -17/+11 | |
| | | | | | | | | | | * Inline internal_select() function * Rename internal_select_ex() internal_select() | |||||
* | | What's New in Python 3.5, PEP 475: mention modified signal functions | Victor Stinner | 2015-03-31 | 2 | -2/+3 | |
| | | ||||||
* | | 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. |