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
Petr Motejlek
c6e199f2e9
bpo-29615: backport to 3.5 ( #479 )
2017-03-05 18:14:26 +02:00
Mariatta
171b674c8b
distutils docs: Fix a typo (GH-470) ( #472 )
...
(cherry picked from commit 2a7bddaab7
)
2017-03-04 16:44:30 -08:00
Mariatta
5789e415e8
Correct spelling "instanciate" (GH-465) (GH-468)
...
(cherry picked from commit 6abaed0dda
)
2017-03-04 15:40:36 -08:00
Ned Deily
a2edd3ae40
[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 5c4b0d063a
)
(cherry picked from commit 95c50e5aed
)
2017-03-04 01:34:19 -05:00
Steve Dower
2df52acce2
Fixes git command ( #451 ) ( #453 )
2017-03-03 21:58:48 -08:00
Steve Dower
cf445f1056
bpo-27593: Updates Windows build to use information from git ( #262 ) ( #449 )
...
* bpo-27593: Updates Windows build to use information from git
2017-03-03 21:32:23 -08:00
Brett Cannon
4d0630d9d5
bpo-26213: Document _UNPACK bytecodes and BUILD_MAP changes (GH-441)
...
(cherry picked from commit 0705f66eb3
)
2017-03-03 14:47:22 -08:00
Zachary Ware
dd2000cbe4
bpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-443)
2017-03-03 16:07:37 -06:00
Mariatta
6e965d9e78
bpo-29709: Improve Boolean Operations documentation ( #433 ) ( #436 )
...
(cherry picked from commit 8eb531d9db
)
2017-03-03 13:23:55 -08:00
Seth M. Larson
f7f024a721
bpo-29704: Fix asyncio.SubprocessStreamProtocol closing ( #405 )
2017-03-03 12:23:44 -05:00
Berker Peksag
d0620bcd4e
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 c643a967dd
)
2017-03-03 18:07:01 +03:00
Mariatta
0ad7b628ed
getpass: update docstrings (GH-49) (GH-420)
...
(cherry picked from commit baf7bb30a0
)
2017-03-02 21:56:28 -08:00
Mariatta
8c851fa3d3
bpo-29026: Clarify documentation of time.time (GH-34) (GH-418)
...
(cherry picked from commit 23557d59b8
)
2017-03-02 21:50:46 -08:00
Yury Selivanov
80fbacc936
asyncio: Optimize _get_running_loop() to call getpid() only when there's a loop
2017-03-03 00:00:57 -05:00
Yury Selivanov
8b73b6198b
bpo-29703: asyncio: Fix creating new event loops in child processes. ( #411 )
2017-03-02 21:40:57 -05:00
Donald Stufft
564ace834f
bpo-29697: Don't use OpenSSL <1.0.2 fallback on 1.1+ (GH-398)
2017-03-02 12:32:30 -05:00
Donald Stufft
df11ce6460
Disable mention-bot for maintenance branches (GH-369)
2017-03-01 06:13:38 -05:00
Berker Peksag
0dadf56737
bpo-29655: Fixed possible reference leaks in import *
. ( #301 ) ( #349 )
...
Patch by Matthias Bussonnier.
(cherry picked from commit 160edb4357
)
2017-02-27 21:25:29 +03:00
Martijn Pieters
bc144f0abf
bpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting operations ( #94 )
2017-02-27 19:07:27 +03:00
Mariatta
b945e0784f
Asyncio documentation: remove self
from method signatures (GH-334) (GH-336)
...
(cherry picked from commit 091b84f23a
)
2017-02-27 06:01:59 -08:00
Xiang Zhang
8400ae209b
bpo-29376: Fix assertion error in threading._DummyThread.is_alive() (GH-329)
2017-02-27 11:46:37 +08:00
INADA Naoki
b7fb1e25c8
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)
2017-02-27 04:35:00 +09:00
Mariatta
21c697fd10
bpo-22594: Add a link to the regex module in re documentation (GH-241) (GH-317)
...
(cherry picked from commit ed6795e46f
)
2017-02-26 07:44:36 -08:00
Mariatta
63ed9bc94d
bpo-29648: import.rst: Add reference to create_module() (GH-290) (GH-315)
...
(cherry picked from commit 46ce7599af
)
2017-02-26 07:40:03 -08:00
Berker Peksag
7963bed009
Backport recent .travis.yml changes ( #309 )
...
Backported changes from master:
* b52260d8bf
* 984eef7d6d
* 532519770d
* 91b0e7d0ca
(cherry picked from commit 05e1a32170
)
2017-02-26 16:07:41 +03:00
Berker Peksag
6b585fddc9
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 84b6fb0eea
and dea1536fd3
)
Conflicts:
Misc/NEWS
2017-02-26 16:06:11 +03:00
Mariatta
4c784632f7
[3.5] Fix small typos in introduction and datastructures of tutorial (GH-272) (GH-299)
...
(cherry picked from commit 5bd5b9d813
)
(cherry picked from commit 8c5e190d36
)
(cherry picked from commit 53c1892dc3
)
2017-02-25 22:35:39 -08:00
Mariatta
5023686f7e
[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
2017-02-25 22:33:51 -08:00
Mariatta
bc33cd4e7a
[3.5] bpo-28556: Update to typing: treat subscripted generics as proxies (GH-265) (GH-269)
...
(cherry picked from commit abb3b8ad94
)
(cherry picked from commit 365cb5bb90
)
2017-02-24 16:41:19 -08:00