summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Issue #27830: Revert, remove _PyFunction_FastCallKeywords()Victor Stinner2016-08-252-23/+0
|
* method_call() and slot_tp_new() now uses fast callVictor Stinner2016-08-241-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 Stinner2016-08-242-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 argumentsVictor Stinner2016-08-243-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 argsVictor Stinner2016-08-222-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 Stinner2016-08-221-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.5Nick Coghlan2016-08-211-1/+1
|\
| * Issue #27782: Fix m_methods handling in multiphase initNick Coghlan2016-08-211-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.5Martin Panter2016-08-201-2/+2
|\ \ | |/
| * Minor spelling fixesMartin Panter2016-08-201-2/+2
| |
* | Fix PyObject_Call() parameter namesVictor Stinner2016-08-192-2/+2
| | | | | | | | | | | | Issue #27128: arg=>args, kw=>kwargs. Same change for PyEval_CallObjectWithKeywords().
* | Add _PyObject_FastCall()Victor Stinner2016-08-193-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #27128: Add _PyObject_FastCall(), a new calling convention avoiding a temporary tuple to pass positional parameters in most cases, but create a temporary tuple if needed (ex: for the tp_call slot). The API is prepared to support keyword parameters, but the full implementation will come later (_PyFunction_FastCall() doesn't support keyword parameters yet). Add also: * _PyStack_AsTuple() helper function: convert a "stack" of parameters to a tuple. * _PyCFunction_FastCall(): fast call implementation for C functions * _PyFunction_FastCall(): fast call implementation for Python functions
* | Start 3.6.0bb1Ned Deily2016-08-161-1/+1
| |
* | Version bump for 3.6.0a4v3.6.0a4Ned Deily2016-08-151-2/+2
| |
* | Issue #12345: Add mathemathcal constant tau to math and cmath.Guido van Rossum2016-08-151-0/+6
| | | | | | | | Patch by Lisa Roach. See also PEP 628.
* | Issue #10910: merge from 3.5Ned Deily2016-08-151-1/+10
|\ \ | |/
| * Issue #10910: Update FreedBSD version checks for the ctype UTF-8 workaround.Ned Deily2016-08-151-1/+3
| | | | | | | | | | The original problem has been fixed in newer versions of FreeBSD. Patch by Dimitry Andric of the FreeBSD project.
| * Issue #10910: Avoid C++ compilation errors on FreeBSD and OS X.Ned Deily2016-08-151-0/+7
| | | | | | | | Patch by Ronald Oussoren.
* | Issue #27574: Decreased an overhead of parsing keyword arguments in functionsSerhiy Storchaka2016-08-141-0/+23
| | | | | | | | implemented with using Argument Clinic.
* | Merge spelling and grammar fixes from 3.5Martin Panter2016-08-051-1/+1
|\ \ | |/
| * Fix spelling and grammar in documentation and code commentsMartin Panter2016-08-041-1/+1
| |
* | Issue #22557: Now importing already imported modules is up to 2.5 times faster.Serhiy Storchaka2016-08-021-0/+1
| |
* | Issue #27626: Merge spelling fixes from 3.5Martin Panter2016-07-281-1/+1
|\ \ | |/
| * Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-281-1/+1
| | | | | | | | Based on patch by Ville Skyttä.
| * Post-release fixups for Python 3.5.2.Larry Hastings2016-06-271-1/+1
| |
| * Version number bump for 3.5.2 final.v3.5.2Larry Hastings2016-06-251-3/+3
| |
| * Post-release fixups for Python 3.5.2rc1.Larry Hastings2016-06-131-1/+1
| |
| * Release bump for 3.5.2rc1.Larry Hastings2016-06-121-4/+4
| |
* | Closes issue #24773: Implement PEP 495 (Local Time Disambiguation).Alexander Belopolsky2016-07-221-0/+17
| |
* | Start 3.6.0a4Ned Deily2016-07-121-1/+1
| |
* | Version bump for 3.6.0a3v3.6.0a3Ned Deily2016-07-111-2/+2
| |
* | Start 3.6.0a3Ned Deily2016-06-141-1/+1
| |
* | Version bump for 3.6.0a2v3.6.0a2Ned Deily2016-06-131-2/+2
| |
* | Issue #27095: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes.Serhiy Storchaka2016-06-121-1/+0
| | | | | | | | Patch by Demur Rumed.
* | Issue #27140: Added BUILD_CONST_KEY_MAP opcode.Serhiy Storchaka2016-06-111-0/+1
| |
* | Merge 3.5 (issue #27243)Yury Selivanov2016-06-091-0/+3
|\ \ | |/
| * Issue #27243: Fix __aiter__ protocolYury Selivanov2016-06-091-0/+3
| |
* | issue27186: add C version of os.fspath(); patch by Jelle ZijlstraEthan Furman2016-06-042-0/+16
| |
* | merge 3.5Benjamin Peterson2016-06-041-7/+7
|\ \ | |/
| * fix indentation of commentBenjamin Peterson2016-06-041-7/+7
| |
* | Issue #27171: Merge typo fixes from 3.5Martin Panter2016-06-021-1/+1
|\ \ | |/
| * Issue #27171: Fix typos in documentation, comments, and test function namesMartin Panter2016-06-021-1/+1
| |
* | Issue #26857: The gethostbyaddr_r() workaround is no longer needed withStefan Krah2016-05-221-0/+4
| | | | | | | | api-level >= 23. Patch by Xavier de Gaye.
* | Post-release cleanup: 3.6.0a1 -> 3.6.0a2Ned Deily2016-05-171-1/+1
| |
* | Version bump for 3.6.0a1v3.6.0a1Ned Deily2016-05-161-2/+2
| |
* | Merge typo fixes from 3.5Martin Panter2016-05-081-1/+1
|\ \ | |/
| * Corrections for a/an in code comments and documentationMartin Panter2016-05-081-1/+1
| |
* | Issue #26765: Moved common code and docstrings for bytes and bytearray methodsSerhiy Storchaka2016-05-041-0/+21
| | | | | | | | to bytes_methods.c.
* | Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().Serhiy Storchaka2016-05-011-2/+2
|\ \ | |/
| * Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().Serhiy Storchaka2016-05-011-2/+2
| |