]>
granicus.if.org Git - python/log
Berker Peksag [Sun, 12 Feb 2017 16:18:00 +0000 (19:18 +0300)]
bpo-27122: Fix comment to point to correct issue number (#50)
It took me quite a bit to figure out what this was referring to,
since the given issue number is wrong, and the original commit
message I found through git blame lists a different, also wrong
issue number... see https://bugs.python.org/issue27122#msg279449
(cherry picked from commit
af88e7eda4101f36e904771d3cf59a5f740b3b00 )
Łukasz Langa [Fri, 10 Feb 2017 08:14:55 +0000 (00:14 -0800)]
Fix #29519: weakref spewing exceptions during interp finalization
Nick Coghlan [Thu, 9 Feb 2017 15:03:59 +0000 (16:03 +0100)]
Issue #26355: Specify canonical URLs in docs pages
Add canonical header link on each page to corresponding major
version of the documentation.
Patch by Matthias Bussonnier.
Berker Peksag [Tue, 7 Feb 2017 08:27:09 +0000 (11:27 +0300)]
Issue #29441: Update examples to use async and await keywords in asyncio-task.rst
Mariatta Wijaya [Tue, 7 Feb 2017 06:03:00 +0000 (22:03 -0800)]
Issue #29314: Set the stacklevel to two in asyncio.async() Deprecation Warning
Mariatta Wijaya [Tue, 7 Feb 2017 04:15:01 +0000 (20:15 -0800)]
Issue #29371: Clarify bitwise OR operation in doctest option flags.
Steve Dower [Mon, 6 Feb 2017 22:11:34 +0000 (14:11 -0800)]
Includes ensurepip and venv packages in nuget package.
Steve Dower [Sat, 4 Feb 2017 23:39:21 +0000 (15:39 -0800)]
Issue #29319: Prevent RunMainFromImporter overwriting sys.path[0].
Steve Dower [Sat, 4 Feb 2017 23:05:13 +0000 (15:05 -0800)]
Issue #29392: Prevent crash when passing invalid arguments into msvcrt module.
Steve Dower [Sat, 4 Feb 2017 22:54:56 +0000 (14:54 -0800)]
Issue #29416: Prevent infinite loop in pathlib.Path.mkdir
Serhiy Storchaka [Sat, 4 Feb 2017 20:53:57 +0000 (22:53 +0200)]
Issue #29444: Fixed out-of-bounds buffer access in the group() method of
the match object. Based on patch by WGH.
Serhiy Storchaka [Sat, 4 Feb 2017 09:04:00 +0000 (11:04 +0200)]
Issue #27867: Silenced may-be-used-uninitialized warnings after
using PySlice_GetIndicesEx() in debug builds.
Berker Peksag [Sat, 4 Feb 2017 06:34:16 +0000 (09:34 +0300)]
Issue #29198: Fix indentation and markup in typing.rst
Patch by Jelle Zijlstra.
Berker Peksag [Sat, 4 Feb 2017 06:18:11 +0000 (09:18 +0300)]
Issue #29198: Document typing.AsyncGenerator
Patch by Jelle Zijlstra.
Vinay Sajip [Thu, 2 Feb 2017 19:25:24 +0000 (19:25 +0000)]
Fixes #29213: regularised EOLs of venv scripts.
Vinay Sajip [Thu, 2 Feb 2017 19:05:19 +0000 (19:05 +0000)]
Fixes #24875: pip can now be installed in a venv with --system-site-packages.
Victor Stinner [Thu, 2 Feb 2017 13:18:18 +0000 (14:18 +0100)]
Issue #29300: test_struct tests unpack_from() with keywords
Add an unit test on the _struct.Struct.unpack_from() method to test passing
arguments as keywords.
Berker Peksag [Wed, 1 Feb 2017 19:37:16 +0000 (22:37 +0300)]
Issue #29407: Remove redundant ensure_future() calls in factorial example
doko@ubuntu.com [Wed, 1 Feb 2017 12:01:17 +0000 (13:01 +0100)]
Issue #29169: Fix NEWS entry.
Benjamin Peterson [Wed, 1 Feb 2017 07:31:02 +0000 (23:31 -0800)]
gc types needs to be allocated as such (closes #29398)
doko@ubuntu.com [Tue, 31 Jan 2017 12:49:48 +0000 (13:49 +0100)]
- Issue #29169: Update zlib to 1.2.10.
doko@ubuntu.com [Tue, 31 Jan 2017 12:34:58 +0000 (13:34 +0100)]
add Modules/zlib/zlib.map to .hgeol
Martin Panter [Sun, 29 Jan 2017 23:33:27 +0000 (23:33 +0000)]
Issue #11670: readfp(fp) parameter name is different to read_file(f)
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.