Commit graph

95380 commits

Author SHA1 Message Date
Brett Cannon
cb09f421c8 Drop the standard gcc test build on Travis (GH-853) (GH-860)
Instead have gcc be used for the coverage build so gcc is exercised in at least one place.
(cherry picked from commit ad2f9e2c8a)
2017-03-27 16:46:46 -07:00
Victor Stinner
cf57fe13b4 bpo-27425: Add .gitattributes, fix Windows tests (#844)
Mark binary files as binay in .gitattributes to not translate newline
characters in Git repositories on Windows.
2017-03-27 16:11:34 +02:00
Zachary Ware
ec3a32699e Minor test cleanup (GH-837) (GH-839)
* Remove unused test file

* Remove duplicated text in sndhdrdata README

(cherry picked from commit b8a7daf077)
2017-03-27 00:38:20 -05:00
Zachary Ware
c2492ddd7c Treat Sphinx warnings as errors (GH-832) (GH-835)
(cherry picked from commit 334e9ec938)
2017-03-26 22:54:45 -05:00
Ned Deily
8ce3085bf1 bpo-29888: Fix the link referring to the "Python download page" (GH-824) (GH-827)
(cherry picked from commit f8beb9831a)
2017-03-26 13:59:01 -04:00
Mariatta
55717b4b48 bpo-29862: Fix grammar in importlib.reload() exception (GH-809) (GH-812)
(cherry picked from commit 9f0aa4843f)
2017-03-25 03:42:38 -07:00
Serhiy Storchaka
1fc1f8d7f7 bpo-25803: Avoid incorrect errors raised by Path.mkdir(exist_ok=True) (#805) (#807)
when the OS gives priority to errors such as EACCES over EEXIST.

(cherry picked from commit af7b9ec5c8)
2017-03-24 21:46:46 +02:00
Antoine Pitrou
80cb6ed4db 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 8988945cdc)

* Fix Misc/NEWS??
2017-03-24 15:19:18 +01:00
Christophe Zeitouny
6a45811d06 faulthandler: Restore the old sigaltstack during teardown (GH-777) (GH-796)
(cherry picked from commit 20fbf8accd)
2017-03-24 04:21:37 -07:00
Mariatta
a6a856f4d8 Remove an outdated statement in execution model docs (GH-754) (GH-774)
(cherry picked from commit fad7f15606)
2017-03-22 18:55:33 -07:00
INADA Naoki
d7df9e61c8 doc: minor fix for library/profile (GH-767)
(cherry picked from commit bd3d8ba3b2)
2017-03-22 17:14:17 +09:00
Xiang Zhang
cb4beb6b89 fix function name in tabnanny documentation (GH-763) 2017-03-22 16:03:27 +08:00
Ned Deily
ed512cba78 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 554626ada7)
2017-03-21 00:35:51 -04:00
Serhiy Storchaka
4276068fe5 bpo-28876: bool of large range raises OverflowError (#699) (#735)
(cherry picked from commit e46fb86118)
2017-03-20 09:37:31 +02:00
Mariatta
7cc071c96b 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 64508780d7)
2017-03-19 20:58:34 -07:00
Serhiy Storchaka
08612ed6a9 bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. (#514) (#727)
(cherry picked from commit a5af6e1af7)
2017-03-20 00:51:16 +02:00
Serhiy Storchaka
bb67f10179 bpo-29845: Mark tests that use _testcapi as CPython-only (#711) (#726)
(cherry picked from commit 24c738a9e9)
2017-03-19 21:38:53 +02:00
Serhiy Storchaka
2c5b2c3832 bpo-29116: Fix error messages for concatenating bytes and bytearray with unsupported type. (#709) (#724)
(cherry picked from commit 6b5a9ec478)
2017-03-19 21:06:44 +02:00
Serhiy Storchaka
88b32eb7b3 bpo-28749: Fixed the documentation of the mapping codec APIs. (#487) (#715)
Added the documentation for PyUnicode_Translate().
(cherry picked from commit c85a26628c)
2017-03-19 20:26:42 +02:00
Brett Cannon
3091636f16 Drop C++ header compatibility test (#718) (#720)
The $CXX environment variable is not exported under the 'c' language on Travis.
(cherry picked from commit 77ed11552d)
2017-03-19 10:03:48 -07:00
Brett Cannon
825153bf8f 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 993d4b3440)
2017-03-17 15:41:48 -07:00
Vinay Sajip
e59af55c28 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 1b038e0738)
2017-03-17 19:54:50 +00:00
Berker Peksag
41b4a2189f bpo-16355: Clarify when inspect.getcomments() returns None (#428) (#691)
Initial patch by Vajrasky Kok.

(cherry picked from commit 3f2155ffe6)
2017-03-17 14:37:51 +03:00
Mariatta
091d90f9a4 bpo-29820: othergui.rst: Remove outdated information (GH-685) (GH-689)
(cherry picked from commit 1bb0f3762e)
2017-03-16 19:57:12 -07:00
Steve Dower
00cbb8a0fa Takes vcruntime140.dll from the correct source. (#683) 2017-03-16 10:45:41 -07:00
Berker Peksag
9a29d7577a Change assertRaises to assertRaisesRegex in test_xmlrpc (#481) (#675)
(cherry picked from commit c6b448b36d)
2017-03-15 14:13:09 +03:00
Michael Seifert
0641ada9b7 bpo-29800: Fix crashes in partial.__repr__ if the keys of partial.keywords are not strings (#649) (#672) 2017-03-15 09:42:30 +02:00
Xiang Zhang
59883bb252 ftplib.FTP.retrbinary callback gets a bytes, not a str (GH-652) (GH-658) 2017-03-13 11:06:58 +08:00
Xiang Zhang
3a8098f679 fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) (GH-655) 2017-03-13 10:36:54 +08:00
Yury Selivanov
db522dc862 bpo-29742: asyncio get_extra_info() throws exception (#525) (#646) 2017-03-12 17:06:04 -04:00
Yury Selivanov
216803d8e1 Fix wrapping into StopIteration of return values in generators and coroutines (#644) (#648) 2017-03-12 17:03:46 -04:00
Serhiy Storchaka
a16894ebf8 [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 c2cf128571)
2017-03-12 21:52:57 +02:00
Nick Coghlan
a6aac8c870 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 6a6d090612)
2017-03-12 20:03:35 +10:00
Serhiy Storchaka
f12f820ef8 bpo-29746: Update marshal docs to Python 3. (#547) (#630)
(cherry picked from commit c611a5b1d4)
2017-03-12 10:05:27 +02:00
Nick Coghlan
be31a83730 bpo-29656: Handle PR branches in 'make patchcheck' (#302) (#627)
(cherry picked from commit 482f7a274f)
2017-03-12 16:18:14 +10:00
Zachary Ware
a951c554ce Only trigger AppVeyor on code or config changes (GH-611 backport) (GH-621) 2017-03-11 15:47:13 -06:00
Mariatta
5f63884b72 tempfile.rst: Fix some typos (GH-610) (GH-619)
(cherry picked from commit d3b8f98696)
2017-03-11 10:19:37 -08:00
Xiang Zhang
ce222c8770 bpo-29770: remove outdated PYO related info (GH-590) (GH-613) 2017-03-11 14:12:29 +08:00
Mariatta
518d8fcb89 bpo-29784: Fix the reference to shutil.copy in the docs (GH-602) (GH-609)
(cherry picked from commit 70ee0cd5c2)
2017-03-10 19:36:52 -08:00
Zachary Ware
e73f9256a2 Add Appveyor (GH-324 backport) (GH-492) 2017-03-10 01:07:18 -06:00
orenmn
e2c88bdd6b bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements 2017-03-09 21:29:22 +02:00
Serhiy Storchaka
5fad493dc6 [3.5] bpo-29773: Add more cases for testing string to float conversion errors. (#587)
(cherry picked from commit 9e6ac83aca)
2017-03-09 21:02:15 +02:00
Serhiy Storchaka
952b7cb780 bpo-29768: Fixed compile-time check for expat version. (#574) (#578)
(cherry picked from commit 22e707fa04)
2017-03-09 10:52:19 +02:00
Nick Coghlan
0410bee6e6 bpo-29537: Also cover 3.5.2 in NEWS entry 2017-03-08 21:03:04 +10:00
Benjamin Peterson
312f7dfb7c Revert "bpo-29571: Use correct locale encoding in test_re (#149)" (#554) (#556)
This reverts commit ace5c0fdd9.
2017-03-07 23:56:52 -08:00
Nick Coghlan
93602e3af7 [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.
2017-03-08 16:41:01 +10:00
INADA Naoki
bef209d449 PCbuild: Add -q option to svn export (GH-538)
Without this option, AppVeyor log is too unreadable.
(cherry picked from commit 8886d5f392)
2017-03-07 17:18:33 +09:00
Mariatta
6b7bc45e33 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 6de2b7817f)
2017-03-06 09:31:00 -08:00
Steve Dower
b8b3b9b97c Fixes the upload script to purge the CDN correctly and display success output. (#466) (#496) 2017-03-05 19:58:10 -08:00
Ivan Levkivskyi
997cc69a68 Backport fix for spurious refleak failures (#482) 2017-03-05 21:19:42 +02:00