]>
granicus.if.org Git - python/log
Serhiy Storchaka [Fri, 21 Apr 2017 07:55:54 +0000 (10:55 +0300)]
[3.5] bpo-29802: Fix the cleaning up issue in PyUnicode_FSDecoder(). (GH-1217) (#1219)
(cherry picked from commit
7a113a0 )
Mariatta [Fri, 21 Apr 2017 03:56:03 +0000 (20:56 -0700)]
[3.5] Add missing .gitignore entries for VS2015 IntelliSense DB (GH-1223) (#1226)
(cherry picked from commit
8e675286a92f33837cfffac5914b5175dac5d573 )
Mariatta [Thu, 20 Apr 2017 14:12:50 +0000 (07:12 -0700)]
[3.5] bpo-30109: Fix reindent.py (GH-1207) (GH-1209)
Skip the file if it has bad encoding.
(cherry picked from commit
58f3c9dc8f5626abe09ac9738c34f6ba99ce2972 )
Berker Peksag [Thu, 20 Apr 2017 04:40:05 +0000 (07:40 +0300)]
Remove redundant comma in argparse HOWTO (GH-1141)
Reported by Sean Canavan on docs@p.o.
(cherry picked from commit
8526fb74edf5ac9ca175b7cdcb0d82bb8780d2cf )
Berker Peksag [Thu, 20 Apr 2017 04:37:18 +0000 (07:37 +0300)]
bpo-30078: Add an example of passing a path to unittest (GH-1178)
(cherry picked from commit
f7e62cf8adfb8ab6a6a870903defe8ff218a0383 )
cocoatomo [Thu, 20 Apr 2017 03:56:05 +0000 (12:56 +0900)]
bpo-19225: Remove duplicated description for standard warning categories (GH-1068)
Serhiy Storchaka [Wed, 19 Apr 2017 21:51:05 +0000 (00:51 +0300)]
[3.5] bpo-30065: Fixed arguments validation in _posixsubprocess.fork_exec(). (GH-1110) (#1190)
(cherry picked from commit
66bffd1 )
Serhiy Storchaka [Wed, 19 Apr 2017 20:44:43 +0000 (23:44 +0300)]
[3.5] bpo-30070: Fixed leaks and crashes in errors handling in the parser module. (GH-1131). (#1185)
(cherry picked from commit
a79f4c219531c05fc8f670c1e4bbf12c081935d3 )
Serhiy Storchaka [Wed, 19 Apr 2017 19:09:56 +0000 (22:09 +0300)]
[3.5] bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (GH-1096) (GH-1180) (#1182)
raised an error.
(cherry picked from commit
bf623ae8843dc30b28c574bec8d29fc14be59d86 )
(cherry picked from commit
680fea4067537a9b9c79aadd44a3a19e83cd2dbf )
Serhiy Storchaka [Sun, 16 Apr 2017 09:03:51 +0000 (12:03 +0300)]
[3.5] bpo-29943: Do not replace the function PySlice_GetIndicesEx() with a macro (#1049)
if Py_LIMITED_API is not defined.
Xiang Zhang [Sat, 15 Apr 2017 05:28:08 +0000 (13:28 +0800)]
bpo-30068: add missing iter(self) in _io._IOBase.readlines when hint is present (#1130) (#1151)
Michael Seifert [Sat, 15 Apr 2017 02:05:00 +0000 (04:05 +0200)]
[3.5] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1148)
Mariatta [Sat, 15 Apr 2017 01:36:11 +0000 (18:36 -0700)]
[3.5] bpo-29738: Fix memory leak in _get_crl_dp (GH-526) (GH-1143)
* Remove conditional on free of `dps`, since `dps` is now allocated for
all versions of OpenSSL
* Remove call to `x509_check_ca` since it was only used to cache
the `crldp` field of the certificate
CRL_DIST_POINTS_free is available in all supported versions of OpenSSL
(recent 0.9.8+) and LibreSSL.
(cherry picked from commit
2849cc34a8db93d448a62d69c462402347b50dcb )
Jack McCracken [Fri, 14 Apr 2017 14:45:17 +0000 (10:45 -0400)]
Fix misplaced positional argument in OS X support library (#1135)
Antoine Pitrou [Fri, 14 Apr 2017 11:45:27 +0000 (13:45 +0200)]
Relax test timing (bpo-29861) to avoid sporadic failures (#1120) (#1133)
(cherry picked from commit
685cdb9acc3fca04a9897d88b89771ddfd50e772 )
Mariatta [Fri, 14 Apr 2017 02:26:24 +0000 (19:26 -0700)]
[3.5] bpo-29694: race condition in pathlib mkdir with flags parents=True (GH-1089). (GH-1127)
(cherry picked from commit
22a594a0047d7706537ff2ac676cdc0f1dcb329c )
Mariatta [Thu, 13 Apr 2017 23:38:17 +0000 (16:38 -0700)]
[3.5] Fix a typo in Doc/library/functions.rst (GH-1117) (GH-1124)
Replace `For object's ... ` with `For objects ...`
(cherry picked from commit
873ef20d0007b4b120933473e6252d2309a70102 )
Serhiy Storchaka [Thu, 13 Apr 2017 16:41:26 +0000 (19:41 +0300)]
bpo-30021: Add examples for re.escape(). (#1048) (#1116)
And fix the parameter name.
(cherry picked from commit
8fc7bc2b7631ee819ee614e47b6f44bacebe1574 )
Berker Peksag [Thu, 13 Apr 2017 13:16:30 +0000 (16:16 +0300)]
bpo-29791: Clarify that flush is keyword-only argument (GH-1093)
Reported by Lucio Ricardo Montero Valenzuela.
(cherry picked from commit
61b9ac93712df8092a25223cd56fa6528359792b )
Mariatta [Thu, 13 Apr 2017 10:14:53 +0000 (03:14 -0700)]
[3.5] bpo-29692: contextlib.contextmanager may incorrectly unchain RuntimeError (GH-949) (#1107)
contextlib._GeneratorContextManager.__exit__ includes a special case to deal with
PEP 479 RuntimeErrors created when `StopIteration` is thrown into the context
manager body.
Previously this check was too permissive, and undid one level of chaining on *all*
RuntimeError instances, not just those that wrapped a StopIteration instance.
(cherry picked from commit
00c75e9a45ff0366c185e9e8a2e23af5a35481b0 )
Mariatta [Thu, 13 Apr 2017 04:05:25 +0000 (21:05 -0700)]
[3.5] Clarify exception handler scope in contextlib (GH-1104)
Moved explicit raise from inside try to try...else.
(cherry picked from commit
680e20beee8bbce9f857b8e7795009191f98b0ba )
Mariatta [Thu, 13 Apr 2017 03:46:07 +0000 (20:46 -0700)]
[3.5] Remove superfluous comment in urllib.error. (GH-1076) (GH-1102)
(cherry picked from commit
6fab78e9027f9ebd6414995580781b480433e595 )
Xiang Zhang [Thu, 13 Apr 2017 03:37:38 +0000 (11:37 +0800)]
bpo-26985: Add missing info of code object in inspect documentation (GH-1090) (GH-1100)
Senthil Kumaran [Mon, 10 Apr 2017 03:38:00 +0000 (20:38 -0700)]
Remove OSError related comment in urllib.request. (#1071)
(cherry picked from commit
6dfcc81f6b1c82a71a1c876e14424fb8b3573447 )
Mariatta [Sun, 9 Apr 2017 22:16:14 +0000 (15:16 -0700)]
[3.5] Correct typo in configparser.rst (GH-1012) (GH-1027)
(cherry picked from commit
01fa9ae5460b00bf1ced500c797176ebd3fb060d )
Senthil Kumaran [Sun, 9 Apr 2017 17:14:48 +0000 (10:14 -0700)]
Remove invalid comment in urllib.request.(#1056)
(cherry picked from commit
a2a9ddd923a849124bdd1c484f70f02df6fde0e9 )
Nick Coghlan [Sun, 9 Apr 2017 10:57:15 +0000 (20:57 +1000)]
bpo-29506: Clarify deep copy note in copy module
The reference to administrative data was confusing to readers,
so this simplifies the note to explain that deep copying may copy
more then you intended, such as data that you expected to be
shared between copies.
(cherry picked from commit
19e04942562a980ad2519f6ff79c455a7472783b )
Nick Coghlan [Sun, 9 Apr 2017 09:22:50 +0000 (19:22 +1000)]
bpo-29798: Handle git worktree in patchcheck
The original attempted fix missed an `isdir()` call in
`get_base_branch()`.
(cherry picked from commit
2abfdf5a81383d3b1ed6b7321903a9a168c373c5 )
Serhiy Storchaka [Sat, 8 Apr 2017 08:26:03 +0000 (11:26 +0300)]
bpo-29998: Pickling and copying ImportError now preserves name and path (#1010) (#1043)
attributes.
(cherry picked from commit
b785396ab451b0c9d6ae9ee5a9e56c810209a6cb )
Serhiy Storchaka [Sat, 8 Apr 2017 08:18:30 +0000 (11:18 +0300)]
Expand the PySlice_GetIndicesEx macro. (#1023) (#1045)
(cherry picked from commit
b879fe82e7e5c3f7673c9a7fa4aad42bd05445d8 )
Vinay Sajip [Fri, 7 Apr 2017 22:24:51 +0000 (23:24 +0100)]
Closes bpo-29939: suppress compiler warnings in _ctypes_test (#1039)
Changed test code to suppress a compiler warning, while taking care to avoid the code being optimized out by the compiler.
(cherry picked from commit
164d30eb1e66575dafee6af4fca4cbf52c7fbe6a )
Barry Warsaw [Fri, 7 Apr 2017 20:50:20 +0000 (16:50 -0400)]
Fix a minor typo. (#1032) (#1036)
(cherry picked from commit
dd9a0a14c89d57e43898d4b866b8c161e4ff8506 )
Senthil Kumaran [Fri, 7 Apr 2017 07:56:41 +0000 (00:56 -0700)]
Remove Invalid comment in test_urllib2.py (#1021)
(cherry picked from commit
fd0cd07a5a3c964c084f4efc5bbcb89dd2193ee6 )
cocoatomo [Thu, 6 Apr 2017 14:00:15 +0000 (23:00 +0900)]
[3.5] bpo-19225: Lack of c api exceptions doc (#965)
* Keep the c-api exception doc up-to-date
cherry-pick'ed from
ec1f5df ..
e3d6db3 and fix conflict
Senthil Kumaran [Wed, 5 Apr 2017 13:52:53 +0000 (06:52 -0700)]
correct parse_qs and parse_qsl test case descriptions. (#968) (#998)
(cherry picked from commit
257b980b316a5206ecf6c23b958e2b7c4df4f3de )
Serhiy Storchaka [Wed, 5 Apr 2017 10:42:37 +0000 (13:42 +0300)]
Miscellaneous minor fixes of Misc/NEWS formatting. (#1002) (#1006)
(cherry picked from commit
a0157b5f11e621f2196af4e918b9f07688a6cd1c )
Senthil Kumaran [Tue, 4 Apr 2017 05:28:23 +0000 (22:28 -0700)]
bpo-29725: DOC: add text for arraysize in sqlite3.Cursor (#947) (#986)
(cherry picked from commit
02e12138000da834f23719521a011fa93763384d )
Senthil Kumaran [Sun, 2 Apr 2017 08:37:04 +0000 (01:37 -0700)]
Minor spell fix and formatting fixes in urllib tests. (#959) (#960)
(cherry picked from commit
efbd4ea65dbb9f87b1afeec6a760802756badee5 )
T. Wouters [Sun, 2 Apr 2017 03:20:24 +0000 (20:20 -0700)]
bpo-29941: Assert fixes (#886) (#956)
Make a non-Py_DEBUG, asserts-enabled build of CPython possible. This means
making sure helper functions are defined when NDEBUG is not defined, not
just when Py_DEBUG is defined.
Also fix a division-by-zero in obmalloc.c that went unnoticed because in
Py_DEBUG mode, elsize is never zero.
(cherry picked from commit
a00c3fd12d421e41b769debd7df717d17b0deed5 and
06bb4873d6a9ac303701d08a851d6cd9a51e02a3 )
Senthil Kumaran [Sun, 2 Apr 2017 03:00:41 +0000 (20:00 -0700)]
bpo-26947: DOC: clarify wording on hashable in glossary (#948) (#958)
(cherry picked from commit
64c887ab3a400cf91bde4f0c5ef69eacc88bc5e1 )
INADA Naoki [Fri, 31 Mar 2017 06:43:35 +0000 (15:43 +0900)]
bpo-29952: Use usual terminology of dict (GH-923)
s/keys and elements/keys and values/
(cherry picked from commit
cdcac039fb447f2ab04efcacbe663751bb2cb4ec )
Senthil Kumaran [Fri, 31 Mar 2017 06:15:56 +0000 (23:15 -0700)]
Remove catching OSError in ftphandler test. Only URLError is raised in urllib.request module. (#918) (#921)
(cherry picked from commit
ed3dd1c02af6872bd0748f7b9a5dadb89f7b830f )
T. Wouters [Thu, 30 Mar 2017 19:48:55 +0000 (12:48 -0700)]
bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. (#912)
Fix the use of recursion in itertools.chain.from_iterable. Using recursion
is unnecessary, and can easily cause stack overflows, especially when
building in low optimization modes or with Py_DEBUG enabled.
(cherry picked from commit
5466d4af5fe76ec0a5fbc8a05675287d9e8e9d14 )
Serhiy Storchaka [Thu, 30 Mar 2017 17:31:46 +0000 (20:31 +0300)]
bpo-29935: Fixed error messages in the index() method of tuple, list and deque (#887) (#907) (#909)
when pass indices of wrong type.
(cherry picked from commit
d4edfc9abffca965e76ebc5957a92031a4d6c4d4 )
(cherry picked from commit
bf4bb2e43030661e568d5d4b046e8b9351cc164c )
Serhiy Storchaka [Thu, 30 Mar 2017 07:32:19 +0000 (10:32 +0300)]
bpo-27863: Fixed multiple crashes in ElementTree. (#765) (#904)
(cherry picked from commit
576def096ec7b64814e038f03290031f172886c3 )
Senthil Kumaran [Thu, 30 Mar 2017 06:56:57 +0000 (23:56 -0700)]
Remove an unrequired TODO in test_urllib2. (#897) (#901)
(cherry picked from commit
e6911a44f69c0d302db60f49952a9cf69da69a2b )
Senthil Kumaran [Thu, 30 Mar 2017 05:29:06 +0000 (22:29 -0700)]
bpo-29917: DOC: Remove link from PyMethodDef (#890) (#895)
(cherry picked from commit
c3c7ef088583cc12bd218138036d1edb6de9c63f )
Mariatta [Thu, 30 Mar 2017 02:10:22 +0000 (19:10 -0700)]
bpo-29677: DOC: clarify documentation for `round` (GH-877) (GH-893)
(cherry picked from commit
85deefcf61d3cc192846f41a4ccc6df17da60c98 )
Xiang Zhang [Wed, 29 Mar 2017 04:51:29 +0000 (12:51 +0800)]
bpo-28699: fix abnormal behaviour of pools in multiprocessing.pool (GH-884)
an exception raised at the very first of an iterable would cause pools behave abnormally
(swallow the exception or hang)
Mariatta [Tue, 28 Mar 2017 16:32:50 +0000 (09:32 -0700)]
bpo-16011: clarify that 'in' always returns a boolean value (GH-152) (GH-875)
(cherry picked from commit
0ae7c8bd614d3aa1fcaf2d71a10ff1148c80d9b5 )
INADA Naoki [Tue, 28 Mar 2017 15:26:29 +0000 (00:26 +0900)]
bpo-29643: Fix check for --enable-optimizations (GH-871)
The presence of the ``--enable-optimizations`` flag is indicated by the
value of ``$enableval``, but the configure script was checking ``$withval``,
resulting in the ``--enable-optimizations`` flag being effectively ignored.
(cherry picked from commit
8cea5929f52801b0ce5928b46ef836e99a24321a )
Mariatta [Tue, 28 Mar 2017 00:09:21 +0000 (17:09 -0700)]
bpo-29677: DOC: clarify documentation for `round` (GH-357) (GH-863)
(cherry picked from commit
6003db7db5fec545c01923c198a5fdfca5a91538 )
Brett Cannon [Mon, 27 Mar 2017 23:46:46 +0000 (16:46 -0700)]
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
ad2f9e2c8a0b44b3e6aec9d28ba59e13239236f7 )
Victor Stinner [Mon, 27 Mar 2017 14:11:34 +0000 (16:11 +0200)]
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.
Zachary Ware [Mon, 27 Mar 2017 05:38:20 +0000 (00:38 -0500)]
Minor test cleanup (GH-837) (GH-839)
* Remove unused test file
* Remove duplicated text in sndhdrdata README
(cherry picked from commit
b8a7daf077dab18e9e3701c5380b542ae0aa9a94 )
Zachary Ware [Mon, 27 Mar 2017 03:54:45 +0000 (22:54 -0500)]
Treat Sphinx warnings as errors (GH-832) (GH-835)
(cherry picked from commit
334e9ec938ea9876baadef15edb135d6d2aff30c )
Ned Deily [Sun, 26 Mar 2017 17:59:01 +0000 (13:59 -0400)]
bpo-29888: Fix the link referring to the "Python download page" (GH-824) (GH-827)
(cherry picked from commit
f8beb9831acd5cf80b9c56aea5864e16118c5400 )
Mariatta [Sat, 25 Mar 2017 10:42:38 +0000 (03:42 -0700)]
bpo-29862: Fix grammar in importlib.reload() exception (GH-809) (GH-812)
(cherry picked from commit
9f0aa4843f8c26937d5817f27cac4aae9c0a034f )
Serhiy Storchaka [Fri, 24 Mar 2017 19:46:46 +0000 (21:46 +0200)]
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
af7b9ec5c855366feef4c67dc492d64b3baf84ca )
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 )