Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | DTrace support: function calls, GC activity, line execution | Łukasz Langa | 2016-09-10 | 1 | -2/+76 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc. Largely based by an initial patch by Jesús Cea Avión, with some influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's unification patch. Things deliberately left out for simplicity: - ustack helpers, I have no way of testing them at this point since they are Solaris-specific - PyFrameObject * in function__entry/function__return, this is SystemTap-specific - SPARC support - dynamic tracing - sys module dtrace facility introspection All of those might be added later. | ||||
* | | remove more READ_TIMESTAMP | Benjamin Peterson | 2016-09-09 | 1 | -12/+0 |
| | | |||||
* | | remove READ_TIMESTAMP macro | Benjamin Peterson | 2016-09-09 | 1 | -3/+0 |
| | | |||||
* | | remove ceval timestamp support | Benjamin Peterson | 2016-09-09 | 3 | -186/+1 |
| | | |||||
* | | Issue #26331: Implement the parsing part of PEP 515. | Brett Cannon | 2016-09-09 | 2 | -1/+92 |
| | | | | | | | | Thanks to Georg Brandl for the patch. | ||||
* | | Issue #27810: Add _PyCFunction_FastCallKeywords() | Victor Stinner | 2016-09-09 | 1 | -136/+28 |
| | | | | | | | | | | Use _PyCFunction_FastCallKeywords() in ceval.c: it allows to remove a lot of code from ceval.c which was only used to call C functions. | ||||
* | | Issue #24320: Drop an old setuptools-induced hack. | Eric Snow | 2016-09-09 | 1 | -53/+52 |
| | | |||||
* | | Add _PyObject_FastCallKeywords() | Victor Stinner | 2016-09-09 | 1 | -53/+36 |
| | | | | | | | | | | | | | | | | | | | | Issue #27830: Add _PyObject_FastCallKeywords(): avoid the creation of a temporary dictionary for keyword arguments. Other changes: * Cleanup call_function() and fast_function() (ex: rename nk to nkwargs) * Remove now useless do_call(), replaced with _PyObject_FastCallKeywords() | ||||
* | | Rework CALL_FUNCTION* opcodes | Victor Stinner | 2016-09-09 | 5 | -3426/+3326 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #27213: Rework CALL_FUNCTION* opcodes to produce shorter and more efficient bytecode: * CALL_FUNCTION now only accepts position arguments * CALL_FUNCTION_KW accepts position arguments and keyword arguments, but keys of keyword arguments are packed into a constant tuple. * CALL_FUNCTION_EX is the most generic, it expects a tuple and a dict for positional and keyword arguments. CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW opcodes have been removed. 2 tests of test_traceback are currently broken: skip test, the issue #28050 was created to track the issue. Patch by Demur Rumed, design by Serhiy Storchaka, reviewed by Serhiy Storchaka and Victor Stinner. | ||||
* | | Issue #28008: Implement PEP 530 -- asynchronous comprehensions. | Yury Selivanov | 2016-09-09 | 5 | -46/+277 |
| | | |||||
* | | Issue #27999: Make "global after use" a SyntaxError, and ditto for nonlocal. | Guido van Rossum | 2016-09-09 | 1 | -68/+36 |
| | | | | | | | | Patch by Ivan Levkivskyi. | ||||
* | | Issue #28003: Fix a compiler warning | Yury Selivanov | 2016-09-09 | 1 | -1/+1 |
| | | |||||
* | | ceval: tighten the code of STORE_ANNOTATION | Yury Selivanov | 2016-09-09 | 1 | -2/+1 |
| | | |||||
* | | Issue #28003: Implement PEP 525 -- Asynchronous Generators. | Yury Selivanov | 2016-09-09 | 6 | -36/+220 |
| | | |||||
* | | Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. | Yury Selivanov | 2016-09-09 | 9 | -1003/+1621 |
| | | | | | | | | Patch by Ivan Levkivskyi. | ||||
* | | Fix potential NULL pointer dereference in _imp_create_builtin | Christian Heimes | 2016-09-08 | 1 | -0/+4 |
| | | | | | | | | | | | | | | PyModule_GetDef() can return NULL. Let's check the return value properly like in the other five cases. CID 1299590 | ||||
* | | Issue #24254: Drop cls.__definition_order__. | Eric Snow | 2016-09-08 | 1 | -1/+1 |
| | | |||||
* | | Fix potential NULL pointer dereference in update_symbols() | Christian Heimes | 2016-09-08 | 1 | -1/+1 |
| | | | | | | | | | | | | symtable_analyze() calls analyze_block() with bound=NULL. Theoretically that NULL can be passed down to update_symbols(). update_symbols() may deference NULL and pass it to PySet_Contains() | ||||
* | | Merge | Raymond Hettinger | 2016-09-08 | 1 | -2/+4 |
| | | |||||
* | | Issue #1602: Windows console doesn't input or print Unicode (PEP 528) | Steve Dower | 2016-08-31 | 1 | -0/+18 |
| | | | | | | | | Closes #17602: Adds a readline implementation for the Windows console | ||||
* | | Issue #23524: Finish removing _PyVerify_fd from sources | Steve Dower | 2016-09-08 | 2 | -125/+5 |
| | |