Benjamin Peterson
b90d15d57e
merge 3.6
2016-09-19 22:20:19 -07:00
Benjamin Peterson
8ac46c972f
revert expat changes
2016-09-19 22:20:13 -07:00
Benjamin Peterson
adaa56ac35
merge 3.6 ( closes #28184 )
2016-09-19 22:17:44 -07:00
Benjamin Peterson
e2e792d98f
merge 3.5 ( #28184 )
2016-09-19 22:17:16 -07:00
Benjamin Peterson
918aa89483
remove trailing whitespace
2016-09-19 22:16:36 -07:00
Jesus Cea
8bf66ca598
MERGE: Docs: Correctly link to the methods
2016-09-20 00:03:09 +02:00
Jesus Cea
1daf6da2c8
MERGE: Docs: Correctly link to the methods
2016-09-20 00:02:44 +02:00
Jesus Cea
647680ec2c
Docs: Correctly link to the methods
2016-09-20 00:01:53 +02:00
Victor Stinner
822675b82e
Merge 3.6
2016-09-19 11:56:06 +02:00
Victor Stinner
26c03bd7d5
Fix memory leak in path_converter()
...
Issue #28200 : Replace PyUnicode_AsWideCharString() with
PyUnicode_AsUnicodeAndSize().
2016-09-19 11:55:44 +02:00
Benjamin Peterson
ff679c5955
merge 3.6
2016-09-18 23:49:58 -07:00
Benjamin Peterson
286987bbac
delete dead code
2016-09-18 23:49:51 -07:00
Benjamin Peterson
cbaaed1b1a
merge 3.6
2016-09-18 23:44:15 -07:00
Benjamin Peterson
f5e8e8fc2b
merge 3.5 ( #24022 )
2016-09-18 23:44:02 -07:00
Benjamin Peterson
57bda335e1
merge 3.4
2016-09-18 23:43:18 -07:00
Benjamin Peterson
26d998cfdd
properly handle the single null-byte file ( closes #24022 )
2016-09-18 23:41:11 -07:00
Raymond Hettinger
2113c6e41b
merge
2016-09-18 21:46:34 -07:00
Raymond Hettinger
6692f01c91
merge
2016-09-18 21:46:08 -07:00
Raymond Hettinger
7eb1becc25
Issue #28189 : dictitems_contains no longer swallows compare errors.
...
(Patch by Xiang Zhang)
2016-09-18 21:45:11 -07:00
Raymond Hettinger
07064c409c
merge
2016-09-18 20:17:51 -07:00
Raymond Hettinger
5820f3a381
Issue #28193 : Use lru_cache in the re module.
2016-09-18 20:17:21 -07:00
Benjamin Peterson
f820836e6c
merge 3.6
2016-09-18 19:25:00 -07:00
Benjamin Peterson
5d4b09c106
correct silly spelling problem
2016-09-18 19:24:52 -07:00
Benjamin Peterson
beb6cf6822
merge 3.6
2016-09-18 19:22:27 -07:00
Benjamin Peterson
19517e4da7
replace obmalloc's homegrown uptr and uchar types with standard ones
2016-09-18 19:22:22 -07:00
Benjamin Peterson
630783d811
merge 3.6
2016-09-18 19:19:38 -07:00
Benjamin Peterson
3924f93794
improvements to code that checks whether Python (obmalloc) allocated an address
...
- Rename Py_ADDRESS_IN_RANGE to address_in_range and make it a static
function instead of macro. Any compiler worth its salt will inline this
function.
- Remove the duplicated function version of Py_ADDRESS_IN_RANGE used when memory
analysis was active. Instead, we can simply mark address_in_range as allergic
to dynamic memory checking. We can now remove the
__attribute__((no_address_safety_analysis)) from _PyObject_Free and
_PyObject_Realloc. All the badness is contained in address_in_range now.
- Fix the code that tried to only read pool->arenaindex once. Putting something
in a variable is no guarantee that it won't be read multiple times. We must
use volatile for that.
2016-09-18 19:12:48 -07:00
Benjamin Peterson
75361243d5
merge 3.6
2016-09-18 18:12:44 -07:00
Benjamin Peterson
ac965ca16c
stop using Py_LL and Py_ULL
2016-09-18 18:12:21 -07:00
Benjamin Peterson
d1b44d9301
merge 3.6
2016-09-18 18:03:04 -07:00
Benjamin Peterson
41e35f37ed
always define HAVE_LONG_LONG ( #27961 )
2016-09-18 18:02:58 -07:00
Benjamin Peterson
190a32f3ed
merge 3.6
2016-09-18 18:00:32 -07:00
Benjamin Peterson
9ac11a752a
properly free memory in pgen
2016-09-18 18:00:25 -07:00
Victor Stinner
f04ce5d6f1
Merge 3.6 (test_regrtest)
2016-09-19 00:11:58 +02:00
Victor Stinner
254ad58c07
Fix test_huntrleaks_fd_leak() of test_regrtest
...
Issue #28195 : Don't expect the fd leak message to be on a specific line number,
just make sure that the line is present in the output.
2016-09-19 00:11:30 +02:00
Ethan Furman
475b405a54
issue23591: fix flag decomposition and repr
2016-09-18 13:16:04 -07:00
Ethan Furman
3515dcce80
issue23591: fix flag decomposition and repr
2016-09-18 13:15:41 -07:00
Berker Peksag
76ab4164e5
Issue #25400 : Merge from 3.6
2016-09-18 20:18:35 +03:00
Berker Peksag
9a7bbb2e3f
Issue #25400 : RobotFileParser now correctly returns default values for crawl_delay and request_rate
...
Initial patch by Peter Wirtz.
2016-09-18 20:17:58 +03:00
Christian Heimes
aa630e051b
Issue #26661 : setup.py now detects system libffi with multiarch wrapper.
2016-09-18 14:35:39 +02:00
Christian Heimes
85c98bf968
Issue #26661 : setup.py now detects system libffi with multiarch wrapper.
2016-09-18 14:34:13 +02:00
Christian Heimes
96b2dd5997
Issue #26661 : setup.py now detects system libffi with multiarch wrapper.
2016-09-18 14:33:30 +02:00
Berker Peksag
892cc19524
Null merge with 3.6
2016-09-18 14:53:45 +03:00
Berker Peksag
44efa8aa0b
Null merge from 3.5
2016-09-18 14:53:12 +03:00
Berker Peksag
5a5ae745ff
Issue #26610 : Skip test_with_pip if _ctypes is not available in OpenIndiana
2016-09-18 14:52:25 +03:00
Berker Peksag
93ca7b4791
Null merge from 3.6
2016-09-18 13:58:16 +03:00
Berker Peksag
b66df15a86
Null merge from 3.5
2016-09-18 13:57:40 +03:00
Berker Peksag
bf3c1c3235
Issue #28075 : Fix test_access_denied in Python 3.5
...
I forgot there two variations of os.stat() in Python 3.5.
2016-09-18 13:56:29 +03:00
Berker Peksag
9ef04eba28
Issue #28151 : Merge from 3.6
2016-09-18 11:22:29 +03:00
Berker Peksag
2a8d7f1c47
Issue #28151 : Use pythontest.net in test_robotparser
2016-09-18 11:21:57 +03:00