]>
granicus.if.org Git - python/log
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 )
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)
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 )
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 )
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.
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)
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 )
INADA Naoki [Mon, 20 Feb 2017 00:46:46 +0000 (09:46 +0900)]
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-178)
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 )
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)
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.
Steve Dower [Sun, 19 Feb 2017 00:12:06 +0000 (16:12 -0800)]
bpo-29579: Removes readme.txt from the installer. (#161)
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 )
Mariatta [Wed, 15 Feb 2017 23:14:41 +0000 (15:14 -0800)]
bpo-29521 update Misc/ACKS (#110)
(cherry picked from commit
6420088b924a23e5de40be6623d2a80b12f71d97 )
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 )
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.
INADA Naoki [Wed, 15 Feb 2017 09:59:47 +0000 (18:59 +0900)]
Update URL of Mersenne Twister Home Page (#20) (#115)
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 )
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 )
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 )
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 )
INADA Naoki [Mon, 13 Feb 2017 00:19:05 +0000 (09:19 +0900)]
bpo-29438: fixed use-after-free in key sharing dict (#39)
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
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.
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 )
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 )
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().
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.
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.
Łukasz Langa [Fri, 10 Feb 2017 08:16:10 +0000 (00:16 -0800)]
Merge 3.5 (fix #29519)
Łukasz Langa [Fri, 10 Feb 2017 08:14:55 +0000 (00:14 -0800)]
Fix #29519: weakref spewing exceptions during interp finalization
Benjamin Peterson [Fri, 10 Feb 2017 06:31:17 +0000 (22:31 -0800)]
massage English for -X descriptions a bit
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.
Nick Coghlan [Thu, 9 Feb 2017 15:08:17 +0000 (16:08 +0100)]
Merge issue #26355 fix from Python 3.5
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:48 +0000 (11:27 +0300)]
Issue #29441: Merge from 3.5
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:05:10 +0000 (22:05 -0800)]
Issue #29314: Merge with 3.5
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:16:58 +0000 (20:16 -0800)]
Issue #29371: merge with 3.5
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:50:17 +0000 (14:50 -0800)]
Issue #28164: Improves test on Windows 7
Steve Dower [Mon, 6 Feb 2017 22:12:19 +0000 (14:12 -0800)]
Includes 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.
Raymond Hettinger [Mon, 6 Feb 2017 15:15:31 +0000 (07:15 -0800)]
Substitute a more readable f-string
Berker Peksag [Mon, 6 Feb 2017 10:37:19 +0000 (13:37 +0300)]
Fix usage of data directive
Steve Dower [Sun, 5 Feb 2017 01:36:47 +0000 (17:36 -0800)]
Adds precheck for console filename to fix Windows 7.
Berker Peksag [Sun, 5 Feb 2017 01:32:39 +0000 (04:32 +0300)]
Issue #28489: Fix comment in tokenizer.c
Patch by Ryan Gonzalez.
Steve Dower [Sun, 5 Feb 2017 00:46:34 +0000 (16:46 -0800)]
Updates test_winconsoleio to better show the source of its issues.
Steve Dower [Sat, 4 Feb 2017 23:39:38 +0000 (15:39 -0800)]
Issue #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].
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)
Steve Dower [Sat, 4 Feb 2017 23:07:46 +0000 (15:07 -0800)]
Issue #28164: Correctly handle special console filenames (patch by Eryk Sun)
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
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)
Steve Dower [Sat, 4 Feb 2017 23:05:40 +0000 (15:05 -0800)]
Issue #29392: Prevent crash when passing invalid arguments into msvcrt module.
Steve Dower [Sat, 4 Feb 2017 22:55:16 +0000 (14:55 -0800)]
Issue #29416: Prevent infinite loop in pathlib.Path.mkdir
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.
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.
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.
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.
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:48 +0000 (09:34 +0300)]
Issue #29198: Merge from 3.5
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:42 +0000 (09:18 +0300)]
Issue #29198: Merge from 3.5
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:26:48 +0000 (19:26 +0000)]
Fixes #29213: merged fix from 3.5.
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:17:02 +0000 (19:17 +0000)]
Fixes #24875: Merged fix from 3.5.
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:43 +0000 (14:18 +0100)]
Merge 3.5
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.
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
Mariatta Wijaya [Thu, 2 Feb 2017 04:38:55 +0000 (20:38 -0800)]
Backed out changeset
3d712292f2fa
Mariatta Wijaya [Thu, 2 Feb 2017 04:21:22 +0000 (20:21 -0800)]
Issue #29381: Clarify ordering of UNIX shebang line as source encoding line
Berker Peksag [Wed, 1 Feb 2017 19:37:49 +0000 (22:37 +0300)]
Issue #29407: Merge from 3.5
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:54 +0000 (13:01 +0100)]
Merge 3.5
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:10 +0000 (23:31 -0800)]
merge 3.5 (#29398)
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:51:21 +0000 (13:51 +0100)]
merge 3.5
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:35:26 +0000 (13:35 +0100)]
merge 3.5
doko@ubuntu.com [Tue, 31 Jan 2017 12:34:58 +0000 (13:34 +0100)]
add Modules/zlib/zlib.map to .hgeol
Berker Peksag [Mon, 30 Jan 2017 10:55:49 +0000 (13:55 +0300)]
Issue #29283: Delete accidentally added Lib/site-packages/README
It was renamed to README.txt in
d90a65014c42 and it was
back by a merge commit accidentally.
Martin Panter [Sun, 29 Jan 2017 23:36:39 +0000 (23:36 +0000)]
Issues #11670: Merge configparser doc from 3.5
Martin Panter [Sun, 29 Jan 2017 23:34:52 +0000 (23:34 +0000)]
Issues #29349: Merge Py 2.6+ compatibility from 3.5
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:09:43 +0000 (10:09 +0000)]
Issues #29349: Merge Py 2 fix 3.5
Martin Panter [Sun, 29 Jan 2017 10:07:26 +0000 (10:07 +0000)]
Issues #12067: Merge hash recommendation from 3.5
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
Raymond Hettinger [Sun, 29 Jan 2017 04:16:40 +0000 (20:16 -0800)]
Issue 29310: Document typing.NamedTuple default argument syntax
Vinay Sajip [Fri, 27 Jan 2017 13:04:33 +0000 (13:04 +0000)]
Fixes #28784: Clarified use of shlex.shlex with punctuation_chars.
Vinay Sajip [Fri, 27 Jan 2017 12:42:45 +0000 (12:42 +0000)]
Fixes #29308: Merged fix from 3.5.
Vinay Sajip [Fri, 27 Jan 2017 12:41:27 +0000 (12:41 +0000)]
Fixes #29308: Respect VIRTUAL_ENV_DISABLE_PROMPT in Activate.ps1.
Benjamin Peterson [Thu, 26 Jan 2017 07:35:40 +0000 (23:35 -0800)]
remove comment about updating the parser module; we do not need to do that anymore (#26526)