Berker Peksag
631ada8424
Issue #16026 : Fix parameter names of DictReader and DictWriter
...
CPython and PyPy use f as the name of the first parameter of
DictReader and DictWriter classes.
Patch by James Salt and Greg Bengeult.
2017-01-07 09:32:56 +03:00
Victor Stinner
ff558f5aba
Issue #29157 : Prefer getrandom() over getentropy()
...
* 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
2017-01-07 00:07:45 +01:00
Larry Hastings
19431649e0
Cherry-pick small copyright fix for 3.5.3 final.
2017-01-06 13:47:20 -08:00
Victor Stinner
84b6fb0eea
Fix unittest.mock._Call: don't ignore name
...
Issue #28961 : Fix unittest.mock._Call helper: don't ignore the name parameter
anymore.
Patch written by Jiajun Huang.
2017-01-06 18:15:51 +01:00
Victor Stinner
9505b03bb0
Fix subprocess.Popen.__del__() fox Python shutdown
...
Issue #29174 , #26741 : subprocess.Popen.__del__() now keeps a strong reference
to warnings.warn() function.
2017-01-06 10:44:44 +01:00
Xavier de Gaye
94d1bfa2ef
test_curses - substitute self.skip() with self.skipTest()
2017-01-06 09:51:22 +01:00
Xavier de Gaye
645bc80918
test_curses - substitute self.skip() with self.skipTest()
2017-01-06 09:50:27 +01:00
INADA Naoki
a634e23209
Issue #29159 : Fix regression in bytes(x) when x.__index__() raises Exception.
2017-01-06 17:32:01 +09:00
Victor Stinner
a251fb02f4
Issue #27961 : Define HAVE_LONG_LONG as 1.
...
Fix backward compatibility issue, HAVE_LONG_LONG was defined but empty, whereas
it is defined as 1 in Python 3.5.
2017-01-05 22:58:53 +01:00
Terry Jan Reedy
e16265d367
Issue #29162 : Don't depend on 'from tkinter import *' importing sys.
...
Fix error in format string.
2017-01-04 23:17:47 -05:00
Xavier de Gaye
2a352b667b
Issue #26851 : Set Android compilation and link flags.
2017-01-04 21:51:16 +01:00
Serhiy Storchaka
4fd9cc14b4
Issue #29156 : Remove superfluous pow test.
...
test_powlong is the same as test_powint.
Patch by Lukas Schwaighofer.
2017-01-04 18:53:00 +02:00
Serhiy Storchaka
1d54b114c5
Issue #29156 : Remove superfluous pow test.
...
test_powlong is the same as test_powint.
Patch by Lukas Schwaighofer.
2017-01-04 18:52:40 +02:00
Victor Stinner
51b90d28e2
Issue #24773 : fix datetime.time constructor docstring
...
The default value of fold is zero, not True. Fix the docstring of the Python
implementation.
2017-01-04 12:01:16 +01:00
Victor Stinner
423c16b4c3
Issue #29140 : Fix hash(datetime.time)
...
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).
2017-01-03 23:47:12 +01:00
Serhiy Storchaka
8d979d576e
Fixed possible reference leaks in the _json module.
2017-01-03 11:19:48 +02:00
Serhiy Storchaka
21fe721345
Fixed possible reference leaks in the _json module.
2017-01-03 11:17:44 +02:00
Larry Hastings
c70225c98c
Null-merge from 3.5.
2017-01-02 18:39:09 -08:00
Larry Hastings
d9cb1b0c2d
Forward-merge from 3.4.
2017-01-02 18:36:52 -08:00
Larry Hastings
31f9d9d340
Merge Python 3.5.3rc1 release changes back into the main branch.
2017-01-02 18:32:30 -08:00
Larry Hastings
e744804bc9
Post-release fixups for Python 3.5.3rc1.
2017-01-02 18:31:25 -08:00
Larry Hastings
aa772e3cd2
Merge Python 3.4.6rc1 changes back into main branch.
2017-01-02 18:30:26 -08:00
Larry Hastings
a7aa988ddc
Post-release fixups for Python 3.4.6rc1.
2017-01-02 18:29:26 -08:00
Berker Peksag
3f988744b0
Issue #15812 : Merge from 3.5
2017-01-03 03:48:34 +03:00
Berker Peksag
225b01b840
Issue #15812 : Delete redundant max(start, 0)
...
Noticed by Serhiy Storchaka.
2017-01-03 03:48:04 +03:00
Berker Peksag
406c252970
Issue #29012 : Merge from 3.5
2017-01-03 03:35:49 +03:00
Berker Peksag
7b4e551091
Issue #29012 : Remove another outdated information
...
Patch by Jim Fasarakis-Hilliard.
2017-01-03 03:34:15 +03:00
Ned Deily
2eb97231b8
merge 3.5
2017-01-02 02:50:33 -05:00
Ned Deily
e8134afd8e
merge 3.4
2017-01-02 02:48:26 -05:00
Ned Deily
0717564746
merge 3.3
2017-01-02 02:47:35 -05:00
Ned Deily
c276ffa0a9
ring IDLE.app into 2017, too
2017-01-02 02:46:09 -05:00
Larry Hastings
1c37ba7924
Added tag v3.5.3rc1 for changeset de530d7f21c0
2017-01-01 22:13:39 -08:00
Larry Hastings
af17a2bfba
Added tag v3.4.6rc1 for changeset e199a272ccda
2017-01-01 22:13:29 -08:00
Larry Hastings
b32a03430f
Version bump for 3.5.3rc1.
2017-01-01 22:12:52 -08:00
Larry Hastings
d12551fe71
Version bump for 3.4.6rc1.
2017-01-01 22:12:36 -08:00
Larry Hastings
e562a95003
Regenerated pydoc topics for 3.5.3rc1.
2017-01-01 22:09:56 -08:00
Larry Hastings
8f24f665d7
Regenerated pydoc topics for 3.4.6rc1. (Also fixed doc error, improved build.)
2017-01-01 22:09:46 -08:00
Larry Hastings
292275cad8
Null merge from 3.5.
2017-01-01 21:50:55 -08:00
Larry Hastings
33014caa46
Null merge from 3.4.
2017-01-01 21:50:33 -08:00
Larry Hastings
03fdeb786c
Fix test failure so it's no longer dependent on example.com.
2017-01-01 21:49:09 -08:00
Benjamin Peterson
46322587ec
merge 3.5 ( #29057 )
2017-01-01 22:30:26 -06:00
Benjamin Peterson
493ac1bbe0
only include sys/random.h if it seems like it might have something useful ( #29057 )
2017-01-01 22:29:36 -06:00
Benjamin Peterson
51b45a1093
merge 3.5
2017-01-01 22:09:23 -06:00
Benjamin Peterson
eb62be12f0
merge heads
2017-01-01 22:09:18 -06:00
Benjamin Peterson
c9d4c60a56
merge heads
2017-01-01 22:09:07 -06:00
Benjamin Peterson
5848e72ee1
merge 3.5
2017-01-01 22:08:44 -06:00
Benjamin Peterson
4365833d11
merge 3.4
2017-01-01 22:08:33 -06:00
Benjamin Peterson
b6e2142b0c
merge 3.3
2017-01-01 22:07:37 -06:00
Benjamin Peterson
e527dd34bc
ring in 2017 for Python
2017-01-01 22:04:13 -06:00
Berker Peksag
01debaccdd
Issue #15812 : Merge from 3.5
2017-01-02 06:59:12 +03:00