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
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
Berker Peksag
c7ff163abf
Add Python version since deprecation in base64 methods. ( #33 ) ( #429 )
...
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:18 +03:00
Mariatta
93692b1a7c
getpass: update docstrings (GH-49) (GH-419)
...
(cherry picked from commit baf7bb30a0
)
2017-03-02 21:56:06 -08: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
Yury Selivanov
2ef08d3be7
asyncio: Optimize _get_running_loop() to call getpid() only when there's a loop
2017-03-02 23:58:29 -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
Xiang Zhang
c4a786b8ad
bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331) (GH-353)
2017-02-28 11:28:44 +08:00
Berker Peksag
bb59d89cee
bpo-27788 : synchronise platform.py version number ( #246 ) ( #341 )
...
Was bumped in the docstring by b9f4feab1b
but not in `__version__`
(cherry picked from commit 6059ce45aa
)
2017-02-27 19:14:11 +03: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
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
Berker Peksag
fae59e1aa8
bpo-28961: Address my comments from earlier code review ( #306 )
...
(cherry picked from commit dea1536fd3
)
2017-02-26 16:05:30 +03:00
Mariatta
bea9d2f648
[3.6] bpo-28556: Update to typing: treat subscripted generics as proxies (GH-265) (GH-268)
...
(cherry picked from commit abb3b8ad94
)
(cherry picked from commit 365cb5bb90
)
2017-02-24 16:40:50 -08:00
Arne de Laat
55b82e10dc
bpo-28911: Clarify the behaviour of assert_called_once_with. ( #252 )
...
(cherry picked from commit 9d56b34af2
)
2017-02-23 16:17:11 +01:00
Vinay Sajip
3cc5817cfa
Fixed bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64. ( #168 ) ( #220 )
...
Fixed bpo-29565: Corrected ctypes passing of large structs by value.
(cherry picked from commit a86339b83f
)
2017-02-22 06:21:17 +00:00
Berker Peksag
b067a5eef7
bpo-29554: Improve docs for pstat module and profile. ( #88 ) ( #227 )
...
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 8fb1f6e039
)
2017-02-22 04:55:33 +03: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
Senthil Kumaran
a4afdfcf27
Change some mercurial/ hg.python.org references. ( #8 ) ( #185 )
...
(cherry picked from commit b2ee40ed9c
)
2017-02-19 18:58:33 -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
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
Berker Peksag
89b1824e69
bpo-27122: Fix comment to point to correct issue number ( #48 )
...
It took me quite a bit to figure out what this was referring to,
since the given issue number is wrong, and the original commit
message I found through git blame lists a different, also wrong
issue number... see https://bugs.python.org/issue27122#msg279449
(cherry picked from commit af88e7eda4
)
2017-02-12 19:13:31 +03:00
Victor Stinner
2a35c939cc
Fix test_datetime on Windows
...
Issue #29100 : On Windows, datetime.datetime.fromtimestamp(min_ts) fails with an
OSError in test_timestamp_limits().
2017-02-10 12:37:21 +01:00
Victor Stinner
6f37e3645d
Fix test_datetime on system with 32-bit time_t
...
Issue #29100 : Catch OverflowError in the new test_timestamp_limits() test.
2017-02-10 11:45:14 +01: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
Mariatta Wijaya
6138432e59
Issue #29314 : Merge with 3.5
2017-02-06 22:05:10 -08:00
Mariatta Wijaya
4e7ff8b1a3
Issue #29314 : Set the stacklevel to two in asyncio.async() Deprecation Warning
2017-02-06 22:03:00 -08:00
Steve Dower
2dfa6cb9ff
Issue #28164 : Improves test on Windows 7
2017-02-06 14:50:17 -08:00
Steve Dower
0c8ee60e91
Updates test_winconsoleio to better show the source of its issues.
2017-02-04 16:46:34 -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
d3c4853b78
Issue #29416 : Prevent infinite loop in pathlib.Path.mkdir
2017-02-04 14:54:56 -08:00
Steve Dower
eacee98679
Issue #29409 : Implement PEP 529 for io.FileIO (Patch by Eryk Sun)
2017-02-04 14:38:11 -08:00
Steve Dower
1add96f1b6
Issue #29416 : Prevent infinite loop in pathlib.Path.mkdir
2017-02-04 14:55:16 -08:00
Serhiy Storchaka
86e42376c2
Issue #29444 : Fixed out-of-bounds buffer access in the group() method of
...
the match object. Based on patch by WGH.
2017-02-04 22:55:40 +02:00
Serhiy Storchaka
7e10dbbd45
Issue #29444 : Fixed out-of-bounds buffer access in the group() method of
...
the match object. Based on patch by WGH.
2017-02-04 22:53:57 +02:00
Vinay Sajip
3746619b84
Fixes #29213 : merged fix from 3.5.
2017-02-02 19:26:48 +00:00
Vinay Sajip
db38b6c9a9
Fixes #29213 : regularised EOLs of venv scripts.
2017-02-02 19:25:24 +00:00
Vinay Sajip
993f535ae9
Fixes #24875 : Merged fix from 3.5.
2017-02-02 19:17:02 +00:00
Vinay Sajip
db6322cb8a
Fixes #24875 : pip can now be installed in a venv with --system-site-packages.
2017-02-02 19:05:19 +00:00
Victor Stinner
64e91275e3
Merge 3.5
2017-02-02 14:18:43 +01:00
Victor Stinner
a5917d1d15
Issue #29300 : test_struct tests unpack_from() with keywords
...
Add an unit test on the _struct.Struct.unpack_from() method to test passing
arguments as keywords.
2017-02-02 14:18:18 +01:00