]> granicus.if.org Git - python/log
python
7 years agoFix unittest.mock._Call: don't ignore name (#307)
Berker Peksag [Sun, 26 Feb 2017 13:06:11 +0000 (16:06 +0300)]
Fix unittest.mock._Call: don't ignore name (#307)

Issue #28961: Fix unittest.mock._Call helper: don't ignore the name parameter
anymore.

Patch written by Jiajun Huang.

(cherry picked from commits 84b6fb0eea29b3b28a1a11124526b01ec0c9d17a
and dea1536fd3a8424d537794cd53715df0989cbbe1)

Conflicts:

Misc/NEWS

7 years ago[3.5] Fix small typos in introduction and datastructures of tutorial (GH-272) (GH...
Mariatta [Sun, 26 Feb 2017 06:35:39 +0000 (22:35 -0800)]
[3.5] Fix small typos in introduction and datastructures of tutorial (GH-272) (GH-299)

(cherry picked from commit 5bd5b9d81322d2cb6edd5f3804a347f8b2e65a15)
(cherry picked from commit 8c5e190d360b9f1a08c9fff249ae80d9c18007d5)
(cherry picked from commit 53c1892dc3de1de612b1cf95dc7bf09f82c1babf)

7 years ago[3.5] bpo-28929: Add to Misc/NEWS (GH-285)
Mariatta [Sun, 26 Feb 2017 06:33:51 +0000 (22:33 -0800)]
[3.5] bpo-28929: Add to Misc/NEWS (GH-285)

mention bpo-28929 in the Documentation section of
What's New in Python 3.5.4 release candidate 1

7 years ago[3.5] bpo-28556: Update to typing: treat subscripted generics as proxies (GH-265...
Mariatta [Sat, 25 Feb 2017 00:41:19 +0000 (16:41 -0800)]
[3.5] bpo-28556: Update to typing: treat subscripted generics as proxies (GH-265) (GH-269)

(cherry picked from commit abb3b8ad94d699c8560d94ee9bac9c917b382abe)
(cherry picked from commit 365cb5bb9069273e6970c9d5d17ee2fe5003e7ac)

7 years agobpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#279)
Barry Warsaw [Fri, 24 Feb 2017 21:15:17 +0000 (16:15 -0500)]
bpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#279)

7 years agobpo-29624: Adds purge step and layout test after uploading files. (#258) (#263)
Steve Dower [Thu, 23 Feb 2017 23:02:43 +0000 (15:02 -0800)]
bpo-29624: Adds purge step and layout test after uploading files. (#258) (#263)

7 years agobpo-28911: Clarify the behaviour of assert_called_once_with. (#254)
Arne de Laat [Thu, 23 Feb 2017 16:16:56 +0000 (17:16 +0100)]
bpo-28911: Clarify the behaviour of assert_called_once_with. (#254)

(cherry picked from commit 9d56b34af2efc4e266bf3ae62da5cd2e422a42be)

7 years agobpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122) (#244)
Berker Peksag [Thu, 23 Feb 2017 15:45:57 +0000 (18:45 +0300)]
bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122) (#244)

Nick Coghlan said on bpo-28814:

> inspect.getargvalues() and inspect.formatargvalues() were deprecated
> in Python 3.5 as part of implementing bpo-20438

> This is incorrect, as these are *frame* introspection related functions,
> not callable introspection ones. The documentation and implementation
> layout is confusing though, as they're interleaved with the callable
> introspection operation

This commit undeprecates these functions and adds a note to ignore
previous deprecation notices.

(cherry picked from commit 0899b9809547ec2894dcf88cf4bba732c5d47d0d)

7 years ago[3.5] bpo-29532: Altering a kwarg dictionary passed to functools.partial() no longer...
Serhiy Storchaka [Wed, 22 Feb 2017 09:46:32 +0000 (11:46 +0200)]
[3.5] bpo-29532: Altering a kwarg dictionary passed to functools.partial() no longer affects a partial object after creation. (#222)

7 years agoFixed bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64...
Vinay Sajip [Wed, 22 Feb 2017 06:19:55 +0000 (06:19 +0000)]
Fixed bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64. (#168) (#221)

Fixed bpo-29565: Corrected ctypes passing of large structs by value.
(cherry picked from commit a86339b83fbd0932e0529a3c91935e997a234582)

7 years agoAdd .codecov.yml (#210) (#229)
Berker Peksag [Wed, 22 Feb 2017 05:02:17 +0000 (08:02 +0300)]
Add .codecov.yml (#210) (#229)

(cherry picked from commit e9c0e5559bbadb164d7c57b5a47b5544746dcb89)

7 years agobpo-29554: Improve docs for pstat module and profile. (#88) (#228)
Berker Peksag [Wed, 22 Feb 2017 01:55:03 +0000 (04:55 +0300)]
bpo-29554: Improve docs for pstat module and profile. (#88) (#228)

Clarify that methods take a string which is interpreted as a regex,
not a regex object.

Also clarify what the old `-1`, `0`, `1` and `2` options were.

(cherry picked from commit 8fb1f6e039cbdeb333d83b7a62f0f37af4ce6e02)

7 years agodoc: fix compile error on "shoddy" example extension (GH-217)
INADA Naoki [Tue, 21 Feb 2017 14:55:49 +0000 (23:55 +0900)]
doc: fix compile error on "shoddy" example extension (GH-217)

(cherry picked from commit fb8fe72fc593438f6a0b934c6ff2d9c4aa28673d)

7 years agobpo-29602: fix signed zero handling in complex constructor. (#203) (#205)
Mark Dickinson [Mon, 20 Feb 2017 21:50:49 +0000 (21:50 +0000)]
bpo-29602: fix signed zero handling in complex constructor. (#203) (#205)

* Fix incorrect handling of signed zeros for complex-related classes.

* Add Misc/NEWS entry.

(cherry picked from commit 112ec38c15b388fe025ccb85369a584d218b1160)

7 years agobpo-24274: fix comment in dictobject.c (GH-194)
INADA Naoki [Mon, 20 Feb 2017 11:29:30 +0000 (20:29 +0900)]
bpo-24274: fix comment in dictobject.c (GH-194)

7 years agobpo-29347: Fix possibly dereferencing undefined pointers when creating weakref object...
Xiang Zhang [Mon, 20 Feb 2017 06:33:06 +0000 (14:33 +0800)]
bpo-29347: Fix possibly dereferencing undefined pointers when creating weakref objects (#128) (#188)

7 years agoChange some mercurial/ hg.python.org references. (#8) (#184)
Senthil Kumaran [Mon, 20 Feb 2017 02:58:20 +0000 (18:58 -0800)]
Change some mercurial/ hg.python.org references. (#8) (#184)

(cherry picked from commit b2ee40ed9c9041dcff9c898aa19aacf9ec60308a)

7 years agobpo-29520: doc: fix deprecation warning from 'defindex' template (GH-179)
INADA Naoki [Mon, 20 Feb 2017 00:46:24 +0000 (09:46 +0900)]
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-179)

7 years ago[backport to 3.5] bpo-29529: Add .travis.yml to 3.5 branch (#26)
INADA Naoki [Sun, 19 Feb 2017 05:13:02 +0000 (14:13 +0900)]
[backport to 3.5] bpo-29529: Add .travis.yml to 3.5 branch (#26)

* Add .travis.yml to 3.5 branch

* Only run CI checks when appropriate files have changed (#74)

Closes python/core-workflow#14

* Travis CI: run rstlint.py in the docs job (#68)

Currently, http://buildbot.python.org/all/buildslaves/ware-docs
buildbot is only run as post-commit. For example, bpo-29521 (PR#41)
introduced two warnings, unnotified by the Travis CI docs job.

Modify the docs job to run toosl/rstlint.py.

Fix also the two minor warnings which causes the buildbot slave to
fail.

* Use 'make check' instead of 'python3 tools/rstlint.py' (#96)

7 years ago[3.5] bpo-29571: Use correct locale encoding in test_re (#149) (#154)
Nick Coghlan [Sun, 19 Feb 2017 04:33:50 +0000 (10:03 +0530)]
[3.5] bpo-29571: Use correct locale encoding in test_re (#149) (#154)

``local.getlocale(locale.LC_CTYPE)`` and
``locale.getpreferredencoding(False)`` may give different answers
in some cases (such as the ``en_IN`` locale).

``re.LOCALE`` uses the latter, so update the test case to match.

7 years agoBackport35 doc fixes: PR#68 and PR#124 (#125) (#126)
Victor Stinner [Thu, 16 Feb 2017 09:43:16 +0000 (10:43 +0100)]
Backport35 doc fixes: PR#68 and PR#124 (#125) (#126)

* Travis CI: run rstlint.py in the docs job (#68)

Currently, http://buildbot.python.org/all/buildslaves/ware-docs
buildbot is only run as post-commit. For example, bpo-29521 (PR#41)
introduced two warnings, unnotified by the Travis CI docs job.

Modify the docs job to run toosl/rstlint.py.

Fix also the two minor warnings which causes the buildbot slave to
fail.
(cherry picked from commit 2b501866ed493758e4c4b29f0ce9b24023d910a1)

* Doc/Makefile: set PYTHON to python3 (#124)

rstlint.py run by "make check" doesn't support Python 2.

"make venv" runs "$(PYTHON) -m venv", whereas Python 2 doens't
provide the venv module: it's a module of Python 3 standard library.

(cherry picked from commit 91b0e7d0ca7c59df28f6a6fc1e8eb86a3925b76c)
(cherry picked from commit b300c660d34d2027d443098ea605a8e0eb51d383)

7 years agobpo-29521 update Misc/ACKS (#111)
Mariatta [Wed, 15 Feb 2017 23:14:38 +0000 (15:14 -0800)]
bpo-29521 update Misc/ACKS (#111)

(cherry picked from commit 6420088b924a23e5de40be6623d2a80b12f71d97)

7 years ago[cherry-pick for 3.5] bpo-29481: add versionadded 3.5.4 to typing.Deque docs (#109)
Mariatta [Wed, 15 Feb 2017 19:39:37 +0000 (11:39 -0800)]
[cherry-pick for 3.5] bpo-29481: add versionadded 3.5.4 to typing.Deque docs (#109)

(cherry picked from commit 7e147f1ddb8233964ff0981e6b64fc12edac99aa)

7 years agoUpdate URL of Mersenne Twister Home Page (#20) (#114)
INADA Naoki [Wed, 15 Feb 2017 09:59:45 +0000 (18:59 +0900)]
Update URL of Mersenne Twister Home Page (#20) (#114)

7 years agobpo-29521 Fix two minor documentation build warnings (#41) (#84)
Mariatta [Tue, 14 Feb 2017 16:54:22 +0000 (08:54 -0800)]
bpo-29521 Fix two minor documentation build warnings (#41) (#84)

Much of bpo-29521 was fixed in parallel with commit
e7ffb99 .  This cleans up the rest.

Apply parallel change to Doc/make.bat to read
"set SPHINXOPTS=-D latex_elements.papersize="
I don't have a Windows system on which to observe the warning,
but it should be necessary.

The warning:

.../workspace/cpython_github/Doc/faq/windows.rst:303:
    WARNING: unknown option: -t

In the Windows FAQ, `How do I keep editors from inserting tabs
into my Python source?`, contained a reference to a Python -t
option. In Python 2.x, this caused Python to issue warnings
about lines with mixed spaces and tabs, but as of Python 3.6
it does nothing.

Per discussion at http://bugs.python.org/issue29387, take
their wording. Python [3] raises an IndentationError or
TabError. Tabnanny is now a module.
(cherry picked from commit 3d707be950b387552585451071928e7b39cdfa53)

7 years agoFix some sphinx warnings (#9) (#82)
Mariatta [Tue, 14 Feb 2017 14:12:15 +0000 (06:12 -0800)]
Fix some sphinx warnings (#9) (#82)

* Fix some deprecation warnings in Doc/conf.py
* Fix an rst error in Misc/NEWS

Contributed by Ryan Gonzalez @kirbyfan64

(cherry picked from commit e7ffb99f842ebff97cffa0fc90b18be4e5abecf2)

7 years agoA few README tweaks (#73) (#80)
Mariatta [Mon, 13 Feb 2017 23:49:08 +0000 (15:49 -0800)]
A few README tweaks (#73) (#80)

* Add a paragraph at the top for users, not builders, of Python.

* Use nicer rst url syntax to avoid borking paragraphs in the plain text.

Contributed by Ned Batchelder @nedbat

(cherry picked from commit 3cdbd68ce8230cff1afb67472b96fbfa7f047e32)

7 years agobpo-28556: Various updates to typing (#28) (#78)
Mariatta [Mon, 13 Feb 2017 22:28:58 +0000 (14:28 -0800)]
bpo-28556: Various updates to typing (#28) (#78)

various updates from upstream python/typing repo:

- Added typing.Counter and typing.ChainMap generics
- More flexible typing.NamedTuple
- Improved generic ABC caching
- More tests
- Bugfixes
- Other updates

* Add Misc/NEWS entry

* Add issue number

Contributed by Ivan Levkivskyi @ilevkivskyi

(cherry picked from commit b692dc8475a032740576129d0990ddc3edccab2b)

7 years agoSupport "bpo-" in Misc/NEWS (#1) (#43)
Mariatta [Mon, 13 Feb 2017 20:11:25 +0000 (12:11 -0800)]
Support "bpo-" in Misc/NEWS (#1) (#43)

Change the url to 3.5

(cherry picked from commit 79ab8be05fb4ffb5c258d2ca49be5fc2d4880431)

Contributed by Brett Cannon

7 years agobpo-29438: Fixed use-after-free in key sharing dict (#40)
INADA Naoki [Mon, 13 Feb 2017 00:16:20 +0000 (09:16 +0900)]
bpo-29438: Fixed use-after-free in key sharing dict (#40)

7 years ago[backport to 3.5] bpo-28929: Link the documentation to its source file on GitHub...
Mariatta [Sun, 12 Feb 2017 21:08:00 +0000 (13:08 -0800)]
[backport to 3.5] bpo-28929: Link the documentation to its source file on GitHub (#36)

* bpo-28929: Link the documentation to its source file on GitHub

Change the documentation's `Show Source` link on the left menu
to GitHub source file.

(cherry picked from commit 23bafa294c75c20cb85ae5d97d7571a3a0ad8dd3)

* remove if statement

7 years agobpo-29474: Improve documentation for weakref.WeakValueDictionary (#23)
Mariatta [Sun, 12 Feb 2017 16:21:36 +0000 (08:21 -0800)]
bpo-29474: Improve documentation for weakref.WeakValueDictionary (#23)

There were some grammatical errors in weakref.WeakValueDictionary
documentation.

7 years agobpo-27122: Fix comment to point to correct issue number (#50)
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)

7 years agoFix #29519: weakref spewing exceptions during interp finalization
Łukasz Langa [Fri, 10 Feb 2017 08:14:55 +0000 (00:14 -0800)]
Fix #29519: weakref spewing exceptions during interp finalization

7 years agoIssue #26355: Specify canonical URLs in docs pages
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.

7 years agoIssue #29441: Update examples to use async and await keywords in asyncio-task.rst
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

7 years agoIssue #29314: Set the stacklevel to two in asyncio.async() Deprecation Warning
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

7 years agoIssue #29371: Clarify bitwise OR operation in doctest option flags.
Mariatta Wijaya [Tue, 7 Feb 2017 04:15:01 +0000 (20:15 -0800)]
Issue #29371: Clarify bitwise OR operation in doctest option flags.

7 years agoIncludes ensurepip and venv packages in nuget package.
Steve Dower [Mon, 6 Feb 2017 22:11:34 +0000 (14:11 -0800)]
Includes ensurepip and venv packages in nuget package.

7 years agoIssue #29319: Prevent RunMainFromImporter overwriting sys.path[0].
Steve Dower [Sat, 4 Feb 2017 23:39:21 +0000 (15:39 -0800)]
Issue #29319: Prevent RunMainFromImporter overwriting sys.path[0].

7 years agoIssue #29392: Prevent crash when passing invalid arguments into msvcrt module.
Steve Dower [Sat, 4 Feb 2017 23:05:13 +0000 (15:05 -0800)]
Issue #29392: Prevent crash when passing invalid arguments into msvcrt module.

7 years agoIssue #29416: Prevent infinite loop in pathlib.Path.mkdir
Steve Dower [Sat, 4 Feb 2017 22:54:56 +0000 (14:54 -0800)]
Issue #29416: Prevent infinite loop in pathlib.Path.mkdir

7 years agoIssue #29444: Fixed out-of-bounds buffer access in the group() method of
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.

7 years agoIssue #27867: Silenced may-be-used-uninitialized warnings after
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.

7 years agoIssue #29198: Fix indentation and markup in typing.rst
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.

7 years agoIssue #29198: Document typing.AsyncGenerator
Berker Peksag [Sat, 4 Feb 2017 06:18:11 +0000 (09:18 +0300)]
Issue #29198: Document typing.AsyncGenerator

Patch by Jelle Zijlstra.

7 years agoFixes #29213: regularised EOLs of venv scripts.
Vinay Sajip [Thu, 2 Feb 2017 19:25:24 +0000 (19:25 +0000)]
Fixes #29213: regularised EOLs of venv scripts.

7 years agoFixes #24875: pip can now be installed in a venv with --system-site-packages.
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.

7 years agoIssue #29300: test_struct tests unpack_from() with keywords
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.

7 years agoIssue #29407: Remove redundant ensure_future() calls in factorial example
Berker Peksag [Wed, 1 Feb 2017 19:37:16 +0000 (22:37 +0300)]
Issue #29407: Remove redundant ensure_future() calls in factorial example

7 years agoIssue #29169: Fix NEWS entry.
doko@ubuntu.com [Wed, 1 Feb 2017 12:01:17 +0000 (13:01 +0100)]
Issue #29169: Fix NEWS entry.

7 years agogc types needs to be allocated as such (closes #29398)
Benjamin Peterson [Wed, 1 Feb 2017 07:31:02 +0000 (23:31 -0800)]
gc types needs to be allocated as such (closes #29398)

7 years ago- Issue #29169: Update zlib to 1.2.10.
doko@ubuntu.com [Tue, 31 Jan 2017 12:49:48 +0000 (13:49 +0100)]
- Issue #29169: Update zlib to 1.2.10.

7 years agoadd Modules/zlib/zlib.map to .hgeol
doko@ubuntu.com [Tue, 31 Jan 2017 12:34:58 +0000 (13:34 +0100)]
add Modules/zlib/zlib.map to .hgeol

7 years agoIssue #11670: readfp(fp) parameter name is different to read_file(f)
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)

7 years agoIssue #29349: Use __future__ print_function; Sphinx may use Python 2.6+
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+

7 years agoIssue #29349: Fix Python 2 syntax in documentation build code
Martin Panter [Sun, 29 Jan 2017 10:05:02 +0000 (10:05 +0000)]
Issue #29349: Fix Python 2 syntax in documentation build code

7 years agoIssue #12067: Recommend that hash and equality be consistent
Martin Panter [Sun, 29 Jan 2017 10:00:23 +0000 (10:00 +0000)]
Issue #12067: Recommend that hash and equality be consistent

7 years agoFixes #29308: Respect VIRTUAL_ENV_DISABLE_PROMPT in Activate.ps1.
Vinay Sajip [Fri, 27 Jan 2017 12:41:27 +0000 (12:41 +0000)]
Fixes #29308: Respect VIRTUAL_ENV_DISABLE_PROMPT in Activate.ps1.

7 years agoIssue #27867: Function PySlice_GetIndicesEx() is replaced with a macro if
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.

7 years agoIssue #29083: Fixed the declaration of some public API functions.
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.

7 years agoIssue #29337: Fixed possible BytesWarning when compare the code objects.
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.

7 years agoIssue #29189: Fix indentation in RST markup
Martin Panter [Tue, 24 Jan 2017 00:26:56 +0000 (00:26 +0000)]
Issue #29189: Fix indentation in RST markup

7 years agoIssue #29273: Remove unneeded workaround to restore locale
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.

7 years agoIssue #26729: Fixed __text_signature__ for sorted().
Serhiy Storchaka [Mon, 23 Jan 2017 10:29:47 +0000 (12:29 +0200)]
Issue #26729: Fixed __text_signature__ for sorted().
Patch by Erik Welch.

7 years agoSkip the test requiring ctypes if ctypes is unavailable.
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

7 years agotypo fix, extra '.' :)
Gregory P. Smith [Mon, 23 Jan 2017 04:54:42 +0000 (20:54 -0800)]
typo fix, extra '.' :)

7 years agoIssue #28556: Allow defining methods in NamedTuple class syntax (#362)
Guido van Rossum [Mon, 23 Jan 2017 01:47:20 +0000 (17:47 -0800)]
Issue #28556: Allow defining methods in NamedTuple class syntax (#362)

7 years agoIssue #28556: various style fixes for typing.py
Guido van Rossum [Mon, 23 Jan 2017 01:43:53 +0000 (17:43 -0800)]
Issue #28556: various style fixes for typing.py

7 years agoIssue #29335: Fix subprocess.Popen.wait() when the child process has
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).

7 years agoIssue #29290: argparse help messages won't wrap at non-breaking spaces.
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.

7 years agoIssue #29092: Sync os.stat's doc and docstring on path type.
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.

7 years agoIssue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.
Serhiy Storchaka [Sat, 21 Jan 2017 21:12:58 +0000 (23:12 +0200)]
Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.

7 years agoIssue #29292: Update outdated doc of PyEval_EvalCodeEx.
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.

7 years agoFix incorrect patchlevel information for 3.5.3+.
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.)

7 years agoIssue #29198: add AsyncGenerator (Jelle Zijlstra)
Guido van Rossum [Wed, 18 Jan 2017 21:10:31 +0000 (13:10 -0800)]
Issue #29198: add AsyncGenerator (Jelle Zijlstra)

7 years agoIssue #28556: allow default values in class form of NamedTuple -- 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

7 years agoIssue #29274: tests cases → test cases
Martin Panter [Wed, 18 Jan 2017 12:06:38 +0000 (12:06 +0000)]
Issue #29274: tests cases → test cases

7 years agoIssue #28556: merge 5 more typing changes from upstream (#340, #344, #348, #349,...
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)

7 years agoMerge from 3.4.
Larry Hastings [Tue, 17 Jan 2017 09:01:19 +0000 (01:01 -0800)]
Merge from 3.4.

7 years agoMerge 3.5.3 release head with main 3.5 branch.
Larry Hastings [Tue, 17 Jan 2017 08:56:40 +0000 (00:56 -0800)]
Merge 3.5.3 release head with main 3.5 branch.

7 years agoPost-release updates for 3.5.3.
Larry Hastings [Tue, 17 Jan 2017 08:49:32 +0000 (00:49 -0800)]
Post-release updates for 3.5.3.

7 years agoPost-release updates for 3.4.6.
Larry Hastings [Tue, 17 Jan 2017 08:49:13 +0000 (00:49 -0800)]
Post-release updates for 3.4.6.

7 years agoIssue #29011: Fix an important omission by adding Deque to the typing module.
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.

7 years agoAdded tag v3.4.6 for changeset b662f4776921
Larry Hastings [Mon, 16 Jan 2017 08:20:40 +0000 (00:20 -0800)]
Added tag v3.4.6 for changeset b662f4776921

7 years agoAdded tag v3.5.3 for changeset 1880cb95a742
Larry Hastings [Mon, 16 Jan 2017 08:20:31 +0000 (00:20 -0800)]
Added tag v3.5.3 for changeset 1880cb95a742

7 years agoVersion bump for Python 3.4.6. v3.4.6
Larry Hastings [Mon, 16 Jan 2017 08:19:54 +0000 (00:19 -0800)]
Version bump for Python 3.4.6.

7 years agoVersion bump for Python 3.5.3. v3.5.3
Larry Hastings [Mon, 16 Jan 2017 08:19:36 +0000 (00:19 -0800)]
Version bump for Python 3.5.3.

7 years agogenerate spaces instead of tabs into config.c
Benjamin Peterson [Mon, 16 Jan 2017 08:05:12 +0000 (00:05 -0800)]
generate spaces instead of tabs into config.c

7 years agoAvoid line breaks after hyphens, otherwise they are turned into spaces
Martin Panter [Sat, 14 Jan 2017 08:24:20 +0000 (08:24 +0000)]
Avoid line breaks after hyphens, otherwise they are turned into spaces

7 years agoFix grammar, typos and markup in documentation and code comments
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

7 years agoIssues #1621, #29145: Test for str.join() overflow
Martin Panter [Thu, 12 Jan 2017 11:54:59 +0000 (11:54 +0000)]
Issues #1621, #29145: Test for str.join() overflow

7 years agoIssue #22980: Skip a sysconfig test if _ctypes is not available.
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.

7 years agoFixes #29261: added venv/scripts/common to LIBSUBDIRS.
Vinay Sajip [Fri, 13 Jan 2017 19:08:47 +0000 (19:08 +0000)]
Fixes #29261: added venv/scripts/common to LIBSUBDIRS.

7 years agoIssue #29219: Fixed infinite recursion in the repr of uninitialized
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.

7 years agoPy_SIZE() was misused for dict.
Serhiy Storchaka [Fri, 13 Jan 2017 06:34:34 +0000 (08:34 +0200)]
Py_SIZE() was misused for dict.

7 years agoMerge heads
Serhiy Storchaka [Thu, 12 Jan 2017 17:42:44 +0000 (19:42 +0200)]
Merge heads

7 years agoIssue #22343: Made bash activate script available on Windows.
Vinay Sajip [Thu, 12 Jan 2017 17:12:10 +0000 (17:12 +0000)]
Issue #22343: Made bash activate script available on Windows.

7 years agoIssue #28969: Fixed race condition in C implementation of functools.lru_cache.
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.

7 years agoFix script_helper.run_python_until_end(): copy SYSTEMROOT
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.