]> granicus.if.org Git - python/log
python
7 years agobpo-29376: Fix assertion error in threading._DummyThread.is_alive() (GH-330)
Xiang Zhang [Mon, 27 Feb 2017 03:45:42 +0000 (11:45 +0800)]
bpo-29376: Fix assertion error in threading._DummyThread.is_alive() (GH-330)

7 years agobpo-26184: import.rst: Improve versionchanged note (GH-325) (GH-326)
Mariatta [Sun, 26 Feb 2017 21:30:44 +0000 (13:30 -0800)]
bpo-26184: import.rst: Improve versionchanged note (GH-325) (GH-326)

(cherry picked from commit 1f5639c77f736c18fb5a85b4a1850121e25c788e)

7 years ago[3.6] bpo-29110: Fix file object leak in `aifc.open` (#310)
INADA Naoki [Sun, 26 Feb 2017 19:09:32 +0000 (04:09 +0900)]
[3.6] bpo-29110: Fix file object leak in `aifc.open` (#310)

(cherry picked from commit 03f68b60e17b57f6f13729ff73245dbb37b30a4c) (GH-162)
(cherry picked from commit 5dc33eea538361f8a218255f83db2e9298dd8c53) (GH-293)

7 years agobpo-28624: Add a test that checks that cwd parameter of Popen() accepts PathLike...
Berker Peksag [Sun, 26 Feb 2017 17:38:31 +0000 (20:38 +0300)]
bpo-28624: Add a test that checks that cwd parameter of Popen() accepts PathLike objects (#157) (#323)

(cherry picked from commit d5c11f7ace48701bb950c6345deee88c35c66e26)

7 years agobpo-26184: import.rst: Improve versionchanged note (GH-277) (#320)
Mariatta [Sun, 26 Feb 2017 16:55:23 +0000 (08:55 -0800)]
bpo-26184: import.rst: Improve versionchanged note (GH-277) (#320)

(cherry picked from commit 6b4a5f45e2df524174a97832571c82c76a3d424a)

7 years agobpo-28518: Start a transaction implicitly before a DML statement (#245) (#318)
Berker Peksag [Sun, 26 Feb 2017 16:09:10 +0000 (19:09 +0300)]
bpo-28518: Start a transaction implicitly before a DML statement (#245) (#318)

Patch by Aviv Palivoda.

(cherry picked from commit 4a926caf8e5fd8af771b2c34bfb6e91c732331fe)

7 years agobpo-29121: Remove outdated documentation about transactions (#313) (#319)
Berker Peksag [Sun, 26 Feb 2017 16:04:00 +0000 (19:04 +0300)]
bpo-29121: Remove outdated documentation about transactions (#313) (#319)

Patch by Aviv Palivoda.

(cherry picked from commit fe70d924bb6106d4c21eb414f4a1ba1324e8f46a)

7 years agobpo-22594: Add a link to the regex module in re documentation (GH-241) (GH-316)
Mariatta [Sun, 26 Feb 2017 15:44:16 +0000 (07:44 -0800)]
bpo-22594: Add a link to the regex module in re documentation (GH-241) (GH-316)

(cherry picked from commit ed6795e46f7653e23b862efad240a93453e7df97)

7 years agobpo-29648: import.rst: Add reference to create_module() (GH-290) (GH-314)
Mariatta [Sun, 26 Feb 2017 15:33:54 +0000 (07:33 -0800)]
bpo-29648: import.rst: Add reference to create_module() (GH-290) (GH-314)

(cherry picked from commit 46ce7599af82a929506baeaaee5c149970440c4c)

7 years agoBackport recent .travis.yml changes (#308)
Berker Peksag [Sun, 26 Feb 2017 13:07:12 +0000 (16:07 +0300)]
Backport recent .travis.yml changes (#308)

Backported changes from master:

b52260d8bf392aa04c48b8c2467a4c034184de86
984eef7d6d78e1213d6ea99897343a5059a07c59
532519770dea5d353f0b0d718c8881a15c7542df
91b0e7d0ca7c59df28f6a6fc1e8eb86a3925b76c

7 years agobpo-28961: Address my comments from earlier code review (#306)
Berker Peksag [Sun, 26 Feb 2017 13:05:30 +0000 (16:05 +0300)]
bpo-28961: Address my comments from earlier code review (#306)

(cherry picked from commit dea1536fd3a8424d537794cd53715df0989cbbe1)

7 years agomark various test data binary (#233) (#304)
Benjamin Peterson [Sun, 26 Feb 2017 08:00:09 +0000 (00:00 -0800)]
mark various test data binary (#233) (#304)

7 years agoFix small typos in introduction and datastructures of tutorial (GH-272) (GH-297)
Mariatta [Sun, 26 Feb 2017 06:34:51 +0000 (22:34 -0800)]
Fix small typos in introduction and datastructures of tutorial (GH-272) (GH-297)

(cherry picked from commit 53c1892dc3de1de612b1cf95dc7bf09f82c1babf)

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

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

7 years ago[3.6] Backport README.rst changes (GH-294)
Mariatta [Sat, 25 Feb 2017 19:56:48 +0000 (11:56 -0800)]
[3.6] Backport README.rst changes (GH-294)

(cherry picked from commit b3f1f59cf451d4a25b204e7a24f7be4c95e40be8)
(cherry picked from commit 1b3d88eb33085e90af729c4c2f78b5ba1b942b1e)
(cherry picked from commit c0866855d54bbbe7bcac299c4af45389efacce0b)
(cherry picked from commit e32ec9334b35f897ace8a05128838f92c5e0b2fb)
(cherry picked from commit 6329aea78e3627d250009aa5aaaf47cd11587f4d)

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

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

7 years ago[3.6] Fix small typos in expressions.rst (GH-276) (GH-281)
Mariatta [Sat, 25 Feb 2017 00:39:30 +0000 (16:39 -0800)]
[3.6] Fix small typos in expressions.rst (GH-276) (GH-281)

(cherry picked from commit 132ac381fe7eb593e3d7c63926f90285bba13cdc)

7 years agobpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#278)
Barry Warsaw [Fri, 24 Feb 2017 20:44:34 +0000 (15:44 -0500)]
bpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#278)

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

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

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 agobpo-28911: Clarify the behaviour of assert_called_once_with. (#252)
Arne de Laat [Thu, 23 Feb 2017 15:17:11 +0000 (16:17 +0100)]
bpo-28911: Clarify the behaviour of assert_called_once_with. (#252)

(cherry picked from commit 9d56b34af2efc4e266bf3ae62da5cd2e422a42be)

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

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

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

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 ago[3.6] Add .codecov.yml (#210)
Berker Peksag [Tue, 21 Feb 2017 19:56:07 +0000 (22:56 +0300)]
[3.6] Add .codecov.yml (#210)

7 years agobpo-29453: Remove reference to undefined dictionary ordering in Tutorial (GH-140...
Mariatta [Tue, 21 Feb 2017 18:30:07 +0000 (10:30 -0800)]
bpo-29453: Remove reference to undefined dictionary ordering in Tutorial (GH-140) (#208)

As of Python 3.6 **kwargs are ordered, thus, remove the paragraph stating that
ordering is undefined and change snippet to remove the unecessary sorted call.

* Add sentence mentioning guaranteed output order of kwargs

(cherry picked from commit 32e8f9bdfd4324f1aa4fbbdf1ed8536f2b00cabb)

7 years agobpo-29607: Fix stack_effect computation for CALL_FUNCTION_EX (GH-219)
INADA Naoki [Tue, 21 Feb 2017 17:33:24 +0000 (02:33 +0900)]
bpo-29607: Fix stack_effect computation for CALL_FUNCTION_EX (GH-219)

(cherry picked from commit 3a9ac827c7c87dffc60c4200323948551bcb6662)

7 years agobpo-29532: Altering a kwarg dictionary passed to functools.partial() no longer affect...
Serhiy Storchaka [Tue, 21 Feb 2017 16:18:27 +0000 (18:18 +0200)]
bpo-29532: Altering a kwarg dictionary passed to functools.partial() no longer affects a partial object after creation. (#209)

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

(cherry picked from commit fb8fe72fc593438f6a0b934c6ff2d9c4aa28673d)

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

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

* Add Misc/NEWS entry.

(cherry picked from commit 112ec38c15b388fe025ccb85369a584d218b1160)

7 years agobpo-24274: fix erroneous comment in dictobject.c (GH-200)
INADA Naoki [Mon, 20 Feb 2017 13:58:11 +0000 (22:58 +0900)]
bpo-24274: fix erroneous comment in dictobject.c (GH-200)

lookdict_unicode() and lookdict_unicode_nodummy() may raise exception
when key is not unicode.

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

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

(cherry picked from commit b2ee40ed9c9041dcff9c898aa19aacf9ec60308a)

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

7 years agoTweak PEP 519 documentation in stdlib (#164)
Berker Peksag [Sun, 19 Feb 2017 11:40:55 +0000 (14:40 +0300)]
Tweak PEP 519 documentation in stdlib (#164)

* Drop duplicate word 'object' in lzma docs
* Fix typo in os docs: fpr -> for

(cherry picked from commit d4d48743ac20854de104e08dd66972471684f676)

7 years ago[backport to 3.6] bpo-29529: Add .travis.yml to 3.6 branch (#25)
INADA Naoki [Sun, 19 Feb 2017 05:11:59 +0000 (14:11 +0900)]
[backport to 3.6] bpo-29529: Add .travis.yml to 3.6 branch (#25)

* Add .travis.yml to 3.6 branch

* 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.

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

Closes python/core-workflow#14

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

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

``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 agobpo-29579: Removes readme.txt from the installer. (#161)
Steve Dower [Sun, 19 Feb 2017 00:12:06 +0000 (16:12 -0800)]
bpo-29579: Removes readme.txt from the installer. (#161)

7 years agoBackport36 doc fixes: PR#68 and PR#124 (#125)
Victor Stinner [Wed, 15 Feb 2017 23:56:54 +0000 (00:56 +0100)]
Backport36 doc fixes: PR#68 and PR#124 (#125)

* 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)

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

(cherry picked from commit 6420088b924a23e5de40be6623d2a80b12f71d97)

7 years agobpo-29481: add versionadded 3.6.1 to typing.Deque docs (#108)
Mariatta [Wed, 15 Feb 2017 19:38:48 +0000 (11:38 -0800)]
bpo-29481: add versionadded 3.6.1 to typing.Deque docs (#108)

(cherry picked from commit 7e147f1ddb8233964ff0981e6b64fc12edac99aa)

7 years agoBackport master's README.rst to 3.6 (GH-86)
Zachary Ware [Wed, 15 Feb 2017 19:29:16 +0000 (13:29 -0600)]
Backport master's README.rst to 3.6 (GH-86)

Includes GH-2, GH-70, GH-73 (GH-79), and GH-21.

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

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

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) (#81)
Mariatta [Tue, 14 Feb 2017 14:11:48 +0000 (06:11 -0800)]
Fix some sphinx warnings (#9) (#81)

* 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 agobpo-28556: Various updates to typing (#28) (#77)
Mariatta [Tue, 14 Feb 2017 14:11:12 +0000 (06:11 -0800)]
bpo-28556: Various updates to typing (#28) (#77)

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

(cherry picked from commit b692dc8475a032740576129d0990ddc3edccab2b)

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

* 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-29438: fixed use-after-free in key sharing dict (#39)
INADA Naoki [Mon, 13 Feb 2017 00:19:05 +0000 (09:19 +0900)]
bpo-29438: fixed use-after-free in key sharing dict (#39)

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

* 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 (#22)
Mariatta [Sun, 12 Feb 2017 16:18:07 +0000 (08:18 -0800)]
bpo-29474: Improve documentation for weakref.WeakValueDictionary (#22)

There were some grammatical errors in weakref.WeakValueDictionary
documentation.

7 years agobpo-27122: Fix comment to point to correct issue number (#48)
Berker Peksag [Sun, 12 Feb 2017 16:13:31 +0000 (19:13 +0300)]
bpo-27122: Fix comment to point to correct issue number (#48)

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 ago[backport to 3.6] Support "bpo-" in Misc/NEWS (#42)
Mariatta [Sun, 12 Feb 2017 12:18:45 +0000 (04:18 -0800)]
[backport to 3.6] Support "bpo-" in Misc/NEWS (#42)

(cherry picked from commit 79ab8be05fb4ffb5c258d2ca49be5fc2d4880431)

7 years agoFix test_datetime on Windows
Victor Stinner [Fri, 10 Feb 2017 11:37:21 +0000 (12:37 +0100)]
Fix test_datetime on Windows

Issue #29100: On Windows, datetime.datetime.fromtimestamp(min_ts) fails with an
OSError in test_timestamp_limits().

7 years agoFix test_datetime on system with 32-bit time_t
Victor Stinner [Fri, 10 Feb 2017 10:45:14 +0000 (11:45 +0100)]
Fix test_datetime on system with 32-bit time_t

Issue #29100: Catch OverflowError in the new test_timestamp_limits() test.

7 years agoFix datetime.fromtimestamp(): check bounds
Victor Stinner [Fri, 10 Feb 2017 09:34:02 +0000 (10:34 +0100)]
Fix datetime.fromtimestamp(): check bounds

Issue #29100: Fix datetime.fromtimestamp() regression introduced in Python
3.6.0: check minimum and maximum years.

7 years agoMerge 3.5 (fix #29519)
Łukasz Langa [Fri, 10 Feb 2017 08:16:10 +0000 (00:16 -0800)]
Merge 3.5 (fix #29519)

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 agomassage English for -X descriptions a bit
Benjamin Peterson [Fri, 10 Feb 2017 06:31:17 +0000 (22:31 -0800)]
massage English for -X descriptions a bit

7 years agoIssue #29513: Fixed a reference leak in os.scandir() added in issue #29034.
Serhiy Storchaka [Thu, 9 Feb 2017 18:02:37 +0000 (20:02 +0200)]
Issue #29513: Fixed a reference leak in os.scandir() added in issue #29034.

7 years agoMerge issue #26355 fix from Python 3.5
Nick Coghlan [Thu, 9 Feb 2017 15:08:17 +0000 (16:08 +0100)]
Merge issue #26355 fix from Python 3.5

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: Merge from 3.5
Berker Peksag [Tue, 7 Feb 2017 08:27:48 +0000 (11:27 +0300)]
Issue #29441: Merge from 3.5

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: Merge with 3.5
Mariatta Wijaya [Tue, 7 Feb 2017 06:05:10 +0000 (22:05 -0800)]
Issue #29314: Merge with 3.5

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: merge with 3.5
Mariatta Wijaya [Tue, 7 Feb 2017 04:16:58 +0000 (20:16 -0800)]
Issue #29371: merge with 3.5

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 agoIssue #28164: Improves test on Windows 7
Steve Dower [Mon, 6 Feb 2017 22:50:17 +0000 (14:50 -0800)]
Issue #28164: Improves test on Windows 7

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

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 agoSubstitute a more readable f-string
Raymond Hettinger [Mon, 6 Feb 2017 15:15:31 +0000 (07:15 -0800)]
Substitute a more readable f-string

7 years agoFix usage of data directive
Berker Peksag [Mon, 6 Feb 2017 10:37:19 +0000 (13:37 +0300)]
Fix usage of data directive

7 years agoAdds precheck for console filename to fix Windows 7.
Steve Dower [Sun, 5 Feb 2017 01:36:47 +0000 (17:36 -0800)]
Adds precheck for console filename to fix Windows 7.

7 years agoIssue #28489: Fix comment in tokenizer.c
Berker Peksag [Sun, 5 Feb 2017 01:32:39 +0000 (04:32 +0300)]
Issue #28489: Fix comment in tokenizer.c

Patch by Ryan Gonzalez.

7 years agoUpdates test_winconsoleio to better show the source of its issues.
Steve Dower [Sun, 5 Feb 2017 00:46:34 +0000 (16:46 -0800)]
Updates test_winconsoleio to better show the source of its issues.

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

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 #29326: Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)
Steve Dower [Sat, 4 Feb 2017 23:19:29 +0000 (15:19 -0800)]
Issue #29326: Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)

7 years agoIssue #28164: Correctly handle special console filenames (patch by Eryk Sun)
Steve Dower [Sat, 4 Feb 2017 23:07:46 +0000 (15:07 -0800)]
Issue #28164: Correctly handle special console filenames (patch by Eryk Sun)

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 #29409: Implement PEP 529 for io.FileIO (Patch by Eryk Sun)
Steve Dower [Sat, 4 Feb 2017 22:38:11 +0000 (14:38 -0800)]
Issue #29409: Implement PEP 529 for io.FileIO (Patch by Eryk Sun)

7 years agoIssue #29392: Prevent crash when passing invalid arguments into msvcrt module.
Steve Dower [Sat, 4 Feb 2017 23:05:40 +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:55:16 +0000 (14:55 -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:55:40 +0000 (22:55 +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 #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 agoIssue29439: _decimal on Android requires linking with libm.
Stefan Krah [Sat, 4 Feb 2017 13:58:50 +0000 (14:58 +0100)]
Issue29439: _decimal on Android requires linking with libm.
Patch by Chi Hsuan Yen.

7 years agoIssue #27867: Silenced may-be-used-uninitialized warnings after
Serhiy Storchaka [Sat, 4 Feb 2017 09:07:17 +0000 (11:07 +0200)]
Issue #27867: Silenced may-be-used-uninitialized warnings after
using PySlice_GetIndicesEx() in debug builds.

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: Merge from 3.5
Berker Peksag [Sat, 4 Feb 2017 06:34:48 +0000 (09:34 +0300)]
Issue #29198: Merge from 3.5

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: Merge from 3.5
Berker Peksag [Sat, 4 Feb 2017 06:18:42 +0000 (09:18 +0300)]
Issue #29198: Merge from 3.5

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: merged fix from 3.5.
Vinay Sajip [Thu, 2 Feb 2017 19:26:48 +0000 (19:26 +0000)]
Fixes #29213: merged fix from 3.5.

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: Merged fix from 3.5.
Vinay Sajip [Thu, 2 Feb 2017 19:17:02 +0000 (19:17 +0000)]
Fixes #24875: Merged fix from 3.5.

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 agoMerge 3.5
Victor Stinner [Thu, 2 Feb 2017 13:18:43 +0000 (14:18 +0100)]
Merge 3.5

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 #29381: Clarify ordering of UNIX shebang line as source encoding line
Mariatta Wijaya [Thu, 2 Feb 2017 04:55:47 +0000 (20:55 -0800)]
Issue #29381: Clarify ordering of UNIX shebang line as source encoding line

7 years agoBacked out changeset 3d712292f2fa
Mariatta Wijaya [Thu, 2 Feb 2017 04:38:55 +0000 (20:38 -0800)]
Backed out changeset 3d712292f2fa