]>
granicus.if.org Git - python/log
Martin Panter [Sun, 29 Jan 2017 23:33:13 +0000 (23:33 +0000)]
Issue #29349: Use __future__ print_function; Sphinx may use Python 2.6+
Martin Panter [Sun, 29 Jan 2017 10:05:02 +0000 (10:05 +0000)]
Issue #29349: Fix Python 2 syntax in documentation build code
Martin Panter [Sun, 29 Jan 2017 10:00:23 +0000 (10:00 +0000)]
Issue #12067: Recommend that hash and equality be consistent
Vinay Sajip [Fri, 27 Jan 2017 12:41:27 +0000 (12:41 +0000)]
Fixes #29308: Respect VIRTUAL_ENV_DISABLE_PROMPT in Activate.ps1.
Serhiy Storchaka [Wed, 25 Jan 2017 11:23:05 +0000 (13:23 +0200)]
Issue #27867: Function PySlice_GetIndicesEx() is replaced with a macro if
Py_LIMITED_API is not set or set to the value between 0x03050400
and 0x03060000 (not including) or 0x03060100 or higher.
Serhiy Storchaka [Tue, 24 Jan 2017 19:27:12 +0000 (21:27 +0200)]
Issue #29083: Fixed the declaration of some public API functions.
PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in
limited API. PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and
Py_BuildValue() were not available in limited API of version < 3.3 when
PY_SSIZE_T_CLEAN is defined.
Serhiy Storchaka [Tue, 24 Jan 2017 18:49:26 +0000 (20:49 +0200)]
Issue #29337: Fixed possible BytesWarning when compare the code objects.
Warnings could be emitted at compile time.
Martin Panter [Tue, 24 Jan 2017 00:26:56 +0000 (00:26 +0000)]
Issue #29189: Fix indentation in RST markup
Martin Panter [Mon, 23 Jan 2017 22:11:09 +0000 (22:11 +0000)]
Issue #29273: Remove unneeded workaround to restore locale
The “readline” module already has a workaround using setlocale(LC_CTYPE,
NULL). The code in test___all__ calls getlocale(), which can subtly alter
the locale string and cause the test framework to complain.
Serhiy Storchaka [Mon, 23 Jan 2017 10:29:47 +0000 (12:29 +0200)]
Issue #26729: Fixed __text_signature__ for sorted().
Patch by Erik Welch.
Gregory P. Smith [Mon, 23 Jan 2017 06:19:38 +0000 (22:19 -0800)]
Skip the test requiring ctypes if ctypes is unavailable.
prevents http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/240/steps/test/logs/stdio
Gregory P. Smith [Mon, 23 Jan 2017 04:54:42 +0000 (20:54 -0800)]
typo fix, extra '.' :)
Guido van Rossum [Mon, 23 Jan 2017 01:47:20 +0000 (17:47 -0800)]
Issue #28556: Allow defining methods in NamedTuple class syntax (#362)
Guido van Rossum [Mon, 23 Jan 2017 01:43:53 +0000 (17:43 -0800)]
Issue #28556: various style fixes for typing.py
Gregory P. Smith [Mon, 23 Jan 2017 01:28:38 +0000 (17:28 -0800)]
Issue #29335: Fix subprocess.Popen.wait() when the child process has
exited to a stopped instead of terminated state (ex: when under ptrace).
Xiang Zhang [Sun, 22 Jan 2017 06:37:22 +0000 (14:37 +0800)]
Issue #29290: argparse help messages won't wrap at non-breaking spaces.
Xiang Zhang [Sun, 22 Jan 2017 04:54:44 +0000 (12:54 +0800)]
Issue #29092: Sync os.stat's doc and docstring on path type.
Serhiy Storchaka [Sat, 21 Jan 2017 21:12:58 +0000 (23:12 +0200)]
Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.
Xiang Zhang [Fri, 20 Jan 2017 03:29:11 +0000 (11:29 +0800)]
Issue #29292: Update outdated doc of PyEval_EvalCodeEx.
Patch by Ammar Askar.
Larry Hastings [Fri, 20 Jan 2017 02:36:23 +0000 (18:36 -0800)]
Fix incorrect patchlevel information for 3.5.3+.
It got messed up when I merged my private 3.5.3 release
changes with new work happening in the 3.5 main branch.
(3.5 main branch was in "3.5.3rc1", my branch was "3.5.3+",
and Mercurial helpfully merged the two in a kind of nonsense way.)
Guido van Rossum [Wed, 18 Jan 2017 21:10:31 +0000 (13:10 -0800)]
Issue #29198: add AsyncGenerator (Jelle Zijlstra)
Guido van Rossum [Wed, 18 Jan 2017 16:03:50 +0000 (08:03 -0800)]
Issue #28556: allow default values in class form of NamedTuple -- Jelle Zijlstra
Martin Panter [Wed, 18 Jan 2017 12:06:38 +0000 (12:06 +0000)]
Issue #29274: tests cases → test cases
Guido van Rossum [Wed, 18 Jan 2017 04:43:28 +0000 (20:43 -0800)]
Issue #28556: merge 5 more typing changes from upstream (#340, #344, #348, #349, #350)
Larry Hastings [Tue, 17 Jan 2017 09:01:19 +0000 (01:01 -0800)]
Merge from 3.4.
Larry Hastings [Tue, 17 Jan 2017 08:56:40 +0000 (00:56 -0800)]
Merge 3.5.3 release head with main 3.5 branch.
Larry Hastings [Tue, 17 Jan 2017 08:49:32 +0000 (00:49 -0800)]
Post-release updates for 3.5.3.
Larry Hastings [Tue, 17 Jan 2017 08:49:13 +0000 (00:49 -0800)]
Post-release updates for 3.4.6.
Raymond Hettinger [Tue, 17 Jan 2017 06:42:37 +0000 (22:42 -0800)]
Issue #29011: Fix an important omission by adding Deque to the typing module.
Larry Hastings [Mon, 16 Jan 2017 08:20:40 +0000 (00:20 -0800)]
Added tag v3.4.6 for changeset
b662f4776921
Larry Hastings [Mon, 16 Jan 2017 08:20:31 +0000 (00:20 -0800)]
Added tag v3.5.3 for changeset
1880cb95a742
Larry Hastings [Mon, 16 Jan 2017 08:19:54 +0000 (00:19 -0800)]
Version bump for Python 3.4.6.
Larry Hastings [Mon, 16 Jan 2017 08:19:36 +0000 (00:19 -0800)]
Version bump for Python 3.5.3.
Benjamin Peterson [Mon, 16 Jan 2017 08:05:12 +0000 (00:05 -0800)]
generate spaces instead of tabs into config.c
Martin Panter [Sat, 14 Jan 2017 08:24:20 +0000 (08:24 +0000)]
Avoid line breaks after hyphens, otherwise they are turned into spaces
Martin Panter [Sat, 14 Jan 2017 08:23:08 +0000 (08:23 +0000)]
Fix grammar, typos and markup in documentation and code comments
* Indent versionchanged at method level, not class level
* Mark up ``--help`` to avoid generating an en dash
* Use forward slash in Unix command line with a dollar sign ($) prompt
Martin Panter [Thu, 12 Jan 2017 11:54:59 +0000 (11:54 +0000)]
Issues #1621, #29145: Test for str.join() overflow
Martin Panter [Fri, 13 Jan 2017 10:38:09 +0000 (10:38 +0000)]
Issue #22980: Skip a sysconfig test if _ctypes is not available.
Extracted from revision
a1daf2d289ad by Zachary Ware.
Vinay Sajip [Fri, 13 Jan 2017 19:08:47 +0000 (19:08 +0000)]
Fixes #29261: added venv/scripts/common to LIBSUBDIRS.
Serhiy Storchaka [Fri, 13 Jan 2017 07:37:56 +0000 (09:37 +0200)]
Issue #29219: Fixed infinite recursion in the repr of uninitialized
ctypes.CDLL instances.
Serhiy Storchaka [Fri, 13 Jan 2017 06:34:34 +0000 (08:34 +0200)]
Py_SIZE() was misused for dict.
Serhiy Storchaka [Thu, 12 Jan 2017 17:42:44 +0000 (19:42 +0200)]
Merge heads
Vinay Sajip [Thu, 12 Jan 2017 17:12:10 +0000 (17:12 +0000)]
Issue #22343: Made bash activate script available on Windows.
Serhiy Storchaka [Thu, 12 Jan 2017 16:34:33 +0000 (18:34 +0200)]
Issue #28969: Fixed race condition in C implementation of functools.lru_cache.
KeyError could be raised when cached function with full cache was
simultaneously called from differen threads with the same uncached arguments.
Victor Stinner [Thu, 12 Jan 2017 10:51:46 +0000 (11:51 +0100)]
Fix script_helper.run_python_until_end(): copy SYSTEMROOT
Windows requires at least the SYSTEMROOT environment variable to start Python.
If run_python_until_end() doesn't copy SYSTEMROOT, the function always fail on
Windows.
Victor Stinner [Thu, 12 Jan 2017 10:51:31 +0000 (11:51 +0100)]
Issue #25591: Fix test_imaplib if ssl miss
Serhiy Storchaka [Wed, 11 Jan 2017 18:16:44 +0000 (20:16 +0200)]
Issue #20804: Document the limitation of the unittest.mock.sentinel attributes.
Vinay Sajip [Wed, 11 Jan 2017 17:35:36 +0000 (17:35 +0000)]
Issue #29220: Improved fix and test.
Martin Panter [Wed, 11 Jan 2017 11:41:03 +0000 (11:41 +0000)]
Issue #15657: METH_KEYWORDS cannot be used alone in Python 3
Xiang Zhang [Tue, 10 Jan 2017 03:29:27 +0000 (11:29 +0800)]
Issue #29217: Fix the wrong type description of UUID.variant.
Xiang Zhang [Tue, 10 Jan 2017 02:52:00 +0000 (10:52 +0800)]
Issue #29145: Fix overflow checks in str.replace() and str.join().
Based on patch by Martin Panter.
Stefan Krah [Mon, 9 Jan 2017 12:11:27 +0000 (13:11 +0100)]
Issue #28701: Revert part of
5bdc8e1a50c8 for the following reasons:
- There was no real problem to begin with.
- The hypothetical problem has been fixed by
5bdc8e1a50c8 .
Victor Stinner [Mon, 9 Jan 2017 10:18:53 +0000 (11:18 +0100)]
Issue #29157: Prefer getrandom() over getentropy()
Copy and then adapt Python/random.c from default branch. Difference between 3.5
and default branches:
* Python 3.5 only uses getrandom() in non-blocking mode: flags=GRND_NONBLOCK
* If getrandom() fails with EAGAIN: py_getrandom() immediately fails and
remembers that getrandom() doesn't work.
* Python 3.5 has no _PyOS_URandomNonblock() function: _PyOS_URandom()
works in non-blocking mode on Python 3.5
Serhiy Storchaka [Mon, 9 Jan 2017 08:04:34 +0000 (10:04 +0200)]
Issue #29190: Fixed possible errors in comparing strings in the pickle module.
Xiang Zhang [Mon, 9 Jan 2017 03:47:55 +0000 (11:47 +0800)]
Issue #29142: Fix suffixes in no_proxy handling in urllib.
In urllib.request, suffixes in no_proxy environment variable with
leading dots could match related hostnames again (e.g. .b.c matches a.b.c).
Patch by Milan Oberkirch.
Martin Panter [Sun, 8 Jan 2017 00:46:25 +0000 (00:46 +0000)]
Issue #28815: Use new exception subclasses
Larry Hastings [Fri, 6 Jan 2017 21:47:20 +0000 (13:47 -0800)]
Cherry-pick small copyright fix for 3.5.3 final.
Xavier de Gaye [Fri, 6 Jan 2017 08:50:27 +0000 (09:50 +0100)]
test_curses - substitute self.skip() with self.skipTest()
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.
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: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:04 +0000 (03:48 +0300)]
Issue #15812: Delete redundant max(start, 0)
Noticed by Serhiy Storchaka.
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: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: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: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:07 +0000 (22:09 -0600)]
merge heads
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: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: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: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:44:49 +0000 (05:44 +0300)]
Issue #29024: Add Kivy entry to GUI FAQ
Patch by inclement.
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:48:55 +0000 (22:48 +0300)]
Issue #29123: Make CheckSqlTimestamp more robust
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: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.
Stefan Krah [Fri, 30 Dec 2016 11:23:35 +0000 (12:23 +0100)]
Issue #29111: Fix memoryview signature.
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: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.
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 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: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:04:27 +0000 (10:04 +0200)]
Issue #9770: curses.ascii predicates now work correctly with negative integers.
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:15 +0000 (09:19 +0200)]
Issue #29087: Removed the documentation of non-existing UCS4 support functions.