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
Steve Dower
126c5be33f
Null merge from 3.6
2016-09-17 17:30:05 -07:00
Steve Dower
a2365c1de2
Null merge from 3.5
2016-09-17 17:29:52 -07:00
Steve Dower
17a564ecc9
Add file missed from backport
2016-09-17 17:29:37 -07:00
Steve Dower
5f9c3926cc
Issue #27932 : Prevent memory leak in win32_ver().
2016-09-17 17:28:45 -07:00
Steve Dower
74f4af7ac3
Issue #27932 : Prevent memory leak in win32_ver().
2016-09-17 17:27:48 -07:00
Steve Dower
1374053127
Null merge from 3.5
2016-09-17 17:27:41 -07:00
Steve Dower
1ec262be80
Issue #27932 : Prevent memory leak in win32_ver().
2016-09-17 17:25:42 -07:00
Steve Dower
e8ef95e3ba
Fixes bad merge for issue #28110
2016-09-17 16:34:52 -07:00
Steve Dower
7e3dfd1548
Fixes bad merge for issue #28110
2016-09-17 16:34:38 -07:00
Steve Dower
f4fc1d12ec
Issue #28110 : launcher.msi has different product codes between 32-bit and 64-bit
2016-09-17 16:14:14 -07:00
Steve Dower
7358efa50b
Issue #28110 : launcher.msi has different product codes between 32-bit and 64-bit
2016-09-17 16:13:59 -07:00
Steve Dower
1c75c18ed2
Issue #28110 : launcher.msi has different product codes between 32-bit and 64-bit
2016-09-17 16:12:55 -07:00
Berker Peksag
f5c09402b1
Issue #28176 : Merge from 3.6
2016-09-18 01:07:50 +03:00
Berker Peksag
a7b1058c17
Issue #28176 : Merge from 3.5
2016-09-18 01:07:30 +03:00
Berker Peksag
bdcc8f9d1b
Issue #28176 : Increase timeout for test_sock_connect_sock_write_race
2016-09-18 01:06:50 +03:00
Steve Dower
39f9580dbd
Issue #28192 : Adds tests for hook in isolated mode
2016-09-17 14:35:43 -07:00
Steve Dower
6dd8eca4a9
Issue #28192 : Adds tests for hook in isolated mode
2016-09-17 14:35:32 -07:00
Steve Dower
b401d723ac
Issue #28161 : Opening CON for write access fails
...
Issue #28162 : WindowsConsoleIO readall() fails if first line starts with Ctrl+Z
Issue #28163 : WindowsConsoleIO fileno() passes wrong flags to _open_osfhandle
Issue #28164 : _PyIO_get_console_type fails for various paths
2016-09-17 13:51:32 -07:00
Steve Dower
27f26ad962
Issue #28161 : Opening CON for write access fails
...
Issue #28162 : WindowsConsoleIO readall() fails if first line starts with Ctrl+Z
Issue #28163 : WindowsConsoleIO fileno() passes wrong flags to _open_osfhandle
Issue #28164 : _PyIO_get_console_type fails for various paths
2016-09-17 13:51:23 -07:00
Berker Peksag
ce4adc30de
Issue #26384 : Merge from 3.6
2016-09-17 23:23:35 +03:00
Berker Peksag
5d625cff07
Issue #26384 : Merge from 3.5
2016-09-17 23:23:13 +03:00
Berker Peksag
bcfb35f80d
Issue #26384 : Fix UnboundLocalError in socket._sendfile_use_sendfile
2016-09-17 23:22:06 +03:00
Steve Dower
64566db065
Merge with 3.6
2016-09-17 12:57:03 -07:00
Steve Dower
ed51b26858
Issue #28137 : Renames Windows path file to ._pth
...
Issue #28138 : Windows ._pth file should allow import site
2016-09-17 12:54:06 -07:00
Steve Dower
313523ce2d
Issue #28192 : Don't import readline in isolated mode
2016-09-17 12:22:41 -07:00