]>
granicus.if.org Git - python/log
Antoine Pitrou [Fri, 24 Mar 2017 14:19:18 +0000 (15:19 +0100)]
bpo-29861: release references to multiprocessing Pool tasks (#743) (#801)
* bpo-29861: release references to multiprocessing Pool tasks (#743)
* bpo-29861: release references to multiprocessing Pool tasks
Release references to tasks, their arguments and their results as soon
as they are finished, instead of keeping them alive until another task
arrives.
* Comments in test
(cherry picked from commit
8988945cdc27ffa86ba8c624e095b51c459f5154 )
* Fix Misc/NEWS??
Christophe Zeitouny [Fri, 24 Mar 2017 11:21:37 +0000 (04:21 -0700)]
faulthandler: Restore the old sigaltstack during teardown (GH-777) (GH-796)
(cherry picked from commit
20fbf8accd494fd15b0fc4c84928178c71ead4d1 )
Mariatta [Thu, 23 Mar 2017 01:55:33 +0000 (18:55 -0700)]
Remove an outdated statement in execution model docs (GH-754) (GH-774)
(cherry picked from commit
fad7f1560669af1766c583c7ef242c55d8c8de41 )
INADA Naoki [Wed, 22 Mar 2017 08:14:17 +0000 (17:14 +0900)]
doc: minor fix for library/profile (GH-767)
(cherry picked from commit
bd3d8ba3b22da0bad018b53a3e6610ae03c5aa49 )
Xiang Zhang [Wed, 22 Mar 2017 08:03:27 +0000 (16:03 +0800)]
fix function name in tabnanny documentation (GH-763)
Ned Deily [Tue, 21 Mar 2017 04:35:51 +0000 (00:35 -0400)]
bpo-27593: Revise git SCM build info. (#744) (#746)
Use --short form of git hash. Use output from "git describe" for tag.
Expected outputs:
1. previous hg
2. previous git
3. updated git
Release (tagged) build:
1. Python 3.7.0a0 (v3.7.0a0:
4def2a2901a5 , ...
2. Python 3.7.0a0 (v3.7.0a0^0:
05f53735c8912f8df1077e897f052571e13c3496 , ...
3. Python 3.7.0a0 (v3.7.0a0:
05f53735c8 , ...
Development build:
1. Python 3.7.0a0 (default:
41df79263a11 , ...
2. Python 3.7.0a0 (master:
05f53735c8912f8df1077e897f052571e13c3496 , ...
3. Python 3.7.0a0 (heads/master-dirty:
05f53735c8 , ...
"dirty" means the working tree has uncommitted changes.
See "git help describe" for more info.
(cherry picked from commit
554626ada769abf82a5dabe6966afa4265acb6a6 )
Serhiy Storchaka [Mon, 20 Mar 2017 07:37:31 +0000 (09:37 +0200)]
bpo-28876: bool of large range raises OverflowError (#699) (#735)
(cherry picked from commit
e46fb8611867fa3b407a813f53137929b7cb4a10 )
Mariatta [Mon, 20 Mar 2017 03:58:34 +0000 (20:58 -0700)]
bpo-29856: Fix typo in curses documentation (GH-730) (GH-732)
From Shifted Dxit -> Shifted Exit in Doc/library/curses.rst
(cherry picked from commit
64508780d72769e4c7afc67a511c057261c578f6 )
Serhiy Storchaka [Sun, 19 Mar 2017 22:51:16 +0000 (00:51 +0200)]
bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. (#514) (#727)
(cherry picked from commit
a5af6e1af77ee0f9294c5776478a9c24d9fbab94 )
Serhiy Storchaka [Sun, 19 Mar 2017 19:38:53 +0000 (21:38 +0200)]
bpo-29845: Mark tests that use _testcapi as CPython-only (#711) (#726)
(cherry picked from commit
24c738a9e91b8f46da6166663d8ce7ec18cec784 )
Serhiy Storchaka [Sun, 19 Mar 2017 19:06:44 +0000 (21:06 +0200)]
bpo-29116: Fix error messages for concatenating bytes and bytearray with unsupported type. (#709) (#724)
(cherry picked from commit
6b5a9ec4788770c652bac3bf5d5a0a3b710b82ae )
Serhiy Storchaka [Sun, 19 Mar 2017 18:26:42 +0000 (20:26 +0200)]
bpo-28749: Fixed the documentation of the mapping codec APIs. (#487) (#715)
Added the documentation for PyUnicode_Translate().
(cherry picked from commit
c85a26628ceb9624c96c3064e8b99033c026d8a3 )
Brett Cannon [Sun, 19 Mar 2017 17:03:48 +0000 (10:03 -0700)]
Drop C++ header compatibility test (#718) (#720)
The $CXX environment variable is not exported under the 'c' language on Travis.
(cherry picked from commit
77ed11552da3e01dd235b7d68988076866b1f604 )
Brett Cannon [Fri, 17 Mar 2017 22:41:48 +0000 (15:41 -0700)]
Combine the C++ header CI build into the main C build (GH-697) (GH-705)
This will eliminate one of the builds in Travis, allowing for CI overall to complete faster.
(cherry picked from commit
993d4b3440f2282976901ce66879037c4443868a )
Vinay Sajip [Fri, 17 Mar 2017 19:54:50 +0000 (19:54 +0000)]
bpo-29808: Do not fail in SysLogHandler constructor if syslog isn't available. (#695)
bpo-29808: SysLogHandler: Do not fail if initial connect to syslog failed.
(cherry picked from commit
1b038e073807ecb6fd176edaf3386a8e3205416e )
Berker Peksag [Fri, 17 Mar 2017 11:37:51 +0000 (14:37 +0300)]
bpo-16355: Clarify when inspect.getcomments() returns None (#428) (#691)
Initial patch by Vajrasky Kok.
(cherry picked from commit
3f2155ffe683080f2a1b28408fa48d43ba92f943 )
Mariatta [Fri, 17 Mar 2017 02:57:12 +0000 (19:57 -0700)]
bpo-29820: othergui.rst: Remove outdated information (GH-685) (GH-689)
(cherry picked from commit
1bb0f3762ec5104014aeed0ae6e9d64598d8fcac )
Steve Dower [Thu, 16 Mar 2017 17:45:41 +0000 (10:45 -0700)]
Takes vcruntime140.dll from the correct source. (#683)
Berker Peksag [Wed, 15 Mar 2017 11:13:09 +0000 (14:13 +0300)]
Change assertRaises to assertRaisesRegex in test_xmlrpc (#481) (#675)
(cherry picked from commit
c6b448b36d22769c684bb3276f85c1b47d15ab63 )
Michael Seifert [Wed, 15 Mar 2017 07:42:30 +0000 (08:42 +0100)]
bpo-29800: Fix crashes in partial.__repr__ if the keys of partial.keywords are not strings (#649) (#672)
Xiang Zhang [Mon, 13 Mar 2017 03:06:58 +0000 (11:06 +0800)]
ftplib.FTP.retrbinary callback gets a bytes, not a str (GH-652) (GH-658)
Xiang Zhang [Mon, 13 Mar 2017 02:36:54 +0000 (10:36 +0800)]
fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) (GH-655)
Yury Selivanov [Sun, 12 Mar 2017 21:06:04 +0000 (17:06 -0400)]
bpo-29742: asyncio get_extra_info() throws exception (#525) (#646)
Yury Selivanov [Sun, 12 Mar 2017 21:03:46 +0000 (17:03 -0400)]
Fix wrapping into StopIteration of return values in generators and coroutines (#644) (#648)
Serhiy Storchaka [Sun, 12 Mar 2017 19:52:57 +0000 (21:52 +0200)]
[3.5] bpo-8256: Fixed possible failing or crashing input() (#642)
if attributes "encoding" or "errors" of sys.stdin or sys.stdout
are not set or are not strings.
(cherry picked from commit
c2cf12857187aa147c268651f10acd6da2c9cb74 )
Nick Coghlan [Sun, 12 Mar 2017 10:03:35 +0000 (20:03 +1000)]
bpo-29798: Handle git worktree in `make patchcheck` (#629) (#634)
In git worktree directories, `.git` is a configuration
file rather than a subdirectory
(cherry picked from commit
6a6d090612dd7deaac2bc0399fad743e5e2db606 )
Serhiy Storchaka [Sun, 12 Mar 2017 08:05:27 +0000 (10:05 +0200)]
bpo-29746: Update marshal docs to Python 3. (#547) (#630)
(cherry picked from commit
c611a5b1d4fab0123bf622f06c3bfa510221dc32 )
Nick Coghlan [Sun, 12 Mar 2017 06:18:14 +0000 (16:18 +1000)]
bpo-29656: Handle PR branches in 'make patchcheck' (#302) (#627)
(cherry picked from commit
482f7a274fa52b7ba34ff308cd9acdcac9f41ba5 )
Zachary Ware [Sat, 11 Mar 2017 21:47:13 +0000 (15:47 -0600)]
Only trigger AppVeyor on code or config changes (GH-611 backport) (GH-621)
Mariatta [Sat, 11 Mar 2017 18:19:37 +0000 (10:19 -0800)]
tempfile.rst: Fix some typos (GH-610) (GH-619)
(cherry picked from commit
d3b8f98696b905367da3975f73b482bac380b51c )
Xiang Zhang [Sat, 11 Mar 2017 06:12:29 +0000 (14:12 +0800)]
bpo-29770: remove outdated PYO related info (GH-590) (GH-613)
Mariatta [Sat, 11 Mar 2017 03:36:52 +0000 (19:36 -0800)]
bpo-29784: Fix the reference to shutil.copy in the docs (GH-602) (GH-609)
(cherry picked from commit
70ee0cd5c2a3dba82cb8e0c0742c012f9134c040 )
Zachary Ware [Fri, 10 Mar 2017 07:07:18 +0000 (01:07 -0600)]
Add Appveyor (GH-324 backport) (GH-492)
orenmn [Thu, 9 Mar 2017 19:29:22 +0000 (21:29 +0200)]
bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements
Serhiy Storchaka [Thu, 9 Mar 2017 19:02:15 +0000 (21:02 +0200)]
[3.5] bpo-29773: Add more cases for testing string to float conversion errors. (#587)
(cherry picked from commit
9e6ac83acae31de2b072e665e177db9fcdf7c049 )
Serhiy Storchaka [Thu, 9 Mar 2017 08:52:19 +0000 (10:52 +0200)]
bpo-29768: Fixed compile-time check for expat version. (#574) (#578)
(cherry picked from commit
22e707fa04476710ba5cc7e2206e4ac66743931b )
Nick Coghlan [Wed, 8 Mar 2017 11:03:04 +0000 (21:03 +1000)]
bpo-29537: Also cover 3.5.2 in NEWS entry
Benjamin Peterson [Wed, 8 Mar 2017 07:56:52 +0000 (23:56 -0800)]
Revert "bpo-29571: Use correct locale encoding in test_re (#149)" (#554) (#556)
This reverts commit
ace5c0fdd9b962e6e886c29dbcea72c53f051dc4 .
Nick Coghlan [Wed, 8 Mar 2017 06:41:01 +0000 (16:41 +1000)]
[3.5] bpo-29537: Tolerate legacy invalid bytecode (#169)
bpo-27286 fixed a problem where BUILD_MAP_UNPACK_WITH_CALL could
be emitted with an incorrect oparg value, causing the eval loop
to access the wrong stack entry when attempting to read the
function name.
The associated magic number change caused significant problems when
attempting to upgrade to 3.5.3 for anyone that relies on pre-cached
bytecode remaining valid across maintenance releases.
This patch restores the ability to import legacy bytecode generated
by 3.5.0, 3.5.1 or 3.5.2, and modifies the eval loop to
avoid any harmful consequences from the potentially malformed legacy
bytecode.
Original import patch by Petr Viktorin, eval loop patch by Serhiy Storchaka,
and tests and integration by Nick Coghlan.
INADA Naoki [Tue, 7 Mar 2017 08:18:33 +0000 (17:18 +0900)]
PCbuild: Add -q option to svn export (GH-538)
Without this option, AppVeyor log is too unreadable.
(cherry picked from commit
8886d5f39286dffa7d9337857b151e7fb4af23fd )
Mariatta [Mon, 6 Mar 2017 17:31:00 +0000 (09:31 -0800)]
bpo-29557: Remove ambiguous line in binhex docs (GH-90) (GH-474)
"appears to not work in all cases" does not inspire confidence in this
module. I can find no context for what bug this was referencing so it
should be removed.
(cherry picked from commit
6de2b7817fa9403e81dc38f13f3690f0bbf3d064 )
Steve Dower [Mon, 6 Mar 2017 03:58:10 +0000 (19:58 -0800)]
Fixes the upload script to purge the CDN correctly and display success output. (#466) (#496)
Ivan Levkivskyi [Sun, 5 Mar 2017 19:19:42 +0000 (20:19 +0100)]
Backport fix for spurious refleak failures (#482)
Petr Motejlek [Sun, 5 Mar 2017 16:14:26 +0000 (17:14 +0100)]
bpo-29615: backport to 3.5 (#479)
Mariatta [Sun, 5 Mar 2017 00:44:30 +0000 (16:44 -0800)]
distutils docs: Fix a typo (GH-470) (#472)
(cherry picked from commit
2a7bddaab7d6e1f7b243cdbb4fa6f6c8e266b18d )
Mariatta [Sat, 4 Mar 2017 23:40:36 +0000 (15:40 -0800)]
Correct spelling "instanciate" (GH-465) (GH-468)
(cherry picked from commit
6abaed0ddaa1dd9be727ede09f6cd801c467c2ec )
Ned Deily [Sat, 4 Mar 2017 06:34:19 +0000 (01:34 -0500)]
[3.5] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454) (#455)
* bpo-27593: Get SCM build info from git instead of hg. (#446)
sys.version and the platform module python_build(),
python_branch(), and python_revision() functions now use
git information rather than hg when building from a repo.
Based on original patches by Brett Cannon and Steve Dower.
(cherry picked from commit
5c4b0d063aba0a68c325073f5f312a2c9f40d178 )
(cherry picked from commit
95c50e5aed9e5683676e18349dd94b11901a66b3 )
Steve Dower [Sat, 4 Mar 2017 05:58:48 +0000 (21:58 -0800)]
Fixes git command (#451) (#453)
Steve Dower [Sat, 4 Mar 2017 05:32:23 +0000 (21:32 -0800)]
bpo-27593: Updates Windows build to use information from git (#262) (#449)
* bpo-27593: Updates Windows build to use information from git
Brett Cannon [Fri, 3 Mar 2017 22:47:22 +0000 (14:47 -0800)]
bpo-26213: Document _UNPACK bytecodes and BUILD_MAP changes (GH-441)
(cherry picked from commit
0705f66eb369aa6a6cdb699e24ff61e1ab2e0c56 )
Zachary Ware [Fri, 3 Mar 2017 22:07:37 +0000 (16:07 -0600)]
bpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-443)
Mariatta [Fri, 3 Mar 2017 21:23:55 +0000 (13:23 -0800)]
bpo-29709: Improve Boolean Operations documentation (#433) (#436)
(cherry picked from commit
8eb531d9db0861e14222445fcaebe1a373bba170 )
Seth M. Larson [Fri, 3 Mar 2017 04:21:18 +0000 (22:21 -0600)]
bpo-29704: Fix asyncio.SubprocessStreamProtocol closing (#405)
Berker Peksag [Fri, 3 Mar 2017 15:07:01 +0000 (18:07 +0300)]
Add Python version since deprecation in base64 methods. (#33) (#430)
Allow developers to not have to either test on N Python versions or
looked through multiple versions of the docs to know whether they can
easily update.
(cherry picked from commit
c643a967dd7d33ccefa5b61b38caf40b448057ce )
Mariatta [Fri, 3 Mar 2017 05:56:28 +0000 (21:56 -0800)]
getpass: update docstrings (GH-49) (GH-420)
(cherry picked from commit
baf7bb30a02aabde260143136bdf5b3738a1d409 )
Mariatta [Fri, 3 Mar 2017 05:50:46 +0000 (21:50 -0800)]
bpo-29026: Clarify documentation of time.time (GH-34) (GH-418)
(cherry picked from commit
23557d59b819f57800ddef0b1373acef8e024670 )
Yury Selivanov [Fri, 3 Mar 2017 04:57:33 +0000 (23:57 -0500)]
asyncio: Optimize _get_running_loop() to call getpid() only when there's a loop
Yury Selivanov [Fri, 3 Mar 2017 02:40:57 +0000 (21:40 -0500)]
bpo-29703: asyncio: Fix creating new event loops in child processes. (#411)
Donald Stufft [Thu, 2 Mar 2017 17:32:30 +0000 (12:32 -0500)]
bpo-29697: Don't use OpenSSL <1.0.2 fallback on 1.1+ (GH-398)
Donald Stufft [Wed, 1 Mar 2017 11:13:38 +0000 (06:13 -0500)]
Disable mention-bot for maintenance branches (GH-369)
Berker Peksag [Mon, 27 Feb 2017 18:25:29 +0000 (21:25 +0300)]
bpo-29655: Fixed possible reference leaks in `import *`. (#301) (#349)
Patch by Matthias Bussonnier.
(cherry picked from commit
160edb43571311a3785785c1dfa784afc52d87be )
Martijn Pieters [Mon, 27 Feb 2017 16:07:27 +0000 (16:07 +0000)]
bpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting operations (#94)
Mariatta [Mon, 27 Feb 2017 14:01:59 +0000 (06:01 -0800)]
Asyncio documentation: remove `self` from method signatures (GH-334) (GH-336)
(cherry picked from commit
091b84f23a2ff57e8320ebf6fdf889af39096ab9 )
Xiang Zhang [Mon, 27 Feb 2017 03:46:37 +0000 (11:46 +0800)]
bpo-29376: Fix assertion error in threading._DummyThread.is_alive() (GH-329)
INADA Naoki [Sun, 26 Feb 2017 19:35:00 +0000 (04:35 +0900)]
bpo-29110: Fix file object leak in `aifc.open` (GH-311)
(cherry picked from commit
03f68b6 ) (GH-162)
(cherry picked from commit
5dc33ee ) (GH-293)
Mariatta [Sun, 26 Feb 2017 15:44:36 +0000 (07:44 -0800)]
bpo-22594: Add a link to the regex module in re documentation (GH-241) (GH-317)
(cherry picked from commit
ed6795e46f7653e23b862efad240a93453e7df97 )
Mariatta [Sun, 26 Feb 2017 15:40:03 +0000 (07:40 -0800)]
bpo-29648: import.rst: Add reference to create_module() (GH-290) (GH-315)
(cherry picked from commit
46ce7599af82a929506baeaaee5c149970440c4c )
Berker Peksag [Sun, 26 Feb 2017 13:07:41 +0000 (16:07 +0300)]
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
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 )
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
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 )
Barry Warsaw [Fri, 24 Feb 2017 21:15:17 +0000 (16:15 -0500)]
bpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#279)
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)
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 )
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 )
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)
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 )
Berker Peksag [Wed, 22 Feb 2017 05:02:17 +0000 (08:02 +0300)]
Add .codecov.yml (#210) (#229)
(cherry picked from commit
e9c0e5559bbadb164d7c57b5a47b5544746dcb89 )
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 )
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 )
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 )
INADA Naoki [Mon, 20 Feb 2017 11:29:30 +0000 (20:29 +0900)]
bpo-24274: fix comment in dictobject.c (GH-194)
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)
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 )
INADA Naoki [Mon, 20 Feb 2017 00:46:24 +0000 (09:46 +0900)]
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-179)
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)
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.
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 )
Mariatta [Wed, 15 Feb 2017 23:14:38 +0000 (15:14 -0800)]
bpo-29521 update Misc/ACKS (#111)
(cherry picked from commit
6420088b924a23e5de40be6623d2a80b12f71d97 )
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 )
INADA Naoki [Wed, 15 Feb 2017 09:59:45 +0000 (18:59 +0900)]
Update URL of Mersenne Twister Home Page (#20) (#114)
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 )
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 )
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 )
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 )
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
INADA Naoki [Mon, 13 Feb 2017 00:16:20 +0000 (09:16 +0900)]
bpo-29438: Fixed use-after-free in key sharing dict (#40)
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
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.