Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | 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 | |
| | | | | ||||||
* | | | | Issue #28026: Raise ImportError when exec_module() exists but ↵ | Eric Snow | 2016-09-08 | 1 | -899/+895 | |
| | | | | | | | | | | | | | | | | create_module() is missing. | |||||
* | | | | Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) | Steve Dower | 2016-09-08 | 3 | -5/+73 | |
| | | | | ||||||
* | | | | Issue #26667: Add path-like object support to importlib.util. | Brett Cannon | 2016-09-08 | 1 | -2164/+2168 | |
| | | | | ||||||
* | | | | Issue #27911: Remove some unnecessary error checks in import.c. | Brett Cannon | 2016-09-08 | 1 | -6/+2 | |
| | | | | | | | | | | | | | | | | Thanks to Xiang Zhang for the patch. | |||||
* | | | | Issue #15767: Use ModuleNotFoundError. | Eric Snow | 2016-09-07 | 3 | -258/+274 | |
| | | | | ||||||
* | | | | Add the co_extra field and accompanying APIs to code objects. | Brett Cannon | 2016-09-07 | 2 | -0/+15 | |
| | | | | | | | | | | | | | | | | This completes PEP 523. | |||||
* | | | | replace PY_SIZE_MAX with SIZE_MAX | Benjamin Peterson | 2016-09-07 | 3 | -7/+7 | |
| | | | | ||||||
* | | | | os.urandom() now blocks on Linux | Victor Stinner | 2016-09-06 | 1 | -31/+46 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #27776: The os.urandom() function does now block on Linux 3.17 and newer until the system urandom entropy pool is initialized to increase the security. This change is part of the PEP 524. | |||||
* | | | | Issue #27974: Remove importlib._bootstrap._ManageReload. | Brett Cannon | 2016-09-06 | 1 | -1799/+1746 | |
| | | | | | | | | | | | | | | | | Class was dead code. Thanks to Xiang Zhang for the patch. | |||||
* | | | | replace Py_(u)intptr_t with the c99 standard types | Benjamin Peterson | 2016-09-06 | 3 | -6/+6 | |
| | | | | ||||||
* | | | | replace Python aliases for standard integer types with the standard integer ↵ | Benjamin Peterson | 2016-09-06 | 1 | -28/+25 | |
| | | | | | | | | | | | | | | | | types (#17884) | |||||
* | | | | dtoa.c: remove code for platforms with 64-bit integers (#17884) | Benjamin Peterson | 2016-09-06 | 1 | -104/+0 | |
| | | | | ||||||
* | | | | Issue #27078: Added BUILD_STRING opcode. Optimized f-strings evaluation. | Serhiy Storchaka | 2016-09-06 | 5 | -334/+329 | |
| | | | | ||||||
* | | | | require standard int types to be defined (#17884) | Benjamin Peterson | 2016-09-06 | 1 | -12/+3 | |
| | | | | ||||||
* | | | | replace PY_LONG_LONG with long long | Benjamin Peterson | 2016-09-06 | 6 | -31/+31 | |
| | | | | ||||||
* | | | | Avoid calling functions with an empty string as format string | Victor Stinner | 2016-09-06 | 4 | -15/+15 | |
| | | | | | | | | | | | | | | | | Directly pass NULL rather than an empty string. | |||||
* | | | | Avoid inefficient way to call functions without argument | Victor Stinner | 2016-09-06 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Don't pass "()" format to PyObject_CallXXX() to call a function without argument: pass NULL as the format string instead. It avoids to have to parse a string to produce 0 argument. | |||||
* | | | | require a long long data type (closes #27961) | Benjamin Peterson | 2016-09-06 | 4 | -24/+3 | |
| | | | | ||||||
* | | | | Implement the frame evaluation API aspect of PEP 523. | Brett Cannon | 2016-09-05 | 2 | -0/+8 | |
| | | | | ||||||
* | | | | Issue #27355: Removed support for Windows CE. It was never finished, | Larry Hastings | 2016-09-05 | 2 | -27/+3 | |
| | | | | | | | | | | | | | | | | and Windows CE is no longer a relevant platform for Python. | |||||
* | | | | Issue #24254: Preserve class attribute definition order. | Eric Snow | 2016-09-05 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Closes issue 27921: Disallow backslashes anywhere in f-strings. This is a ↵ | Eric V. Smith | 2016-09-03 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | temporary restriction. In 3.6 beta 2, the plan is to again allow backslashes in the string parts of f-strings, but disallow them in the expression parts. | |||||
* | | | | Merge | Raymond Hettinger | 2016-09-03 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue 27936: Fix inconsistent round() behavior between float and int | Raymond Hettinger | 2016-09-03 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Merge | Raymond Hettinger | 2016-08-31 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue #27909: Fix INCREF for possible NULL value | Raymond Hettinger | 2016-08-31 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Raymond Hettinger | 2016-08-30 | 3 | -8/+8 | |
| | | | | ||||||
* | | | | Issue #27818: Speed up parsing width and precision in format() strings for | Serhiy Storchaka | 2016-08-29 | 1 | -9/+16 | |
| | | | | | | | | | | | | | | | | numbers. Patch by Stefan Behnel. | |||||
* | | | | Merge | Raymond Hettinger | 2016-08-26 | 1 | -2/+2 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue 19504: Change "customise" to "customize" American spelling. | Raymond Hettinger | 2016-08-26 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | Issue #27830: Revert, remove _PyFunction_FastCallKeywords() | Victor Stinner | 2016-08-25 | 1 | -6/+6 | |
| | | | | ||||||
* | | | | Add _PyObject_FastCallKeywords() | Victor Stinner | 2016-08-24 | 1 | -9/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Issue #27830: Similar to _PyObject_FastCallDict(), but keyword arguments are also passed in the same C array than positional arguments, rather than being passed as a Python dict. | |||||
* | | | | Use Py_ssize_t type for number of arguments | Victor Stinner | 2016-08-24 | 2 | -84/+115 | |
| | | | | | | | | | | | | | | | | | | | | Issue #27848: use Py_ssize_t rather than C int for the number of function positional and keyword arguments. | |||||
* | | | | Issue #27809: map_next() uses fast call | Victor Stinner | 2016-08-23 | 1 | -15/+31 | |
| | | | | | | | | | | | | | | | | | | | | Use a small stack allocated in the C stack for up to 5 iterator functions, otherwise allocates a stack on the heap memory. | |||||
* | | | | Backed out changeset 70f88b097f60 (map_next) | Victor Stinner | 2016-08-23 | 1 | -31/+15 | |
| | | | |