Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception | Serhiy Storchaka | 2016-10-18 | 1 | -20/+26 |
|\ | | | | | | | loss in PyTraceBack_Here(). | ||||
| * | Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception | Serhiy Storchaka | 2016-10-18 | 1 | -20/+26 |
| | | | | | | | | loss in PyTraceBack_Here(). | ||||
| * | Issue #28257: Improved error message when pass a non-mapping as a var-keyword | Serhiy Storchaka | 2016-10-07 | 1 | -4/+17 |
| | | | | | | | | argument. | ||||
* | | Issue #24098: Fixed possible crash when AST is changed in process of | Serhiy Storchaka | 2016-10-07 | 1 | -0/+220 |
|\ \ | |/ | | | | | compiling it. | ||||
| * | Issue #24098: Fixed possible crash when AST is changed in process of | Serhiy Storchaka | 2016-10-07 | 1 | -0/+216 |
| | | | | | | | | compiling it. | ||||
* | | Issue #27358: Fix typo in error message | Berker Peksag | 2016-10-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #27358: Optimized merging var-keyword arguments and improved error | Serhiy Storchaka | 2016-10-02 | 1 | -44/+54 |
| | | | | | | | | message when pass a non-mapping as a var-keyword argument. | ||||
* | | Issue #28257: Improved error message when pass a non-iterable as | Serhiy Storchaka | 2016-10-02 | 4 | -110/+121 |
| | | | | | | | | a var-positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL. | ||||
* | | Issue #27942: String constants now interned recursively in tuples and ↵ | Serhiy Storchaka | 2016-09-30 | 2 | -3625/+3620 |
|\ \ | |/ | | | | | frozensets. | ||||
| * | Issue #27942: String constants now interned recursively in tuples and ↵ | Serhiy Storchaka | 2016-09-30 | 2 | -867/+865 |
| | | | | | | | | frozensets. | ||||
| * | Silence GCC warning. | Serhiy Storchaka | 2016-09-22 | 1 | -2/+2 |
| | | | | | | | | The code was correct, but GCC is not enough clever. | ||||
* | | Issue #28148: Stop using localtime() and gmtime() in the time module. | Alexander Belopolsky | 2016-09-28 | 1 | -0/+52 |
| | | | | | | | | | | | | Introduced platform independent _PyTime_localtime API that is similar to POSIX localtime_r, but available on all platforms. Patch by Ed Schouten. | ||||
* | | Issue #28100: Refactor error messages, patch by Ivan Levkivskyi | Christian Heimes | 2016-09-23 | 1 | -12/+8 |
| | | |||||
* | | Issue #28086: Single var-positional argument of tuple subtype was passed | Serhiy Storchaka | 2016-09-22 | 1 | -2/+2 |
| | | | | | | | | unscathed to the C-defined function. Now it is converted to exact tuple. | ||||
* | | va_end() all va_copy()ed va_lists. | Christian Heimes | 2016-09-21 | 2 | -7/+21 |
| | | |||||
* | | replace usage of Py_VA_COPY with the (C99) standard va_copy | Benjamin Peterson | 2016-09-21 | 2 | -7/+7 |
| | | |||||
* | | (Merge 3.5) Catch EPERM error in py_getrandom() | Victor Stinner | 2016-09-20 | 1 | -8/+11 |
|\ \ | |/ | | | | | | | 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 | 1 | -7/+8 |
| | | | | | | | | | | 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 {...} | ||||
| * | Issue #27932: Prevent memory leak in win32_ver(). | Steve Dower | 2016-09-18 | 1 | -0/+37 |
| | | |||||
* | | delete dead code | Benjamin Peterson | 2016-09-19 | 1 | -3/+0 |
| | | |||||
* | | Issue #27932: Prevent memory leak in win32_ver(). | Steve Dower | 2016-09-18 | 1 | -4/+42 |
| | | |||||
* | | Issue #26182: Raise DeprecationWarning for improper use of async/await keywords | Yury Selivanov | 2016-09-15 | 1 | -0/+20 |
| | | |||||
* | | merge 3.5 (#28119) | Benjamin Peterson | 2016-09-14 | 1 | -22/+14 |
|\ \ | |/ | |||||
| * | improve type-safe of and prevent double-frees in get_locale_info (#28119) | Benjamin Peterson | 2016-09-14 | 1 | -17/+9 |
| | | |||||
| * | Issue #26020: Fix evaluation order for set literals | Raymond Hettinger | 2016-09-08 | 1 | -2/+4 |
| | | |||||
| * | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Martin Panter | 2016-09-07 | 2 | -2/+2 |
| | | |||||
| * | [backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder". | Senthil Kumaran | 2016-09-07 | 1 | -3/+4 |
| | | |||||
* | | Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly ↵ | Christian Heimes | 2016-09-13 | 2 | -3/+3 |
| | | | | | | | | optimize memcpy(). | ||||
* | | Document kwnames in _PyObject_FastCallKeywords() and _PyStack_AsDict() | Victor Stinner | 2016-09-12 | 1 | -0/+5 |
| | | | | | | | | Issue #27213. | ||||
* | | Issue #27213: Fix reference leaks | Victor Stinner | 2016-09-12 | 1 | -0/+2 |
| | | |||||
* | | Make an f-string error message more exact and consistent. | Eric V. Smith | 2016-09-11 | 1 | -1/+1 |
| | | |||||
* | | Issue #27213: Fixed different issues with reworked CALL_FUNCTION* opcodes. | Serhiy Storchaka | 2016-09-11 | 4 | -3437/+3409 |
| | | | | | | | | | | | | | | | | | | | | | | * BUILD_TUPLE_UNPACK and BUILD_MAP_UNPACK_WITH_CALL no longer generated with single tuple or dict. * Restored more informative error messages for incorrect var-positional and var-keyword arguments. * Removed code duplications in _PyEval_EvalCodeWithName(). * Removed redundant runtime checks and parameters in _PyStack_AsDict(). * Added a workaround and enabled previously disabled test in test_traceback. * Removed dead code from the dis module. | ||||
* | | Issue #28076: Variable annotations should be mangled for private names. | Guido van Rossum | 2016-09-11 | 1 | -1/+7 |
| | | | | | | | | By Ivan Levkivskyi. | ||||
* | | Fixed refactoring bug in dd046963bd42 (issue27129). | Serhiy Storchaka | 2016-09-11 | 1 | -1/+1 |
| | | |||||
* | | Issue #27129: Replaced wordcode related magic constants with macros. | Serhiy Storchaka | 2016-09-11 | 4 | -154/+159 |
| | | |||||
* | | Issue #23722: Initialize __class__ from type.__new__() | Nick Coghlan | 2016-09-11 | 3 | -1253/+1257 |
| | | | | | | | | | | | | | | | | | | The __class__ cell used by zero-argument super() is now initialized from type.__new__ rather than __build_class__, so class methods relying on that will now work correctly when called from metaclass methods during class creation. Patch by Martin Teichmann. | ||||
* | | Backed out changeset 3934e070c9db | Benjamin Peterson | 2016-09-11 | 1 | -2/+1 |
| | | |||||
* | | Fix check_force_ascii() | Victor Stinner | 2016-09-10 | 1 | -8/+9 |
| | | | | | | | | | | Issue #27938: Normalize aliases of the ASCII encoding, because _Py_normalize_encoding() now correctly normalize encoding names. | ||||
* | | Don't run garbage collection on interpreter exit if it was explicitly disabled | Łukasz Langa | 2016-09-10 | 1 | -3/+3 |
| | | | | | | | | by the user. | ||||
* | | Issue #27810: Fix getargs.c compilation on Windows | Victor Stinner | 2016-09-10 | 1 | -1/+2 |
| | | |||||
* | | fix export of size_t parse stack function | Benjamin Peterson | 2016-09-10 | 1 | -0/+2 |
| | | |||||
* | | Issue #27810: Rerun Argument Clinic on all modules | Victor Stinner | 2016-09-10 | 1 | -4/+4 |
| | | |||||
* | | Emit METH_FASTCALL code in Argument Clinic | Victor Stinner | 2016-09-10 | 1 | -27/+157 |
| | | | | | | | | | | | | | | | | | | Issue #27810: * Modify vgetargskeywordsfast() to work on a C array of PyObject* rather than working on a tuple directly. * Add _PyArg_ParseStack() * Argument Clinic now emits code using the new METH_FASTCALL calling convention | ||||
* | | Add METH_FASTCALL calling convention | Victor Stinner | 2016-09-10 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | Issue #27810: Add a new calling convention for C functions: PyObject* func(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames); Where args is a C array of positional arguments followed by values of keyword arguments. nargs is the number of positional arguments, kwnames are keys of keyword arguments. kwnames can be NULL. | ||||
* | | make invalid_comma_and_underscore a real prototype | Benjamin Peterson | 2016-09-10 | 1 | -1/+1 |
| | | |||||
* | | Issue 27080: PEP 515: add '_' formatting option. | Eric V. Smith | 2016-09-10 | 1 | -21/+51 |
| | | |||||
* | | add dtrace inline stubs | Benjamin Peterson | 2016-09-10 | 1 | -0/+24 |
| | | |||||
* | | just start with an int rather than casting | Benjamin Peterson | 2016-09-10 | 1 | -2/+2 |
| | | |||||
* | | Issue 27948: Allow backslashes in the literal string portion of f-strings, ↵ | Eric V. Smith | 2016-09-10 | 1 | -273/+211 |
| | | | | | | | | but not in the expressions. Also, require expressions to begin and end with literal curly braces. |