summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Null mergeSerhiy Storchaka2016-09-220-0/+0
|\ \ \ | |/ /
| * | Silence GCC warning.Serhiy Storchaka2016-09-221-2/+2
| | | | | | | | | | | | The code was correct, but GCC is not enough clever.
* | | Issue #28086: Single var-positional argument of tuple subtype was passedSerhiy Storchaka2016-09-223-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 testingChristian Heimes2016-09-221-6/+21
|\ \ \ | |/ /
| * | Make Lib/test/ssltests.py more useful and faster for OpenSSL testingChristian Heimes2016-09-221-6/+21
| | |
* | | Merge socketserver fixes from 3.5 into 3.6Martin Panter2016-09-223-3/+3
|\ \ \ | |/ /
| * | Fix references to Python 3’s socketserver (lowercase) moduleMartin Panter2016-09-223-3/+3
| | |
* | | Issue #27348: Merge exception formatting fix from 3.5 into 3.6Martin Panter2016-09-224-7/+18
|\ \ \ | |/ /
| * | Issue #27348: Restore “Exception: None” formatting in traceback moduleMartin Panter2016-09-224-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 Storchaka2016-09-221-1/+1
|\ \ \ | |/ /
| * | Extend the test to lower pickle protocols.Serhiy Storchaka2016-09-221-1/+1
| | |
* | | Issue #25651: Merge from 3.5Berker Peksag2016-09-213-2/+15
|\ \ \ | |/ /
| * | Issue #25651: Allow falsy values to be used for msg parameter of subTest()Berker Peksag2016-09-213-2/+15
| | |
* | | Merge headsSerhiy Storchaka2016-09-211-1/+9
|\ \ \
| * | | lcov: ignore more 3rd party code and internal test/debug/dummy filesChristian Heimes2016-09-211-1/+9
| | | |
* | | | Issue #28214: Now __set_name__ is looked up on the class instead of theSerhiy Storchaka2016-09-213-5/+22
|/ / / | | | | | | | | | instance.
* | | Don't define PY_WITH_KECCAKChristian Heimes2016-09-211-2/+0
| | |
* | | Merge 3.5Victor Stinner2016-09-211-1/+1
|\ \ \ | |/ /
| * | Fix PyUnicode_FromFormatV() error handlingVictor Stinner2016-09-211-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 Heimes2016-09-214-7/+26
| | |
* | | Merge 3.5Victor Stinner2016-09-211-1/+1
|\ \ \ | |/ /
| * | test_asynico: fix test_sock_connect_sock_write_race()Victor Stinner2016-09-211-1/+1
| | | | | | | | | | | | Issue #28176: Increase timeout from 10 seconds to 60 seconds.
* | | replace usage of Py_VA_COPY with the (C99) standard va_copyBenjamin Peterson2016-09-218-71/+11
| | |
* | | Fix memleak in os.getrandom()Victor Stinner2016-09-202-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 Stinner2016-09-202-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 Stinner2016-09-202-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.cVictor Stinner2016-09-201-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 Deily2016-09-201-3/+2
|\ \ \ | |/ /
| * | Make 3.7 the current dev version in the html version of the docs.Ned Deily2016-09-201-3/+2
| | |
* | | revert expat changesBenjamin Peterson2016-09-201-1/+1
| | |
* | | merge 3.5 (#28184)Benjamin Peterson2016-09-207-31/+31
|\ \ \ | |/ /
| * | remove trailing whitespaceBenjamin Peterson2016-09-203-20/+20
| | |
* | | MERGE: Docs: Correctly link to the methodsJesus Cea2016-09-191-19/+22
|\ \ \ | |/ /
| * | Docs: Correctly link to the methodsJesus Cea2016-09-191-19/+22
| | |
* | | Fix memory leak in path_converter()Victor Stinner2016-09-192-1/+4
| | | | | | | | | | | | | | | Issue #28200: Replace PyUnicode_AsWideCharString() with PyUnicode_AsUnicodeAndSize().
* | | delete dead codeBenjamin Peterson2016-09-191-3/+0
| | |
* | | merge 3.5 (#24022)Benjamin Peterson2016-09-191-1/+1
|\ \ \ | |/ /
| * | merge 3.4Benjamin Peterson2016-09-191-1/+1
| |\ \ | | |/
| | * properly handle the single null-byte file (closes #24022)Benjamin Peterson2016-09-191-1/+1
| | |
| * | Issue #28189: dictitems_contains no longer swallows compare errors.Raymond Hettinger2016-09-193-1/+30
| | | | | | | | | | | | (Patch by Xiang Zhang)
* | | mergeRaymond Hettinger2016-09-192-1/+27
| | |
* | | Issue #28193: Use lru_cache in the re module.Raymond Hettinger2016-09-191-11/+4
| | |
* | | correct silly spelling problemBenjamin Peterson2016-09-191-9/+9
| | |
* | | replace obmalloc's homegrown uptr and uchar types with standard onesBenjamin Peterson2016-09-191-42/+31
| | |
* | | improvements to code that checks whether Python (obmalloc) allocated an addressBenjamin Peterson2016-09-191-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_ULLBenjamin Peterson2016-09-194-90/+86
| | |
* | | always define HAVE_LONG_LONG (#27961)Benjamin Peterson2016-09-191-0/+3
| | |
* | | properly free memory in pgenBenjamin Peterson2016-09-194-2/+35
| | |
* | | Fix test_huntrleaks_fd_leak() of test_regrtestVictor Stinner2016-09-181-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 reprEthan Furman2016-09-183-86/+193
| | |