Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dummy dtrace probes are a good place to use inline functions | Benjamin Peterson | 2016-09-10 | 1 | -19/+19 |
| | |||||
* | fix dummy macro | Benjamin Peterson | 2016-09-10 | 1 | -1/+1 |
| | |||||
* | DTrace support: function calls, GC activity, line execution | Łukasz Langa | 2016-09-10 | 2 | -0/+66 |
| | | | | | | | | | | | | | | | | | | | 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 ceval timestamp support | Benjamin Peterson | 2016-09-09 | 1 | -3/+0 |
| | |||||
* | Issue #26331: Implement the parsing part of PEP 515. | Brett Cannon | 2016-09-09 | 1 | -0/+4 |
| | | | | Thanks to Georg Brandl for the patch. | ||||
* | Issue #27810: Add _PyCFunction_FastCallKeywords() | Victor Stinner | 2016-09-09 | 2 | -1/+13 |
| | | | | | 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. | ||||
* | Add _PyObject_FastCallKeywords() | Victor Stinner | 2016-09-09 | 2 | -2/+26 |
| | | | | | | | | | | 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 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | 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 | 1 | -2/+3 |
| | |||||
* | Issue #28003: Implement PEP 525 -- Asynchronous Generators. | Yury Selivanov | 2016-09-09 | 6 | -0/+41 |
| | |||||
* | Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. | Yury Selivanov | 2016-09-09 | 4 | -73/+88 |
| | | | | Patch by Ivan Levkivskyi. | ||||
* | Issue #24254: Drop cls.__definition_order__. | Eric Snow | 2016-09-08 | 2 | -6/+0 |
| | |||||
* | Issue #1602: Windows console doesn't input or print Unicode (PEP 528) | Steve Dower | 2016-08-31 | 1 | -0/+4 |
| | | | | Closes #17602: Adds a readline implementation for the Windows console | ||||
* | Add a new private version to the builtin dict type | Victor Stinner | 2016-09-08 | 1 | -0/+4 |
| | | | | | | | Issue #26058: Add a new private version to the builtin dict type, incremented at each dictionary creation and at each dictionary change. Implementation of the PEP 509. | ||||
* | Add documentation to the dict implementation | Victor Stinner | 2016-09-08 | 1 | -0/+9 |
| | | | | Issue #27350. | ||||
* | simplify Py_UCSN definitions with stdint types | Benjamin Peterson | 2016-09-08 | 1 | -15/+3 |
| | |||||
* | Issue #23524: Finish removing _PyVerify_fd from sources | Steve Dower | 2016-09-08 | 1 | -12/+0 |
| | |||||
* | Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) | Steve Dower | 2016-09-08 | 2 | -6/+3 |
| | |||||
* | Add Py_MEMBER_SIZE macro | Victor Stinner | 2016-09-08 | 1 | -0/+3 |
| | | | | | Issue #27350: use Py_MEMBER_SIZE() macro to get the size of PyDictKeyEntry.dk_indices, rather than hardcoding 8. | ||||
* | Implement compact dict | Victor Stinner | 2016-09-08 | 1 | -1/+0 |
| | | | | | | | | | | | | Issue #27350: `dict` implementation is changed like PyPy. It is more compact and preserves insertion order. _PyDict_Dummy() function has been removed. Disable test_gdb: python-gdb.py is not updated yet to the new structure of compact dictionaries (issue #28023). Patch written by INADA Naoki. | ||||
* | more PY_LONG_LONG to long long | Benjamin Peterson | 2016-09-08 | 1 | -30/+0 |
| | |||||
* | Issue #15767: Use ModuleNotFoundError. | Eric Snow | 2016-09-07 | 1 | -0/+3 |
| | |||||
* | Issue #15767: Add ModuleNotFoundError. | Eric Snow | 2016-09-07 | 1 | -0/+1 |
| | |||||
* | Make PyCodeObject.co_extra even more private to force users through the ↵ | Brett Cannon | 2016-09-07 | 1 | -10/+4 |
| | | | | proper API. | ||||
* | Add the co_extra field and accompanying APIs to code objects. | Brett Cannon | 2016-09-07 | 3 | -1/+30 |
| | | | | This completes PEP 523. | ||||
* | make _Py_static_string_init use a designated initializer | Benjamin Peterson | 2016-09-07 | 1 | -1/+1 |
| | |||||
* | replace PY_SIZE_MAX with SIZE_MAX | Benjamin Peterson | 2016-09-07 | 1 | -9/+1 |
| | |||||
* | Issue #27959: Adds oem encoding, alias ansi to mbcs, move aliasmbcs to codec ↵ | Steve Dower | 2016-09-07 | 1 | -1/+1 |
| | | | | lookup | ||||
* | os.urandom() now blocks on Linux | Victor Stinner | 2016-09-06 | 1 | -1/+2 |
| | | | | | | | 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. | ||||
* | replace Py_(u)intptr_t with the c99 standard types | Benjamin Peterson | 2016-09-06 | 3 | -9/+9 |
| | |||||
* | require uintptr_t to exist | Benjamin Peterson | 2016-09-06 | 1 | -21/+0 |
| | |||||
* | replace Python aliases for standard integer types with the standard integer ↵ | Benjamin Peterson | 2016-09-06 | 3 | -19/+11 |
| | | | | types (#17884) | ||||
* | only include inttypes.h (#17884) | Benjamin Peterson | 2016-09-06 | 1 | -3/+0 |
| | |||||
* | Issue #27078: Added BUILD_STRING opcode. Optimized f-strings evaluation. | Serhiy Storchaka | 2016-09-06 | 2 | -0/+9 |
| | |||||
* | require standard int types to be defined (#17884) | Benjamin Peterson | 2016-09-06 | 2 | -55/+1 |
| | |||||
* | replace PY_LONG_LONG with long long | Benjamin Peterson | 2016-09-06 | 4 | -10/+10 |
| | |||||
* | require a long long data type (closes #27961) | Benjamin Peterson | 2016-09-06 | 4 | -26/+8 |
| | |||||
* | Implement the frame evaluation API aspect of PEP 523. | Brett Cannon | 2016-09-05 | 2 | -2/+8 |
| | |||||
* | Issue #24254: Preserve class attribute definition order. | Eric Snow | 2016-09-05 | 2 | -0/+6 |
| | |||||
* | Issue #11734: Add support for IEEE 754 half-precision floats to the struct ↵ | Mark Dickinson | 2016-09-03 | 1 | -4/+6 |
| | | | | module. Original patch by Eli Stevens. | ||||
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Raymond Hettinger | 2016-08-30 | 3 | -3/+3 |
| | |||||
* | Issue #27830: Revert, remove _PyFunction_FastCallKeywords() | Victor Stinner | 2016-08-25 | 2 | -23/+0 |
| | |||||
* | method_call() and slot_tp_new() now uses fast call | Victor Stinner | 2016-08-24 | 1 | -0/+4 |
| | | | | | | | Issue #27841: Add _PyObject_Call_Prepend() helper function to prepend an argument to existing arguments to call a function. This helper uses fast calls. Modify method_call() and slot_tp_new() to use _PyObject_Call_Prepend(). | ||||
* | Add _PyObject_FastCallKeywords() | Victor Stinner | 2016-08-24 | 2 | -0/+23 |
| | | | | | | 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 | 3 | -3/+5 |
| | | | | | Issue #27848: use Py_ssize_t rather than C int for the number of function positional and keyword arguments. | ||||
* | _PyFunction_FastCallDict() supports keyword args | Victor Stinner | 2016-08-22 | 2 | -2/+2 |
| | | | | | | | | Issue #27809: * Rename _PyFunction_FastCall() to _PyFunction_FastCallDict() * Rename _PyCFunction_FastCall() to _PyCFunction_FastCallDict() * _PyFunction_FastCallDict() now supports keyword arguments | ||||
* | Rename _PyObject_FastCall() to _PyObject_FastCallDict() | Victor Stinner | 2016-08-22 | 1 | -4/+13 |
| | | | | | | | | Issue #27809: * Rename _PyObject_FastCall() function to _PyObject_FastCallDict() * Add _PyObject_FastCall(), _PyObject_CallNoArg() and _PyObject_CallArg1() macros calling _PyObject_FastCallDict() | ||||
* | Merge #27782 fix from 3.5 | Nick Coghlan | 2016-08-21 | 1 | -1/+1 |
|\ | |||||
| * | Issue #27782: Fix m_methods handling in multiphase init | Nick Coghlan | 2016-08-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Multi-phase extension module import now correctly allows the ``m_methods`` field to be used to add module level functions to instances of non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang. | ||||
* | | Merge spelling fixes from 3.5 | Martin Panter | 2016-08-20 | 1 | -2/+2 |
|\ \ | |/ |