- 22 Sep, 2016 6 commits
-
-
Martin Panter authored
-
Martin Panter authored
-
Martin Panter authored
-
Martin Panter authored
This fixes a regression caused by revision 73afda5a4e4c. Also reverts the decimal test workaround added in revision 5f3dd0a2b1ab. Remove test_without_exception(). According to revision ecaafc32c500, this was added in Python 2 so that print_exc() would output “None” when called with no exception set. However print_exc() never worked like this in Python 3, and the use case is not documented. Restore TracebackCases class name (instead of SyntaxTracebackCases), because the class also tests other exceptions.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
- 21 Sep, 2016 12 commits
-
-
Berker Peksag authored
-
Berker Peksag authored
-
Serhiy Storchaka authored
-
Christian Heimes authored
-
Serhiy Storchaka authored
instance.
-
Christian Heimes authored
-
Victor Stinner authored
-
Victor Stinner authored
Issue #28233: Fix a memory leak if the format string contains a non-ASCII character, destroy the unicode writer.
-
Christian Heimes authored
-
Victor Stinner authored
-
Victor Stinner authored
Issue #28176: Increase timeout from 10 seconds to 60 seconds.
-
Benjamin Peterson authored
-
- 20 Sep, 2016 9 commits
-
-
Victor Stinner authored
Issue #27778: Fix a memory leak in os.getrandom() when the getrandom() is interrupted by a signal and a signal handler raises a Python exception. Modify also os_getrandom_impl() to avoid the temporary buffer, use directly a Python bytes object.
-
Victor Stinner authored
Issue #27955: Fallback on reading /dev/urandom device when the getrandom() syscall fails with EPERM, for example when blocked by SECCOMP.
-
Victor Stinner authored
Issue #27955: Fallback on reading /dev/urandom device when the getrandom() syscall fails with EPERM, for example when blocked by SECCOMP.
-
Victor Stinner authored
Issue #27955: modify py_getrnadom() and dev_urandom() * Add comments from Python 3.7 * PEP 7 style: add {...}
-
Ned Deily authored
-
Ned Deily authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 19 Sep, 2016 13 commits
-
-
Jesus Cea authored
-
Jesus Cea authored
-
Victor Stinner authored
Issue #28200: Replace PyUnicode_AsWideCharString() with PyUnicode_AsUnicodeAndSize().
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
(Patch by Xiang Zhang)
-
Raymond Hettinger authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
- 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.
-