Yury Selivanov
fa448de97d
Fix wrapping into StopIteration of return values in generators and coroutines ( #644 ) ( #647 )
2017-03-12 17:04:06 -04:00
Serhiy Storchaka
aac875fa2f
[3.6] bpo-8256: Fixed possible failing or crashing input() ( #641 )
...
if attributes "encoding" or "errors" of sys.stdin or sys.stdout are not set or are not strings.
2017-03-12 21:52:17 +02:00
Nick Coghlan
c60948464f
[3.6] bpo-29723: Consistently configure sys.path[0] ( #636 )
...
Directory and zipfile execution previously added
the parent directory of the directory or zipfile
as sys.path[0] and then subsequently overwrote
it with the directory or zipfile itself.
This caused problems in isolated mode, as it
overwrote the "stdlib as a zip archive" entry
in sys.path, as the parent directory was
never added.
The attempted fix to that issue in bpo-29319
created the opposite problem in *non*-isolated
mode, by potentially leaving the parent
directory on sys.path instead of overwriting it.
This change fixes the root cause of the problem
by removing the whole "add-and-overwrite" dance
for sys.path[0], and instead simply never adds
the parent directory to sys.path in the first
place.
(cherry picked from commit d2977a3ae2
)
2017-03-12 21:34:22 +10:00
orenmn
26d013e00f
[3.6] bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements ( #579 )
2017-03-09 16:06:47 +02:00
Serhiy Storchaka
eb65edd102
[3.6] bpo-28231: The zipfile module now accepts path-like objects for external paths. ( #561 )
...
(cherry picked from commit 8606e9524a
)
2017-03-08 15:45:43 +02:00
Benjamin Peterson
6a4b04cd33
Revert "bpo-29571: Use correct locale encoding in test_re ( #149 )" ( #554 ) ( #555 )
...
This reverts commit ace5c0fdd9
.
2017-03-07 23:56:59 -08:00
Xiang Zhang
78ad039bcf
bpo-26915: Test identity first in index() and count() of collections.abc.Sequence (GH-553)
2017-03-08 11:43:35 +08:00
Xiang Zhang
df6d7b406f
[3.6] bpo-29714: Fix a regression that bytes format may fail when containing zero bytes inside. (GH-504)
2017-03-06 18:17:10 +08:00
Petr Motejlek
3405792b02
bpo-29615: backport to 3.6 ( #478 )
2017-03-05 18:14:06 +02:00
Ned Deily
38136e2a58
Bump to v3.6.1rc1+.
2017-03-05 05:33:38 -05:00
Ned Deily
e0fbe5feee
Update docs and patchlevel for 3.6.1rc1.
2017-03-04 12:25:04 -05:00
Ned Deily
1d391f926b
[3.6] bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS ( #463 )
...
Skip some tests of select.poll when running on macOS due to unresolved
issues with the underlying system poll function on some macOS versions.
(cherry picked from commit de04644627
)
2017-03-04 06:19:05 -05:00
Ned Deily
95c50e5aed
[3.6] bpo-27593: Get SCM build info from git instead of hg. ( #446 ) ( #454 )
...
* 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
)
2017-03-04 01:05:06 -05:00
Zachary Ware
03f7cb0604
bpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-442)
2017-03-03 16:07:25 -06:00
Berker Peksag
21ce65aa67
[3.6] bpo-29623: Make PathLike objects work with ConfigParser.read() ( #242 ) ( #432 )
...
(cherry picked from commit 85b8d01c91
)
Conflicts:
Lib/test/test_configparser.py
2017-03-03 20:48:37 +03:00
Yury Selivanov
2adc668481
Restore NEWS file after incorrect git automerge
2017-03-03 01:08:10 -05:00
Yury Selivanov
d8b72e4a06
bpo-28963: Fix out of bound iteration in asyncio.Future.remove_done_callback/C ( #408 )
2017-03-03 00:05:22 -05:00
Seth M. Larson
604faba1db
bpo-29704: Fix asyncio.SubprocessStreamProtocol closing ( #405 )
2017-03-02 23:31:17 -05:00
Yury Selivanov
13802a3b11
bpo-29271: Fix Task.current_task and Task.all_tasks to accept None. ( #406 )
2017-03-02 23:19:49 -05:00
Yury Selivanov
dea5101ae1
bpo-28893: Set __cause__ for errors in async iteration protocol ( #407 )
2017-03-02 22:28:07 -05:00
Yury Selivanov
01e5230ef0
bpo-29703: asyncio: Fix creating new event loops in child processes. ( #404 ) ( #410 )
2017-03-02 22:06:15 -05:00
Brian Coleman
a6e84933d2
bpo-29683 - Fixes to _PyCode_SetExtra when co_extra->ce->extras is ( #402 )
...
allocated.
On PyMem_Realloc failure, _PyCode_SetExtra should free co_extra if
co_extra->ce_extras could not be allocated.
On PyMem_Realloc success, _PyCode_SetExtra should set all unused slots in
co_extra->ce_extras to NULL.
2017-03-03 00:21:53 +02:00
INADA Naoki
023532e558
bpo-29684: Fix minor regression of PyEval_CallObjectWithKeywords. (GH-378)
2017-03-01 21:14:43 +09:00
Martijn Pieters
53039ad381
bpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting operations ( #95 )
2017-02-27 19:08:01 +03:00
Berker Peksag
046041e23b
Delete accidentally merged entries from Misc/NEWS ( #338 )
2017-02-27 17:26:10 +03:00
Xiang Zhang
4b6c41768a
bpo-29376: Fix assertion error in threading._DummyThread.is_alive() (GH-330)
2017-02-27 11:45:42 +08:00
INADA Naoki
c9131b61fa
[3.6] bpo-29110: Fix file object leak in `aifc.open` ( #310 )
...
(cherry picked from commit 03f68b60e1
) (GH-162)
(cherry picked from commit 5dc33eea53
) (GH-293)
2017-02-27 04:09:32 +09:00
Berker Peksag
6b81003bdb
bpo-28624: Add a test that checks that cwd parameter of Popen() accepts PathLike objects ( #157 ) ( #323 )
...
(cherry picked from commit d5c11f7ace
)
2017-02-26 20:38:31 +03:00
Berker Peksag
76995cab69
bpo-28518: Start a transaction implicitly before a DML statement ( #245 ) ( #318 )
...
Patch by Aviv Palivoda.
(cherry picked from commit 4a926caf8e
)
2017-02-26 19:09:10 +03:00
Mariatta
1a8dd944d4
[3.6] bpo-28929: Add to Misc/NEWS (GH-284)
...
mention bpo-28929 in the Documentation section of
What's New in Python 3.6.1 release candidate 1
2017-02-25 22:34:06 -08:00
Barry Warsaw
0a1b656d8c
bpo-25008: Deprecate smtpd and point to aiosmtpd ( #274 ) ( #278 )
2017-02-24 15:44:34 -05:00
INADA Naoki
3ab24bdd47
bpo-29607: Fix stack_effect computation for CALL_FUNCTION_EX (GH-219)
...
(cherry picked from commit 3a9ac827c7
)
2017-02-22 02:33:24 +09:00
Serhiy Storchaka
e48fd93bbb
bpo-29532: Altering a kwarg dictionary passed to functools.partial() no longer affects a partial object after creation. ( #209 )
2017-02-21 18:18:27 +02:00
Mark Dickinson
d9b3cdd137
bpo-29602: fix signed zero handling in complex constructor. ( #203 ) ( #206 )
...
* Fix incorrect handling of signed zeros for complex-related classes.
* Add Misc/NEWS entry.
(cherry picked from commit 112ec38c15
)
2017-02-20 21:59:30 +00:00
Xiang Zhang
9a4577a4bb
bpo-29347: Fix possibly dereferencing undefined pointers when creating weakref objects ( #128 ) ( #186 )
2017-02-20 14:33:02 +08:00
Nick Coghlan
0683d6889b
[3.6] bpo-29571: Use correct locale encoding in test_re ( #149 ) ( #153 )
...
``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.
2017-02-19 10:03:35 +05:30
Steve Dower
d372cda5cd
bpo-29579: Removes readme.txt from the installer. ( #161 )
2017-02-18 16:12:06 -08:00
Mariatta
02e3357e08
bpo-29521 update Misc/ACKS ( #110 )
...
(cherry picked from commit 6420088b92
)
2017-02-16 00:14:41 +01:00
Mariatta
0230e64d2c
bpo-28556: Various updates to typing ( #28 ) ( #77 )
...
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
(cherry picked from commit b692dc8475
)
2017-02-14 06:11:12 -08:00
INADA Naoki
89ddffbe9d
bpo-29438: fixed use-after-free in key sharing dict ( #39 )
2017-02-13 09:19:05 +09:00
Victor Stinner
b67f096738
Fix datetime.fromtimestamp(): check bounds
...
Issue #29100 : Fix datetime.fromtimestamp() regression introduced in Python
3.6.0: check minimum and maximum years.
2017-02-10 10:34:02 +01:00
Łukasz Langa
57fe245e8c
Merge 3.5 ( fix #29519 )
2017-02-10 00:16:10 -08:00
Łukasz Langa
9cd7e17640
Fix #29519 : weakref spewing exceptions during interp finalization
2017-02-10 00:14:55 -08:00
Nick Coghlan
e1857579f8
Merge issue #26355 fix from Python 3.5
2017-02-09 16:08:17 +01:00
Nick Coghlan
e66244521c
Issue #26355 : Specify canonical URLs in docs pages
...
Add canonical header link on each page to corresponding major
version of the documentation.
Patch by Matthias Bussonnier.
2017-02-09 16:03:59 +01:00
Steve Dower
c008ddeb21
Issue #29319 : Prevent RunMainFromImporter overwriting sys.path[0].
2017-02-04 15:39:38 -08:00
Steve Dower
6d46ae7d12
Issue #29319 : Prevent RunMainFromImporter overwriting sys.path[0].
2017-02-04 15:39:21 -08:00
Steve Dower
5f9193a6ed
Issue #29326 : Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)
2017-02-04 15:19:29 -08:00
Steve Dower
722e3e2705
Issue #28164 : Correctly handle special console filenames (patch by Eryk Sun)
2017-02-04 15:07:46 -08:00
Steve Dower
21fae03e16
Issue #29392 : Prevent crash when passing invalid arguments into msvcrt module.
2017-02-04 15:05:13 -08:00