]>
granicus.if.org Git - python/log
Victor Stinner [Fri, 6 Jan 2017 23:07:45 +0000 (00:07 +0100)]
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
Victor Stinner [Fri, 6 Jan 2017 17:15:51 +0000 (18:15 +0100)]
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.
Victor Stinner [Fri, 6 Jan 2017 09:44:44 +0000 (10:44 +0100)]
Fix subprocess.Popen.__del__() fox Python shutdown
Issue #29174, #26741: subprocess.Popen.__del__() now keeps a strong reference
to warnings.warn() function.
Xavier de Gaye [Fri, 6 Jan 2017 08:51:22 +0000 (09:51 +0100)]
test_curses - substitute self.skip() with self.skipTest()
Xavier de Gaye [Fri, 6 Jan 2017 08:50:27 +0000 (09:50 +0100)]
test_curses - substitute self.skip() with self.skipTest()
INADA Naoki [Fri, 6 Jan 2017 08:32:01 +0000 (17:32 +0900)]
Issue #29159: Fix regression in bytes(x) when x.__index__() raises Exception.
Victor Stinner [Thu, 5 Jan 2017 21:58:53 +0000 (22:58 +0100)]
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.
Terry Jan Reedy [Thu, 5 Jan 2017 04:17:47 +0000 (23:17 -0500)]
Issue #29162: Don't depend on 'from tkinter import *' importing sys.
Fix error in format string.
Xavier de Gaye [Wed, 4 Jan 2017 20:51:16 +0000 (21:51 +0100)]
Issue #26851: Set Android compilation and link flags.
Serhiy Storchaka [Wed, 4 Jan 2017 16:53:00 +0000 (18:53 +0200)]
Issue #29156: Remove superfluous pow test.
test_powlong is the same as test_powint.
Patch by Lukas Schwaighofer.
Serhiy Storchaka [Wed, 4 Jan 2017 16:52:40 +0000 (18:52 +0200)]
Issue #29156: Remove superfluous pow test.
test_powlong is the same as test_powint.
Patch by Lukas Schwaighofer.
Victor Stinner [Wed, 4 Jan 2017 11:01:16 +0000 (12:01 +0100)]
Issue #24773: fix datetime.time constructor docstring
The default value of fold is zero, not True. Fix the docstring of the Python
implementation.
Victor Stinner [Tue, 3 Jan 2017 22:47:12 +0000 (23:47 +0100)]
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).
Serhiy Storchaka [Tue, 3 Jan 2017 09:19:48 +0000 (11:19 +0200)]
Fixed possible reference leaks in the _json module.
Serhiy Storchaka [Tue, 3 Jan 2017 09:17:44 +0000 (11:17 +0200)]
Fixed possible reference leaks in the _json module.
Larry Hastings [Tue, 3 Jan 2017 02:39:09 +0000 (18:39 -0800)]
Null-merge from 3.5.
Larry Hastings [Tue, 3 Jan 2017 02:36:52 +0000 (18:36 -0800)]
Forward-merge from 3.4.
Larry Hastings [Tue, 3 Jan 2017 02:32:30 +0000 (18:32 -0800)]
Merge Python 3.5.3rc1 release changes back into the main branch.
Larry Hastings [Tue, 3 Jan 2017 02:31:25 +0000 (18:31 -0800)]
Post-release fixups for Python 3.5.3rc1.
Larry Hastings [Tue, 3 Jan 2017 02:30:26 +0000 (18:30 -0800)]
Merge Python 3.4.6rc1 changes back into main branch.
Larry Hastings [Tue, 3 Jan 2017 02:29:26 +0000 (18:29 -0800)]
Post-release fixups for Python 3.4.6rc1.
Berker Peksag [Tue, 3 Jan 2017 00:48:34 +0000 (03:48 +0300)]
Issue #15812: Merge from 3.5
Berker Peksag [Tue, 3 Jan 2017 00:48:04 +0000 (03:48 +0300)]
Issue #15812: Delete redundant max(start, 0)
Noticed by Serhiy Storchaka.
Berker Peksag [Tue, 3 Jan 2017 00:35:49 +0000 (03:35 +0300)]
Issue #29012: Merge from 3.5
Berker Peksag [Tue, 3 Jan 2017 00:34:15 +0000 (03:34 +0300)]
Issue #29012: Remove another outdated information
Patch by Jim Fasarakis-Hilliard.
Ned Deily [Mon, 2 Jan 2017 07:50:33 +0000 (02:50 -0500)]
merge 3.5
Ned Deily [Mon, 2 Jan 2017 07:48:26 +0000 (02:48 -0500)]
merge 3.4
Ned Deily [Mon, 2 Jan 2017 07:47:35 +0000 (02:47 -0500)]
merge 3.3
Ned Deily [Mon, 2 Jan 2017 07:46:09 +0000 (02:46 -0500)]
ring IDLE.app into 2017, too
Larry Hastings [Mon, 2 Jan 2017 06:13:39 +0000 (22:13 -0800)]
Added tag v3.5.3rc1 for changeset
de530d7f21c0
Larry Hastings [Mon, 2 Jan 2017 06:13:29 +0000 (22:13 -0800)]
Added tag v3.4.6rc1 for changeset
e199a272ccda
Larry Hastings [Mon, 2 Jan 2017 06:12:52 +0000 (22:12 -0800)]
Version bump for 3.5.3rc1.
Larry Hastings [Mon, 2 Jan 2017 06:12:36 +0000 (22:12 -0800)]
Version bump for 3.4.6rc1.
Larry Hastings [Mon, 2 Jan 2017 06:09:56 +0000 (22:09 -0800)]
Regenerated pydoc topics for 3.5.3rc1.
Larry Hastings [Mon, 2 Jan 2017 06:09:46 +0000 (22:09 -0800)]
Regenerated pydoc topics for 3.4.6rc1. (Also fixed doc error, improved build.)
Larry Hastings [Mon, 2 Jan 2017 05:50:55 +0000 (21:50 -0800)]
Null merge from 3.5.
Larry Hastings [Mon, 2 Jan 2017 05:50:33 +0000 (21:50 -0800)]
Null merge from 3.4.
Larry Hastings [Mon, 2 Jan 2017 05:49:09 +0000 (21:49 -0800)]
Fix test failure so it's no longer dependent on example.com.
Benjamin Peterson [Mon, 2 Jan 2017 04:30:26 +0000 (22:30 -0600)]
merge 3.5 (#29057)
Benjamin Peterson [Mon, 2 Jan 2017 04:29:36 +0000 (22:29 -0600)]
only include sys/random.h if it seems like it might have something useful (#29057)
Benjamin Peterson [Mon, 2 Jan 2017 04:09:23 +0000 (22:09 -0600)]
merge 3.5
Benjamin Peterson [Mon, 2 Jan 2017 04:09:18 +0000 (22:09 -0600)]
merge heads
Benjamin Peterson [Mon, 2 Jan 2017 04:09:07 +0000 (22:09 -0600)]
merge heads
Benjamin Peterson [Mon, 2 Jan 2017 04:08:44 +0000 (22:08 -0600)]
merge 3.5
Benjamin Peterson [Mon, 2 Jan 2017 04:08:33 +0000 (22:08 -0600)]
merge 3.4
Benjamin Peterson [Mon, 2 Jan 2017 04:07:37 +0000 (22:07 -0600)]
merge 3.3
Benjamin Peterson [Mon, 2 Jan 2017 04:04:13 +0000 (22:04 -0600)]
ring in 2017 for Python
Berker Peksag [Mon, 2 Jan 2017 03:59:12 +0000 (06:59 +0300)]
Issue #15812: Merge from 3.5
Berker Peksag [Mon, 2 Jan 2017 03:57:43 +0000 (06:57 +0300)]
Issue #15812: inspect.getframeinfo() now correctly shows the first line of a context
Patch by Sam Breese.
Berker Peksag [Mon, 2 Jan 2017 03:14:12 +0000 (06:14 +0300)]
Issue #29013: Merge from 3.5
Berker Peksag [Mon, 2 Jan 2017 03:13:42 +0000 (06:13 +0300)]
Issue #29013: Fix allowZip64 documentation
Zip files can be larger than 4 GiB if allowZip64
is true (default since Python 3.4)
Berker Peksag [Mon, 2 Jan 2017 03:01:07 +0000 (06:01 +0300)]
Issue #29012: Merge from 3.5
Berker Peksag [Mon, 2 Jan 2017 03:00:35 +0000 (06:00 +0300)]
Issue #29012: Remove outdated information about __bases__
Patch by Jim Fasarakis-Hilliard.
Berker Peksag [Mon, 2 Jan 2017 02:51:04 +0000 (05:51 +0300)]
Issue #29129: Fix typo in "Using auto" section
Berker Peksag [Mon, 2 Jan 2017 02:45:16 +0000 (05:45 +0300)]
Issue #29024: Merge from 3.5
Berker Peksag [Mon, 2 Jan 2017 02:44:49 +0000 (05:44 +0300)]
Issue #29024: Add Kivy entry to GUI FAQ
Patch by inclement.
Terry Jan Reedy [Mon, 2 Jan 2017 02:21:39 +0000 (21:21 -0500)]
Issue #29071: Use local flags for IDLE colorizer string prefix matcher.
Revised re by Serhiy Storchaka.
Serhiy Storchaka [Sun, 1 Jan 2017 17:05:29 +0000 (19:05 +0200)]
Issue #29094: Offsets in a ZIP file created with extern file object and modes
"w" and "x" now are relative to the start of the file.
Serhiy Storchaka [Sun, 1 Jan 2017 17:00:30 +0000 (19:00 +0200)]
Issue #29094: Offsets in a ZIP file created with extern file object and modes
"w" and "x" now are relative to the start of the file.
Berker Peksag [Sat, 31 Dec 2016 19:49:31 +0000 (22:49 +0300)]
Issue #29123: Merge from 3.5
Berker Peksag [Sat, 31 Dec 2016 19:48:55 +0000 (22:48 +0300)]
Issue #29123: Make CheckSqlTimestamp more robust
Raymond Hettinger [Sat, 31 Dec 2016 19:08:00 +0000 (12:08 -0700)]
Issue #29119: Merge in ACK from 3.5 branch
Raymond Hettinger [Sat, 31 Dec 2016 19:02:42 +0000 (12:02 -0700)]
merge
Raymond Hettinger [Sat, 31 Dec 2016 19:01:59 +0000 (12:01 -0700)]
Issue #29119: Fix weakref in OrderedDict.move_to_end(). Work by Andra Bogildea.
Berker Peksag [Sat, 31 Dec 2016 17:08:53 +0000 (20:08 +0300)]
Issue #26267: Merge from 3.5
Berker Peksag [Sat, 31 Dec 2016 17:08:16 +0000 (20:08 +0300)]
Issue #26267: Improve uuid.UUID documentation
* Document how comparison of UUID objects work
* Document str(uuid) returns the braceless standard form
* Add a test for comparison of a UUID object with a non-UUID object
Patch by Ammar Askar.
Vinay Sajip [Sat, 31 Dec 2016 11:06:57 +0000 (11:06 +0000)]
Closes #29105: Updated RotatingFileHandler documentation.
Stefan Krah [Fri, 30 Dec 2016 11:24:23 +0000 (12:24 +0100)]
Merge 3.5.
Stefan Krah [Fri, 30 Dec 2016 11:23:35 +0000 (12:23 +0100)]
Issue #29111: Fix memoryview signature.
Raymond Hettinger [Fri, 30 Dec 2016 06:57:12 +0000 (23:57 -0700)]
Issue #29103: Remove unused import. Noticed by Jean-Sebastien Bevilacqua.
Raymond Hettinger [Fri, 30 Dec 2016 06:49:20 +0000 (23:49 -0700)]
Clearer compact dict attribution to the original proposal
Raymond Hettinger [Fri, 30 Dec 2016 05:54:25 +0000 (22:54 -0700)]
Issue #29061: secrets.randbelow() would hang with a negative input
Xiang Zhang [Fri, 30 Dec 2016 03:57:40 +0000 (11:57 +0800)]
Issue #29112: Merge 3.5.
Xiang Zhang [Fri, 30 Dec 2016 03:57:09 +0000 (11:57 +0800)]
Issue #29112: Fix a questionable wording in sequence doc.
Victor Stinner [Fri, 30 Dec 2016 01:15:29 +0000 (02:15 +0100)]
Merge 3.5
Victor Stinner [Fri, 30 Dec 2016 01:14:59 +0000 (02:14 +0100)]
Issue #29109: Enhance tracemalloc documentation
* Wrong parameter name, 'group_by' instead of 'key_type'
* Don't round up numbers when explaining the examples. If they exactly match
what can be read in the script output, it is to easier to understand
(4.8 MiB vs 4855 KiB)
* Fix incorrect method link that was pointing to another module
Patch written by Loic Pefferkorn.
Benjamin Peterson [Thu, 29 Dec 2016 04:02:35 +0000 (20:02 -0800)]
fix error check, so that Random.seed actually uses OS randomness (closes #29085)
Steve Dower [Thu, 29 Dec 2016 00:02:59 +0000 (16:02 -0800)]
Issue #29079: Prevent infinite loop in pathlib.resolve() on Windows
Steve Dower [Wed, 28 Dec 2016 23:43:28 +0000 (15:43 -0800)]
Issue #29080: Fixes Misc/NEWS entry
Steve Dower [Wed, 28 Dec 2016 23:43:08 +0000 (15:43 -0800)]
Issue #29080: Fixes Misc/NEWS entry
Steve Dower [Wed, 28 Dec 2016 23:41:09 +0000 (15:41 -0800)]
Issue #28768: Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto
Steve Dower [Wed, 28 Dec 2016 22:38:08 +0000 (14:38 -0800)]
Issue #29080: Removes hard dependency on hg.exe from PC/build.bat
Steve Dower [Wed, 28 Dec 2016 22:37:44 +0000 (14:37 -0800)]
Issue #29080: Removes hard dependency on hg.exe from PC/build.bat
Serhiy Storchaka [Wed, 28 Dec 2016 08:22:56 +0000 (10:22 +0200)]
Issue #13051: Fixed recursion errors in large or resized curses.textpad.Textbox.
Based on patch by Tycho Andersen.
Serhiy Storchaka [Wed, 28 Dec 2016 08:16:06 +0000 (10:16 +0200)]
Issue #13051: Fixed recursion errors in large or resized curses.textpad.Textbox.
Based on patch by Tycho Andersen.
Serhiy Storchaka [Wed, 28 Dec 2016 08:06:33 +0000 (10:06 +0200)]
Issue #9770: curses.ascii predicates now work correctly with negative integers.
Serhiy Storchaka [Wed, 28 Dec 2016 08:04:27 +0000 (10:04 +0200)]
Issue #9770: curses.ascii predicates now work correctly with negative integers.
Serhiy Storchaka [Wed, 28 Dec 2016 07:56:52 +0000 (09:56 +0200)]
Issue #29073: Added a test for bytearray formatting with null byte.
Serhiy Storchaka [Wed, 28 Dec 2016 07:54:22 +0000 (09:54 +0200)]
Issue #29073: bytearray formatting no longer truncates on first null byte.
Serhiy Storchaka [Wed, 28 Dec 2016 07:19:45 +0000 (09:19 +0200)]
Issue #29087: Removed the documentation of non-existing UCS4 support functions.
Serhiy Storchaka [Wed, 28 Dec 2016 07:19:15 +0000 (09:19 +0200)]
Issue #29087: Removed the documentation of non-existing UCS4 support functions.
Serhiy Storchaka [Tue, 27 Dec 2016 15:41:07 +0000 (17:41 +0200)]
Issue #23903: Added missed Windows-specific names to PC/python3.def.
Serhiy Storchaka [Tue, 27 Dec 2016 15:38:16 +0000 (17:38 +0200)]
Issue #23903: Added missed Windows-specific names to PC/python3.def.
Antoine Pitrou [Tue, 27 Dec 2016 13:23:43 +0000 (14:23 +0100)]
Issue #28427: old keys should not remove new values from
WeakValueDictionary when collecting from another thread.
Antoine Pitrou [Tue, 27 Dec 2016 13:19:20 +0000 (14:19 +0100)]
Issue #28427: old keys should not remove new values from
WeakValueDictionary when collecting from another thread.
Serhiy Storchaka [Tue, 27 Dec 2016 12:57:39 +0000 (14:57 +0200)]
Issue #29058: All stable API extensions added after Python 3.2 are now
available only when Py_LIMITED_API is set to the PY_VERSION_HEX value of
the minimum Python version supporting this API.
Berker Peksag [Tue, 27 Dec 2016 12:16:55 +0000 (15:16 +0300)]
Issue #29069: Merge from 3.5
Berker Peksag [Tue, 27 Dec 2016 12:16:25 +0000 (15:16 +0300)]
Issue #29069: Update the default URL of PyPI server
Patch by paka.
Berker Peksag [Tue, 27 Dec 2016 12:09:35 +0000 (15:09 +0300)]
Merge from 3.5
Berker Peksag [Tue, 27 Dec 2016 12:09:11 +0000 (15:09 +0300)]
Move versionadded inside of the get_terminal_size() block