Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Null merge | Serhiy Storchaka | 2016-09-22 | 0 | -0/+0 | |
|\ \ \ | |/ / | ||||||
| * | | Silence GCC warning. | Serhiy Storchaka | 2016-09-22 | 1 | -2/+2 | |
| | | | | | | | | | | | | The code was correct, but GCC is not enough clever. | |||||
* | | | Issue #28086: Single var-positional argument of tuple subtype was passed | Serhiy Storchaka | 2016-09-22 | 3 | -3/+6 | |
| | | | | | | | | | | | | unscathed to the C-defined function. Now it is converted to exact tuple. | |||||
* | | | Make Lib/test/ssltests.py more useful and faster for OpenSSL testing | Christian Heimes | 2016-09-22 | 1 | -6/+21 | |
|\ \ \ | |/ / | ||||||
| * | | Make Lib/test/ssltests.py more useful and faster for OpenSSL testing | Christian Heimes | 2016-09-22 | 1 | -6/+21 | |
| | | | ||||||
* | | | Merge socketserver fixes from 3.5 into 3.6 | Martin Panter | 2016-09-22 | 3 | -3/+3 | |
|\ \ \ | |/ / | ||||||
| * | | Fix references to Python 3’s socketserver (lowercase) module | Martin Panter | 2016-09-22 | 3 | -3/+3 | |
| | | | ||||||
* | | | Issue #27348: Merge exception formatting fix from 3.5 into 3.6 | Martin Panter | 2016-09-22 | 4 | -7/+18 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #27348: Restore “Exception: None” formatting in traceback module | Martin Panter | 2016-09-22 | 4 | -7/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | Extend the test to lower pickle protocols. | Serhiy Storchaka | 2016-09-22 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | Extend the test to lower pickle protocols. | Serhiy Storchaka | 2016-09-22 | 1 | -1/+1 | |
| | | | ||||||
* | | | Issue #25651: Merge from 3.5 | Berker Peksag | 2016-09-21 | 3 | -2/+15 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #25651: Allow falsy values to be used for msg parameter of subTest() | Berker Peksag | 2016-09-21 | 3 | -2/+15 | |
| | | | ||||||
* | | | Merge heads | Serhiy Storchaka | 2016-09-21 | 1 | -1/+9 | |
|\ \ \ | ||||||
| * | | | lcov: ignore more 3rd party code and internal test/debug/dummy files | Christian Heimes | 2016-09-21 | 1 | -1/+9 | |
| | | | | ||||||
* | | | | Issue #28214: Now __set_name__ is looked up on the class instead of the | Serhiy Storchaka | 2016-09-21 | 3 | -5/+22 | |
|/ / / | | | | | | | | | | instance. | |||||
* | | | Don't define PY_WITH_KECCAK | Christian Heimes | 2016-09-21 | 1 | -2/+0 | |
| | | | ||||||
* | | | Merge 3.5 | Victor Stinner | 2016-09-21 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | Fix PyUnicode_FromFormatV() error handling | Victor Stinner | 2016-09-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Issue #28233: Fix a memory leak if the format string contains a non-ASCII character, destroy the unicode writer. | |||||
* | | | va_end() all va_copy()ed va_lists. | Christian Heimes | 2016-09-21 | 4 | -7/+26 | |
| | | | ||||||
* | | | Merge 3.5 | Victor Stinner | 2016-09-21 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | test_asynico: fix test_sock_connect_sock_write_race() | Victor Stinner | 2016-09-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | Issue #28176: Increase timeout from 10 seconds to 60 seconds. | |||||
* | | | replace usage of Py_VA_COPY with the (C99) standard va_copy | Benjamin Peterson | 2016-09-21 | 8 | -71/+11 | |
| | | | ||||||
* | | | Fix memleak in os.getrandom() | Victor Stinner | 2016-09-20 | 2 | -10/+21 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | (Merge 3.5) Catch EPERM error in py_getrandom() | Victor Stinner | 2016-09-20 | 2 | -8/+14 | |
|\ \ \ | |/ / | | | | | | | | | | Issue #27955: Fallback on reading /dev/urandom device when the getrandom() syscall fails with EPERM, for example when blocked by SECCOMP. | |||||
| * | | Catch EPERM error in py_getrandom() | Victor Stinner | 2016-09-20 | 2 | -7/+11 | |
| | | | | | | | | | | | | | | | Issue #27955: Fallback on reading /dev/urandom device when the getrandom() syscall fails with EPERM, for example when blocked by SECCOMP. | |||||
| * | | Cleanup random.c | Victor Stinner | 2016-09-20 | 1 | -28/+53 | |
| | | | | | | | | | | | | | | | | | | | | | Issue #27955: modify py_getrnadom() and dev_urandom() * Add comments from Python 3.7 * PEP 7 style: add {...} | |||||
* | | | Make 3.7 the current dev version in the html version of the docs. | Ned Deily | 2016-09-20 | 1 | -3/+2 | |
|\ \ \ | |/ / | ||||||
| * | | Make 3.7 the current dev version in the html version of the docs. | Ned Deily | 2016-09-20 | 1 | -3/+2 | |
| | | | ||||||
* | | | revert expat changes | Benjamin Peterson | 2016-09-20 | 1 | -1/+1 | |
| | | | ||||||
* | | | merge 3.5 (#28184) | Benjamin Peterson | 2016-09-20 | 7 | -31/+31 | |
|\ \ \ | |/ / | ||||||
| * | | remove trailing whitespace | Benjamin Peterson | 2016-09-20 | 3 | -20/+20 | |
| | | | ||||||
* | | | MERGE: Docs: Correctly link to the methods | Jesus Cea | 2016-09-19 | 1 | -19/+22 | |
|\ \ \ | |/ / | ||||||
| * | | Docs: Correctly link to the methods | Jesus Cea | 2016-09-19 | 1 | -19/+22 | |
| | | | ||||||
* | | | Fix memory leak in path_converter() | Victor Stinner | 2016-09-19 | 2 | -1/+4 | |
| | | | | | | | | | | | | | | | Issue #28200: Replace PyUnicode_AsWideCharString() with PyUnicode_AsUnicodeAndSize(). | |||||
* | | | delete dead code | Benjamin Peterson | 2016-09-19 | 1 | -3/+0 | |
| | | | ||||||
* | | | merge 3.5 (#24022) | Benjamin Peterson | 2016-09-19 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | merge 3.4 | Benjamin Peterson | 2016-09-19 | 1 | -1/+1 | |
| |\ \ | | |/ | ||||||
| | * | properly handle the single null-byte file (closes #24022) | Benjamin Peterson | 2016-09-19 | 1 | -1/+1 | |
| | | | ||||||
| * | | Issue #28189: dictitems_contains no longer swallows compare errors. | Raymond Hettinger | 2016-09-19 | 3 | -1/+30 | |
| | | | | | | | | | | | | (Patch by Xiang Zhang) | |||||
* | | | merge | Raymond Hettinger | 2016-09-19 | 2 | -1/+27 | |
| | | | ||||||
* | | | Issue #28193: Use lru_cache in the re module. | Raymond Hettinger | 2016-09-19 | 1 | -11/+4 | |
| | | | ||||||
* | | | correct silly spelling problem | Benjamin Peterson | 2016-09-19 | 1 | -9/+9 | |
| | | | ||||||
* | | | replace obmalloc's homegrown uptr and uchar types with standard ones | Benjamin Peterson | 2016-09-19 | 1 | -42/+31 | |
| | | | ||||||
* | | | improvements to code that checks whether Python (obmalloc) allocated an address | Benjamin Peterson | 2016-09-19 | 1 | -76/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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. | |||||
* | | | stop using Py_LL and Py_ULL | Benjamin Peterson | 2016-09-19 | 4 | -90/+86 | |
| | | | ||||||
* | | | always define HAVE_LONG_LONG (#27961) | Benjamin Peterson | 2016-09-19 | 1 | -0/+3 | |
| | | | ||||||
* | | | properly free memory in pgen | Benjamin Peterson | 2016-09-19 | 4 | -2/+35 | |
| | | | ||||||
* | | | Fix test_huntrleaks_fd_leak() of test_regrtest | Victor Stinner | 2016-09-18 | 1 | -5/+2 | |
| | | | | | | | | | | | | | | | 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. | |||||
* | | | issue23591: fix flag decomposition and repr | Ethan Furman | 2016-09-18 | 3 | -86/+193 | |
| | | |