summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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.
* 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
| |
* | Issue #29159: Fix regression in bytes(x) when x.__index__() raises Exception.INADA Naoki2017-01-064-17/+40
| |
* | 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.
* | 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: 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 #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.
* | 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
| |
* | 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
| | | |
| | * | Added tag v3.4.6rc1 for changeset e199a272ccdaLarry Hastings2017-01-021-0/+1
| | | |
| | * | Version bump for 3.4.6rc1.v3.4.6rc1Larry Hastings2017-01-023-7/+7
| | | |
| | * | Regenerated pydoc topics for 3.4.6rc1. (Also fixed doc error, improved build.)Larry Hastings2017-01-023-5/+5
| | | |
| * | | Merge Python 3.5.3rc1 release changes back into the main branch.Larry Hastings2017-01-033-5/+4
| |\ \ \
| * | | | Post-release fixups for Python 3.5.3rc1.Larry Hastings2017-01-032-2/+14
| | | | |
| * | | | Added tag v3.5.3rc1 for changeset de530d7f21c0Larry Hastings2017-01-021-0/+1
| | | | |
| * | | | Version bump for 3.5.3rc1.v3.5.3rc1Larry Hastings2017-01-021-4/+4
| | | | |
| * | | | Regenerated pydoc topics for 3.5.3rc1.Larry Hastings2017-01-021-15/+15
| | | | |
* | | | | Issue #15812: Merge from 3.5Berker Peksag2017-01-031-1/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Issue #15812: Delete redundant max(start, 0)Berker Peksag2017-01-031-1/+0
| | | | | | | | | | | | | | | | | | | | Noticed by Serhiy Storchaka.
* | | | | Issue #29012: Merge from 3.5Berker Peksag2017-01-031-5/+4
|\ \ \ \ \ | |/ / / /
| * | | | Issue #29012: Remove another outdated informationBerker Peksag2017-01-031-3/+3
| | | | | | | | | | | | | | | | | | | | Patch by Jim Fasarakis-Hilliard.
* | | | | merge 3.5Ned Deily2017-01-021-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | merge 3.4Ned Deily2017-01-021-1/+1
| |\ \ \ \ | | |/ / / | |/| | / | | | |/ | | |/|
| | * | merge 3.3Ned Deily2017-01-021-1/+1
| | |\ \ | | | |/ | | |/|
| | | * ring IDLE.app into 2017, tooNed Deily2017-01-021-1/+1
| | | |
* | | | Null merge from 3.5.Larry Hastings2017-01-020-0/+0
|\ \ \ \ | |/ / /
| * | | Null merge from 3.4.Larry Hastings2017-01-020-0/+0
| |\ \ \ | | |/ /
| | * | Fix test failure so it's no longer dependent on example.com.Larry Hastings2017-01-021-1/+1
| | | |
* | | | merge 3.5 (#29057)Benjamin Peterson2017-01-021-1/+1
|\ \ \ \ | |/ / /
| * | | only include sys/random.h if it seems like it might have something useful ↵Benjamin Peterson2017-01-021-1/+1
| | | | | | | | | | | | | | | | (#29057)
* | | | merge 3.5Benjamin Peterson2017-01-020-0/+0
|\ \ \ \ | |/ / /
| * | | merge headsBenjamin Peterson2017-01-023-1/+9
| |\ \ \
* | \ \ \ merge headsBenjamin Peterson2017-01-023-1/+9
|\ \ \ \ \
| * \ \ \ \ Issue #15812: Merge from 3.5Berker Peksag2017-01-023-1/+9
| |\ \ \ \ \ | | | |/ / / | | |/| | |
| | * | | | Issue #15812: inspect.getframeinfo() now correctly shows the first line of a ↵Berker Peksag2017-01-023-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | context Patch by Sam Breese.
* | | | | | merge 3.5Benjamin Peterson2017-01-027-8/+9
|\ \ \ \ \ \ | |/ / / / / |/| | / / / | | |/ / / | |/| | |
| * | | | merge 3.4Benjamin Peterson2017-01-027-8/+9
| |\ \ \ \ | | |/ / / | |/| / / | | |/ /
| | * | merge 3.3Benjamin Peterson2017-01-028-9/+10
| | |\ \ | | | |/
| | | * ring in 2017 for PythonBenjamin Peterson2017-01-028-9/+10
| | | |
* | | | Issue #29013: Merge from 3.5Berker Peksag2017-01-021-1/+1
|\ \ \ \ | |/ / /