Serhiy Storchaka
47bdc40352
Merge from 3.6.
2016-12-21 12:36:29 +02:00
Serhiy Storchaka
690e81f63f
Merge from 3.5.
2016-12-21 12:35:11 +02:00
Serhiy Storchaka
18f018ca12
Issue #28871 : Fixed a crash when deallocate deep ElementTree.
2016-12-21 12:32:56 +02:00
Xiang Zhang
b211068f5c
Issue #28822 : Adjust indices handling of PyUnicode_FindChar().
2016-12-20 22:52:33 +08:00
Benjamin Peterson
38f225dd48
merge 3.6 ( #28932 )
2016-12-19 23:55:24 -08:00
Benjamin Peterson
b0eb986eb2
merge 3.5 ( #28932 )
2016-12-19 23:54:57 -08:00
Benjamin Peterson
fb2ae15c67
add a specific configure check for sys/random.h ( closes #28932 )
2016-12-19 23:54:25 -08:00
INADA Naoki
2ea5bfee19
null merge
2016-12-20 09:59:47 +09:00
INADA Naoki
7f5954d1f0
null merge
2016-12-20 09:58:25 +09:00
INADA Naoki
6165d55f13
Issue #28147 : Fix a memory leak in split-table dictionaries
...
setattr() must not convert combined table into split table.
2016-12-20 09:54:24 +09:00
Serhiy Storchaka
dd1da7f74a
Issue #28927 : bytes.fromhex() and bytearray.fromhex() now ignore all ASCII
...
whitespace, not only spaces. Patch by Robert Xiao.
2016-12-19 18:51:37 +02:00
Xiang Zhang
f76df27806
Issue #28950 : Merge 3.6.
2016-12-19 22:05:46 +08:00
Xiang Zhang
772bf2ed83
Issue #28950 : Disallow -j0 combined with -T/-l in regrtest.
2016-12-19 22:00:22 +08:00
Xiang Zhang
270a21fda0
Issue #28950 : Disallow -j0 combined with -T/-l/-M in regrtest.
2016-12-19 21:01:33 +08:00
Victor Stinner
b6522d0f77
abstract.h: remove long outdated comment
...
Issue #28838 : The documentation is of the Python C API is more complete and
more up to date than this old comment.
Removal suggested by Antoine Pitrou.
2016-12-19 13:12:08 +01:00
Victor Stinner
af324157c6
Merge 3.6
2016-12-19 13:10:11 +01:00
Victor Stinner
01e4c1175f
Merge 3.5
2016-12-19 13:09:55 +01:00
Victor Stinner
509476b370
doc: Suggest to hash(tuple of attr) rather than XOR
...
Issue #28383 : __hash__ documentation recommends naive XOR to combine but this
is suboptimal. Update the doc to suggest to reuse the hash() method using a
tuple, with an example.
2016-12-19 13:09:28 +01:00
Xiang Zhang
bd0ff946bc
Issue #29009 : Merge 3.6.
2016-12-19 18:39:28 +08:00
Xiang Zhang
47888da90b
Issue #29009 : Merge 3.5.
2016-12-19 18:39:02 +08:00
Xiang Zhang
bfbc29cb8f
Issue #29009 : Remove outdated doc of PyUnicode_RichCompare.
2016-12-19 18:35:14 +08:00
Antoine Pitrou
ec60edb977
Issue #19542 : Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
...
when a GC collection happens in another thread.
Original patch and report by Armin Rigo.
2016-12-19 10:59:15 +01:00
Antoine Pitrou
d4580ecb8d
Issue #19542 : Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
...
when a GC collection happens in another thread.
Original patch and report by Armin Rigo.
2016-12-19 10:58:14 +01:00
Antoine Pitrou
c1ee488962
Issue #19542 : Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
...
when a GC collection happens in another thread.
Original patch and report by Armin Rigo.
2016-12-19 10:56:40 +01:00
Xavier de Gaye
e0c4e96119
Issue #28996 : Merge 3.6.
2016-12-19 10:46:59 +01:00
Xavier de Gaye
5bccb0e03d
Issue #28996 : Skip two tests that fail on Android with the locale strcoll() and
...
strxfrm() functions.
2016-12-19 10:46:14 +01:00
Martin Panter
b46edf35f3
Issue #25677 : Merge SyntaxError caret positioning from 3.6
2016-12-19 06:46:12 +00:00
Martin Panter
619555d77b
Issue #25677 : Merge SyntaxError caret positioning from 3.5
2016-12-19 06:46:01 +00:00
Serhiy Storchaka
932ee73188
Issue #20191 : Fixed a crash in resource.prlimit() when pass a sequence that
...
doesn't own its elements as limits.
2016-12-19 08:07:29 +02:00
Serhiy Storchaka
879199ba11
Issue #20191 : Fixed a crash in resource.prlimit() when pass a sequence that
...
doesn't own its elements as limits.
2016-12-19 08:05:39 +02:00
Serhiy Storchaka
b94eef2ae3
Issue #20191 : Fixed a crash in resource.prlimit() when pass a sequence that
...
doesn't own its elements as limits.
2016-12-19 08:04:15 +02:00
R David Murray
39d60fa926
Merge: #29005 : clarify terminology in tutorial 'method' discussion.
2016-12-18 15:01:38 -05:00
R David Murray
cd259bfd5a
Merge: #29005 : clarify terminology in tutorial 'method' discussion.
2016-12-18 15:00:23 -05:00
R David Murray
4ec1590fbf
#29005 : clarify terminology in tutorial 'method' discussion.
...
Patch by Jim Fasarakis-Hilliard.
2016-12-18 14:59:58 -05:00
Martin Panter
a03d5ca41e
One more typo fix for 3.7
2016-12-18 01:37:12 +00:00
Martin Panter
fc29c88b5f
Issue #28987 : Merge doc and comment fixes from 3.6
2016-12-18 05:41:55 +00:00
R David Murray
3e8d9413eb
Merge #28407 Improve test coverage of make_msgid.
2016-12-17 22:04:48 -05:00
R David Murray
d4f8132278
Merge #28407 Improve test coverage of make_msgid.
2016-12-17 22:04:20 -05:00
R David Murray
c69fd86f94
#28407 Improve test coverage of make_msgid.
...
Patch by Dillon Brock.
2016-12-17 22:03:44 -05:00
Martin Panter
59b0eb524f
Issue #28987 : Typos, grammar, spelling in documentation
2016-12-18 01:26:53 +00:00
Martin Panter
fff07e34fa
Merge spelling and grammar from 3.5
2016-12-18 05:37:21 +00:00
Martin Panter
2f9171d900
Fix spelling and grammar in code comments and documentation
2016-12-18 01:23:09 +00:00
Steve Dower
bbc5877427
Issue #25778 : winreg does not truncase string correctly (Patch by Eryk Sun)
2016-12-17 13:31:58 -08:00
Steve Dower
40fa26606d
Issue #25778 : winreg does not truncase string correctly (Patch by Eryk Sun)
2016-12-17 13:30:27 -08:00
Brett Cannon
ec38bcb66e
Merge for the porting HOWTO update
2016-12-17 12:38:00 -08:00
Brett Cannon
ce042af3fe
Merge for porting HOWTO update
2016-12-17 12:37:41 -08:00
Brett Cannon
5866719510
Update porting HOWTO to drop unicode_literals and mention static type checking
2016-12-17 12:37:20 -08:00
Serhiy Storchaka
9d16b616d5
Issue #29000 : Fixed bytes formatting of octals with zero padding in alternate
...
form.
2016-12-17 22:15:10 +02:00
Serhiy Storchaka
025f8953f1
Issue #29000 : Fixed bytes formatting of octals with zero padding in alternate
...
form.
2016-12-17 22:13:05 +02:00
Serhiy Storchaka
b1a1619bf0
Issue #29000 : Fixed bytes formatting of octals with zero padding in alternate
...
form.
2016-12-17 21:48:03 +02:00