summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Issue #23618: Cleanup internal_connect() in socketmodule.cVictor Stinner2015-03-311-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 Hettinger2015-03-314-10/+204
| |
* | Issue #23618: Refactor internal_connect()Victor Stinner2015-03-311-79/+30
| | | | | | | | | | On Windows, internal_connect() now reuses internal_connect_select() and always calls getsockopt().
* | Issue #23618: Refactor internal_connect()Victor Stinner2015-03-311-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 WindowsVictor Stinner2015-03-311-3/+6
| |
* | Issue #23611: Fixed enums pickling tests. Now all picklings work with allSerhiy Storchaka2015-03-311-15/+7
| | | | | | | | protocols.
* | Issue #18473: Fixed pickle compatibility tests for optional modules.Serhiy Storchaka2015-03-312-10/+32
|\ \ | |/ | | | | Added WindowsError to compatibility mappings.
| * Issue #18473: Fixed pickle compatibility tests for optional modules.Serhiy Storchaka2015-03-312-10/+32
| | | | | | | | Added WindowsError to compatibility mappings.
* | Issue #10395: Added os.path.commonpath(). Implemented in posixpath and ntpath.Serhiy Storchaka2015-03-317-5/+255
| | | | | | | | Based on patch by Rafik Draoui.
* | Issue #23618: Fix internal_connect_select()Victor Stinner2015-03-311-1/+1
| |
* | Issue #23618: internal_connect_select() now waits also for error eventsVictor Stinner2015-03-311-6/+15
| |
* | Issue #23618: Refactor internal_select() to prepare socket.connect() for EINTRVictor Stinner2015-03-311-13/+23
| |
* | Issue #23618: Refactor the _socket moduleVictor Stinner2015-03-311-17/+11
| | | | | | | | | | * Inline internal_select() function * Rename internal_select_ex() internal_select()
* | What's New in Python 3.5, PEP 475: mention modified signal functionsVictor Stinner2015-03-312-2/+3
| |
* | Issue #23611: Serializing more "lookupable" objects (such as unbound methodsSerhiy Storchaka2015-03-315-66/+114
| | | | | | | | or nested classes) now are supported with pickle protocols < 4.
* | Issue #13583: sqlite3.Row now supports slice indexing.Serhiy Storchaka2015-03-314-2/+24
| | | | | | | | Tests by Jessica McKellar.
* | Merge headsSerhiy Storchaka2015-03-317-69/+181
|\ \
| * | Issue #23485: Enhance and update selectors doc and test_selectorsVictor Stinner2015-03-312-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 signalVictor Stinner2015-03-315-49/+85
| | |
| * | Issue #23485: select.kqueue.control() is now retried when interrupted by a ↵Victor Stinner2015-03-315-18/+57
| | | | | | | | | | | | signal
* | | Issue #18473: Fixed 2to3 and 3to2 compatible pickle mappings.Serhiy Storchaka2015-03-316-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 Storchaka2015-03-316-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 Peksag2015-03-311-1/+1
| |
* | mergeRaymond Hettinger2015-03-311-8/+10
|\ \ | |/
| * Issue #23729: Improve docs for ElementTree namespace parsingRaymond Hettinger2015-03-311-8/+10
| |
* | Issue #23485: select.epoll.poll() is now retried when interrupted by a signalVictor Stinner2015-03-305-23/+71
| |
* | Issue #23485: select.poll.poll() is now retried when interrupted by a signalVictor Stinner2015-03-306-62/+112
| |
* | Issue #23485: Add _PyTime_FromMillisecondsObject() functionVictor Stinner2015-03-302-6/+25
| |
* | Issue #23485: Fix test_signal, select.select() now retries the syscall if theVictor Stinner2015-03-301-3/+17
| | | | | | | | signal handler does not raise an exception
* | Ignore .rst files in the venv directory.Brett Cannon2015-03-301-0/+3
| |
* | PEP 475: on EINTR, retry the function even if the timeout is equals to zeroVictor Stinner2015-03-303-3/+3
| | | | | | | | | | | | | | | | | | Retry: * signal.sigtimedwait() * threading.Lock.acquire() * threading.RLock.acquire() * time.sleep()
* | Issue #23485: select.select() is now retried automatically with the recomputedVictor Stinner2015-03-309-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 Storchaka2015-03-301-0/+4
| |
* | #2211: Fix typo, address missed review comment.R David Murray2015-03-302-2/+8
| |
* | Merge: #23792: also catch interrupt around pipe.write.R David Murray2015-03-301-1/+6
|\ \ | |/
| * #23792: also catch interrupt around pipe.write.R David Murray2015-03-301-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 Stinner2015-03-301-3/+42
| |
* | Issue #23605: Fix typo in an os.walk() commentVictor Stinner2015-03-301-1/+1
| | | | | | | | Thanks Ben Hoyt for the report.
* | (Merge 3.4) Issue #22585: os.urandom() now releases the GIL when theVictor Stinner2015-03-301-6/+14
|\ \ | |/ | | | | getentropy() is used (OpenBSD 5.6+).
| * Issue #22585: os.urandom() now releases the GIL when the getentropy() is usedVictor Stinner2015-03-301-6/+14
| | | | | | | | (OpenBSD 5.6+).
* | Issue #22181: os.urandom() now releases the GIL when the getrandom()Victor Stinner2015-03-301-2/+11
| | | | | | | | implementation is used.
* | Fix PY_VERSION in Include/patchlevel.h to reflect our post-3.5.0a3 state.Larry Hastings2015-03-301-1/+1
| |
* | Merge 3.5.0a3 release engineering changes back into trunk.Larry Hastings2015-03-3035-503/+616
|\ \
| * | Issue #22117: Try to fix rounding in conversion from Python double to _PyTime_tVictor Stinner2015-03-301-1/+2
| | | | | | | | | | | | using the C volatile keyword.
| * | Issue #23752: _Py_fstat() is now responsible to raise the Python exceptionVictor Stinner2015-03-3012-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 Storchaka2015-03-301-6/+2
| |\ \ | | |/
| | * Issue #23785: Fixed memory leak in TextIOWrapper.tell() in rare circumstances.Serhiy Storchaka2015-03-301-6/+2
| | |
| * | Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case ofSerhiy Storchaka2015-03-301-7/+4
| |\ \ | | |/ | | | | | | MemoryError.
| | * Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case ofSerhiy Storchaka2015-03-301-7/+4
| | | | | | | | | | | | MemoryError.
| * | Issue #23466: %c, %o, %x, and %X in bytes formatting now raise TypeError onSerhiy Storchaka2015-03-303-27/+76
| | | | | | | | | | | | non-integer input.