summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #29200: Add test for lru cache only calling __hash__ onceRaymond Hettinger2017-01-081-0/+36
|
* Issue #28815: Merge test tweak from 3.6Martin Panter2017-01-081-7/+3
|\
| * Issue #28815: Merge test tweak from 3.5Martin Panter2017-01-081-7/+3
| |\
| | * Issue #28815: Use new exception subclassesMartin Panter2017-01-081-7/+3
| | |
* | | Merge 3.6.Stefan Krah2017-01-081-0/+1
|\ \ \ | |/ /
| * | Add comment why the change in d83884b3a427 wasn't necessary.Stefan Krah2017-01-081-0/+1
| | |
* | | Merge 3.6.Stefan Krah2017-01-081-1/+1
|\ \ \ | |/ /
| * | Revert part of 3cb3e224b692 in code that I maintain.Stefan Krah2017-01-081-1/+1
| | |
* | | Revert part of dbf72357cb4a that is in a rarely used path and causesStefan Krah2017-01-071-1/+1
| | | | | | | | | | | | maintenance issues (cost/benefit).
* | | Revert (unauthorized) parts of 54a89144ee1d which are not in a speed-sensitiveStefan Krah2017-01-071-4/+4
| | | | | | | | | | | | path in order to avoid maintenance issues.
* | | Revert (unauthorized) parts of b9eb35435178 which are not in a speed-sensitiveStefan Krah2017-01-071-1/+1
| | | | | | | | | | | | path and cause maintenance issues (3.6 <-> 3.7, private test suite).
* | | Issue #16026: Merge from 3.6Berker Peksag2017-01-071-6/+6
|\ \ \ | |/ /
| * | Issue #16026: Fix parameter names of DictReader and DictWriterBerker Peksag2017-01-071-6/+6
| | | | | | | | | | | | | | | | | | | | | CPython and PyPy use f as the name of the first parameter of DictReader and DictWriter classes. Patch by James Salt and Greg Bengeult.
* | | Null merge 3.6Victor Stinner2017-01-060-0/+0
|\ \ \ | |/ /
| * | Issue #29157: Prefer getrandom() over getentropy()Victor Stinner2017-01-061-87/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dev_urandom() now calls py_getentropy(). Prepare the fallback to support getentropy() failure and falls back on reading from /dev/urandom. * Simplify dev_urandom(). pyurandom() is now responsible to call getentropy() or getrandom(). Enhance also dev_urandom() and pyurandom() documentation. * getrandom() is now preferred over getentropy(). The glibc 2.24 now implements getentropy() on Linux using the getrandom() syscall. But getentropy() doesn't support non-blocking mode. Since getrandom() is tried first, it's not more needed to explicitly exclude getentropy() on Solaris. Replace: "if defined(HAVE_GETENTROPY) && !defined(sun)" with "if defined(HAVE_GETENTROPY)" * Enhance py_getrandom() documentation. py_getentropy() now supports ENOSYS, EPERM & EINTR
* | | Merge 3.6Victor Stinner2017-01-063-2/+18
|\ \ \ | |/ /
| * | Fix unittest.mock._Call: don't ignore nameVictor Stinner2017-01-063-2/+18
| | | | | | | | | | | | | | | | | | | | | Issue #28961: Fix unittest.mock._Call helper: don't ignore the name parameter anymore. Patch written by Jiajun Huang.
* | | Issue #29157: enhance py_getrandom() documentationVictor Stinner2017-01-061-13/+20
| | |
* | | py_getentropy() now supports ENOSYS, EPERM & EINTRVictor Stinner2017-01-061-3/+39
| | | | | | | | | | | | Issue #29157.
* | | Issue #29157: getrandom() is now preferred over getentropy()Victor Stinner2017-01-061-44/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The glibc now implements getentropy() on Linux using the getrandom() syscall. But getentropy() doesn't support non-blocking mode. Since getrandom() is tried first, it's not more needed to explicitly exclude getentropy() on Solaris. Replace: if defined(HAVE_GETENTROPY) && !defined(sun) with if defined(HAVE_GETENTROPY)
* | | Issue #29157: Simplify dev_urandom()Victor Stinner2017-01-061-29/+87
| | | | | | | | | | | | | | | | | | pyurandom() is now responsible to call getentropy() or getrandom(). Enhance also dev_urandom() and pyurandom() documentation.
* | | Issue #29157: dev_urandom() now calls py_getentropy()Victor Stinner2017-01-061-20/+16
| | | | | | | | | | | | | | | Prepare the fallback to support getentropy() failure and falls back on reading from /dev/urandom.
* | | Merge 3.6Victor Stinner2017-01-061-3/+3
|\ \ \ | |/ /
| * | Fix subprocess.Popen.__del__() fox Python shutdownVictor Stinner2017-01-061-3/+3
| | | | | | | | | | | | | | | Issue #29174, #26741: subprocess.Popen.__del__() now keeps a strong reference to warnings.warn() function.
* | | test_curses - substitute self.skip() with self.skipTest()Xavier de Gaye2017-01-061-2/+2
|\ \ \ | |/ /
| * | test_curses - substitute self.skip() with self.skipTest()Xavier de Gaye2017-01-061-2/+2
| |\ \ | | |/
| | * test_curses - substitute self.skip() with self.skipTest()Xavier de Gaye2017-01-061-2/+2
| | |
* | | Merge 3.6INADA Naoki2017-01-064-17/+40
|\ \ \ | |/ /
| * | Issue #29159: Fix regression in bytes(x) when x.__index__() raises Exception.INADA Naoki2017-01-064-17/+40
| | |
* | | Merge 3.6Victor Stinner2017-01-051-1/+1
|\ \ \ | |/ /
| * | Issue #27961: Define HAVE_LONG_LONG as 1.Victor Stinner2017-01-051-1/+1
| | | | | | | | | | | | | | | Fix backward compatibility issue, HAVE_LONG_LONG was defined but empty, whereas it is defined as 1 in Python 3.5.
* | | Merge with 3.6Terry Jan Reedy2017-01-051-3/+3
|\ \ \ | |/ /
| * | Issue #29162: Don't depend on 'from tkinter import *' importing sys.Terry Jan Reedy2017-01-051-3/+3
| | | | | | | | | | | | Fix error in format string.
* | | Issue #26851: Merge 3.6.Xavier de Gaye2017-01-043-4/+36
|\ \ \ | |/ /
| * | Issue #26851: Set Android compilation and link flags.Xavier de Gaye2017-01-043-4/+36
| | |
* | | Issue #29156: Remove superfluous pow test.Serhiy Storchaka2017-01-041-3/+0
|\ \ \ | |/ / | | | | | | | | | test_powlong is the same as test_powint. Patch by Lukas Schwaighofer.
| * | Issue #29156: Remove superfluous pow test.Serhiy Storchaka2017-01-041-3/+0
| |\ \ | | |/ | | | | | | | | | test_powlong is the same as test_powint. Patch by Lukas Schwaighofer.
| | * Issue #29156: Remove superfluous pow test.Serhiy Storchaka2017-01-041-3/+0
| | | | | | | | | | | | | | | test_powlong is the same as test_powint. Patch by Lukas Schwaighofer.
* | | Merge 3.6Victor Stinner2017-01-041-1/+1
|\ \ \ | |/ /
| * | Issue #24773: fix datetime.time constructor docstringVictor Stinner2017-01-041-1/+1
| | | | | | | | | | | | | | | The default value of fold is zero, not True. Fix the docstring of the Python implementation.
* | | Merge 3.6Victor Stinner2017-01-031-5/+5
|\ \ \ | |/ /
| * | Issue #29140: Fix hash(datetime.time)Victor Stinner2017-01-031-5/+5
| | | | | | | | | | | | | | | | | | Fix time_hash() function: replace DATE_xxx() macros with TIME_xxx() macros. Before, the hash function used a wrong value for microseconds if fold is set (equal to 1).
* | | Fixed possible reference leaks in the _json module.Serhiy Storchaka2017-01-031-4/+9
|\ \ \ | |/ /
| * | Fixed possible reference leaks in the _json module.Serhiy Storchaka2017-01-031-4/+9
| |\ \ | | |/
| | * Fixed possible reference leaks in the _json module.Serhiy Storchaka2017-01-031-4/+9
| | |
* | | Null-merge from 3.6. Last one--phew!Larry Hastings2017-01-031-0/+2
|\ \ \ | |/ /
| * | Null-merge from 3.5.Larry Hastings2017-01-031-0/+2
| |\ \ | | |/
| | * Forward-merge from 3.4.Larry Hastings2017-01-031-0/+1
| | |\
| | | * Merge Python 3.4.6rc1 changes back into main branch.Larry Hastings2017-01-031-1/+1
| | | |\
| | | * | Post-release fixups for Python 3.4.6rc1.Larry Hastings2017-01-032-1/+13
| | | | |