summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix unittest.mock._Call: don't ignore name (#307)Berker Peksag2017-02-263-2/+9
| | | | | | | | | | | | | 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
* [3.5] Fix small typos in introduction and datastructures of tutorial ↵Mariatta2017-02-262-29/+32
| | | | | | | (GH-272) (GH-299) (cherry picked from commit 5bd5b9d81322d2cb6edd5f3804a347f8b2e65a15) (cherry picked from commit 8c5e190d360b9f1a08c9fff249ae80d9c18007d5) (cherry picked from commit 53c1892dc3de1de612b1cf95dc7bf09f82c1babf)
* [3.5] bpo-28929: Add to Misc/NEWS (GH-285)Mariatta2017-02-261-0/+2
| | | | mention bpo-28929 in the Documentation section of What's New in Python 3.5.4 release candidate 1
* [3.5] bpo-28556: Update to typing: treat subscripted generics as proxies ↵Mariatta2017-02-252-0/+45
| | | | | | | (GH-265) (GH-269) (cherry picked from commit abb3b8ad94d699c8560d94ee9bac9c917b382abe) (cherry picked from commit 365cb5bb9069273e6970c9d5d17ee2fe5003e7ac)
* bpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#279)Barry Warsaw2017-02-242-0/+9
|
* bpo-29624: Adds purge step and layout test after uploading files. (#258) (#263)Steve Dower2017-02-232-10/+53
|
* bpo-28911: Clarify the behaviour of assert_called_once_with. (#254)Arne de Laat2017-02-232-7/+8
| | | (cherry picked from commit 9d56b34af2efc4e266bf3ae62da5cd2e422a42be)
* bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122) (#244)Berker Peksag2017-02-232-13/+10
| | | | | | | | | | | | | | | | 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)
* [3.5] bpo-29532: Altering a kwarg dictionary passed to functools.partial() ↵Serhiy Storchaka2017-02-223-1/+16
| | | | no longer affects a partial object after creation. (#222)
* Fixed bpo-29565: Corrected ctypes passing of large structs by value on ↵Vinay Sajip2017-02-224-0/+57
| | | | | | Windows AMD64. (#168) (#221) Fixed bpo-29565: Corrected ctypes passing of large structs by value. (cherry picked from commit a86339b83fbd0932e0529a3c91935e997a234582)
* Add .codecov.yml (#210) (#229)Berker Peksag2017-02-221-0/+35
| | | (cherry picked from commit e9c0e5559bbadb164d7c57b5a47b5544746dcb89)
* bpo-29554: Improve docs for pstat module and profile. (#88) (#228)Berker Peksag2017-02-222-8/+12
| | | | | | | | 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)
* doc: fix compile error on "shoddy" example extension (GH-217)INADA Naoki2017-02-212-1/+2
| | | (cherry picked from commit fb8fe72fc593438f6a0b934c6ff2d9c4aa28673d)
* bpo-29602: fix signed zero handling in complex constructor. (#203) (#205)Mark Dickinson2017-02-203-3/+30
| | | | | | | * Fix incorrect handling of signed zeros for complex-related classes. * Add Misc/NEWS entry. (cherry picked from commit 112ec38c15b388fe025ccb85369a584d218b1160)
* bpo-24274: fix comment in dictobject.c (GH-194)INADA Naoki2017-02-201-1/+1
|
* bpo-29347: Fix possibly dereferencing undefined pointers when creating ↵Xiang Zhang2017-02-202-0/+5
| | | | weakref objects (#128) (#188)
* Change some mercurial/ hg.python.org references. (#8) (#184)Senthil Kumaran2017-02-204-6/+6
| | | (cherry picked from commit b2ee40ed9c9041dcff9c898aa19aacf9ec60308a)
* bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-179)INADA Naoki2017-02-201-2/+9
|
* [backport to 3.5] bpo-29529: Add .travis.yml to 3.5 branch (#26)INADA Naoki2017-02-191-0/+104
| | | | | | | | | | | | | | | | | | | | | * 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)
* [3.5] bpo-29571: Use correct locale encoding in test_re (#149) (#154)Nick Coghlan2017-02-192-1/+9
| | | | | | | ``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.
* Backport35 doc fixes: PR#68 and PR#124 (#125) (#126)Victor Stinner2017-02-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | | * 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)
* bpo-29521 update Misc/ACKS (#111)Mariatta2017-02-151-0/+1
| | | (cherry picked from commit 6420088b924a23e5de40be6623d2a80b12f71d97)
* [cherry-pick for 3.5] bpo-29481: add versionadded 3.5.4 to typing.Deque docs ↵Mariatta2017-02-151-0/+2
| | | | | | | (#109) (cherry picked from commit 7e147f1ddb8233964ff0981e6b64fc12edac99aa)
* Update URL of Mersenne Twister Home Page (#20) (#114)INADA Naoki2017-02-151-3/+3
|
* bpo-29521 Fix two minor documentation build warnings (#41) (#84)Mariatta2017-02-142-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | 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)
* Fix some sphinx warnings (#9) (#82)Mariatta2017-02-142-16/+16
| | | | | | | | * 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)
* A few README tweaks (#73) (#80)Mariatta2017-02-131-2/+11
| | | | | | | | | * 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)
* bpo-28556: Various updates to typing (#28) (#78)Mariatta2017-02-134-58/+338
| | | | | | | | | | | | | | | | | | 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)
* Support "bpo-" in Misc/NEWS (#1) (#43)Mariatta2017-02-131-4/+4
| | | | | | | Change the url to 3.5 (cherry picked from commit 79ab8be05fb4ffb5c258d2ca49be5fc2d4880431) Contributed by Brett Cannon
* bpo-29438: Fixed use-after-free in key sharing dict (#40)INADA Naoki2017-02-132-6/+6
|
* [backport to 3.5] bpo-28929: Link the documentation to its source file on ↵Mariatta2017-02-121-2/+5
| | | | | | | | | | | | | 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
* bpo-29474: Improve documentation for weakref.WeakValueDictionary (#23)Mariatta2017-02-121-5/+5
| | | | There were some grammatical errors in weakref.WeakValueDictionary documentation.
* bpo-27122: Fix comment to point to correct issue number (#50)Berker Peksag2017-02-121-1/+1
| | | | | | | | 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)
* Fix #29519: weakref spewing exceptions during interp finalizationŁukasz Langa2017-02-102-2/+5
|
* Issue #26355: Specify canonical URLs in docs pagesNick Coghlan2017-02-093-0/+5
| | | | | | | Add canonical header link on each page to corresponding major version of the documentation. Patch by Matthias Bussonnier.
* Issue #29441: Update examples to use async and await keywords in ↵Berker Peksag2017-02-071-17/+4
| | | | asyncio-task.rst
* Issue #29314: Set the stacklevel to two in asyncio.async() Deprecation WarningMariatta Wijaya2017-02-071-1/+2
|
* Issue #29371: Clarify bitwise OR operation in doctest option flags.Mariatta Wijaya2017-02-071-11/+13
|
* Includes ensurepip and venv packages in nuget package.Steve Dower2017-02-061-2/+11
|
* Issue #29319: Prevent RunMainFromImporter overwriting sys.path[0].Steve Dower2017-02-042-2/+14
|
* Issue #29392: Prevent crash when passing invalid arguments into msvcrt module.Steve Dower2017-02-042-12/+51
|
* Issue #29416: Prevent infinite loop in pathlib.Path.mkdirSteve Dower2017-02-043-1/+14
|
* Issue #29444: Fixed out-of-bounds buffer access in the group() method ofSerhiy Storchaka2017-02-043-2/+20
| | | | the match object. Based on patch by WGH.
* Issue #27867: Silenced may-be-used-uninitialized warnings afterSerhiy Storchaka2017-02-041-2/+3
| | | | using PySlice_GetIndicesEx() in debug builds.
* Issue #29198: Fix indentation and markup in typing.rstBerker Peksag2017-02-041-2/+2
| | | | Patch by Jelle Zijlstra.
* Issue #29198: Document typing.AsyncGeneratorBerker Peksag2017-02-041-0/+33
| | | | Patch by Jelle Zijlstra.
* Fixes #29213: regularised EOLs of venv scripts.Vinay Sajip2017-02-022-7/+5
|
* Fixes #24875: pip can now be installed in a venv with --system-site-packages.Vinay Sajip2017-02-022-9/+25
|
* Issue #29300: test_struct tests unpack_from() with keywordsVictor Stinner2017-02-021-0/+4
| | | | | Add an unit test on the _struct.Struct.unpack_from() method to test passing arguments as keywords.
* Issue #29407: Remove redundant ensure_future() calls in factorial exampleBerker Peksag2017-02-011-8/+7
|