summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace PyObject_CallFunctionObjArgs() with fastcallVictor Stinner2016-12-0133-83/+71
| | | | | | | | | | | | | | * PyObject_CallFunctionObjArgs(func, NULL) => _PyObject_CallNoArg(func) * PyObject_CallFunctionObjArgs(func, arg, NULL) => _PyObject_CallArg1(func, arg) PyObject_CallFunctionObjArgs() allocates 40 bytes on the C stack and requires extra work to "parse" C arguments to build a C array of PyObject*. _PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate memory on the C stack. This change is part of the fastcall project. The change on listsort() is related to the issue #23507.
* Backed out changeset 7efddbf1aa70Victor Stinner2016-11-304-93/+90
|
* Uniformize argument names of "call" functionsVictor Stinner2016-11-294-90/+93
| | | | | | | | | | | | * Callable object: callable, o, callable_object => func * Object for method calls: o => obj * Method name: name or nameid => method Cleanup also the C code: * Don't initialize variables to NULL if they are not used before their first assignement * Add braces for readability
* Issue #28790: Fix error when using Generic and __slots__ (Ivan L) (3.6->3.7)Guido van Rossum2016-11-292-3/+53
|\
| * Issue #28790: Fix error when using Generic and __slots__ (Ivan L) (3.5->3.6)Guido van Rossum2016-11-292-3/+53
| |\
| | * Issue #28790: Fix error when using Generic and __slots__ (Ivan L)Guido van Rossum2016-11-292-3/+53
| | |
* | | Null merge 3.6Victor Stinner2016-11-290-0/+0
|\ \ \ | |/ /
| * | Add TCP_CONGESTION and TCP_USER_TIMEOUTVictor Stinner2016-11-292-0/+10
| | | | | | | | | | | | | | | | | | | | | Issue #26273: Add new socket.TCP_CONGESTION (Linux 2.6.13) and socket.TCP_USER_TIMEOUT (Linux 2.6.37) constants. Patch written by Omar Sandoval.
* | | Add TCP_CONGESTION and TCP_USER_TIMEOUTVictor Stinner2016-11-292-0/+10
| | | | | | | | | | | | | | | | | | | | | Issue #26273: Add new socket.TCP_CONGESTION (Linux 2.6.13) and socket.TCP_USER_TIMEOUT (Linux 2.6.37) constants. Patch written by Omar Sandoval.
* | | Issue #28797: Modifying the class __dict__ inside the __set_name__ method ofSerhiy Storchaka2016-11-293-3/+31
|\ \ \ | |/ / | | | | | | | | | a descriptor that is used inside that class no longer prevents calling the __set_name__ method of other descriptors.
| * | Issue #28797: Modifying the class __dict__ inside the __set_name__ method ofSerhiy Storchaka2016-11-293-3/+31
| | | | | | | | | | | | | | | a descriptor that is used inside that class no longer prevents calling the __set_name__ method of other descriptors.
* | | Issue #28823: Simplified compiling with opcode BUILD_MAP_UNPACK.Serhiy Storchaka2016-11-281-5/+2
| | |
* | | call_function(): document PyMethod optimizationVictor Stinner2016-11-281-1/+5
| | |
* | | Reintroduce Python2 support in generate_opcode_h.pyVictor Stinner2016-11-281-3/+9
| | | | | | | | | | | | | | | | | | Issue #28821. Add also a message to show that the command did something :-)
* | | Merge 3.6 (issue #28635)Yury Selivanov2016-11-281-0/+34
|\ \ \ | |/ /
| * | Issue #28635: Document Python 3.6 opcode changesYury Selivanov2016-11-281-0/+34
| | | | | | | | | | | | | | | | | | Thanks to Serhiy Storchaka for pointing out the missing notes. Patch by Elvis Pranskevichus.
* | | Issue #28799: Update Misc/SpecialBuilds.txtVictor Stinner2016-11-281-11/+0
| | | | | | | | | | | | Remove CALL_PROFILE.
* | | Remove CALL_PROFILE special buildVictor Stinner2016-11-285-133/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #28799: * Remove the PyEval_GetCallStats() function. * Deprecate the untested and undocumented sys.callstats() function. * Remove the CALL_PROFILE special build Use the sys.setprofile() function, cProfile or profile module to profile function calls.
* | | Issue #12844: More than 255 arguments can now be passed to a function.Serhiy Storchaka2016-11-284-68/+71
| | |
* | | Merge with 3.6Zachary Ware2016-11-281-1/+1
|\ \ \ | |/ /
| * | Fix grammar in whatsnewZachary Ware2016-11-281-1/+1
| | |
* | | Merge 3.6, fix for #24142Łukasz Langa2016-11-264-1/+29
|\ \ \ | |/ /
| * | Merge 3.5, fix for #24142Łukasz Langa2016-11-264-1/+29
| |\ \ | | |/
| | * Fixes #24142: [configparser] always join multiline values to not leave the ↵Łukasz Langa2016-11-264-1/+29
| | | | | | | | | | | | parser in an invalid state
* | | Issue #28763: Use double hyphens (rendered as en-dashes) in numerical rangesSerhiy Storchaka2016-11-2616-24/+24
|\ \ \ | |/ / | | | | | | in the documentation.
| * | Issue #28763: Use double hyphens (rendered as en-dashes) in numerical rangesSerhiy Storchaka2016-11-2616-24/+24
| |\ \ | | |/ | | | | | | in the documentation.
| | * Issue #28763: Use double hyphens (rendered as en-dashes) in numerical rangesSerhiy Storchaka2016-11-2617-25/+25
| | | | | | | | | | | | in the documentation.
* | | Merge from 3.6Berker Peksag2016-11-251-1/+1
|\ \ \ | |/ /
| * | Merge from 3.5Berker Peksag2016-11-251-1/+1
| |\ \ | | |/
| | * Add missing square bracket in typing.get_type_hints()Berker Peksag2016-11-251-1/+1
| | |
* | | Issue #28738: Merge from 3.6Berker Peksag2016-11-251-2/+3
|\ \ \ | |/ /
| * | Issue #28738: Merge from 3.6Berker Peksag2016-11-251-2/+3
| |\ \ | | |/
| | * Issue #28738: Document SIGBREAK as an acceptable value on WindowsBerker Peksag2016-11-251-2/+3
| | | | | | | | | | | | Patch by Wojtek Ruszczewski.
* | | Issue #28796: Silence Sphinx warningsBerker Peksag2016-11-251-3/+3
| | | | | | | | | | | | | | | | | | WARNING: Inline emphasis start-string without end-string. Patch by Julien Palard.
* | | Issue #28793: Merge from 3.6Berker Peksag2016-11-251-1/+1
|\ \ \ | |/ /
| * | Issue #28793: Fix c/p error in AsyncGenerator documentationBerker Peksag2016-11-251-1/+1
| | | | | | | | | | | | Patch by Julien Palard.
* | | Fix a ResourceWarning in generate_opcode_h.pyVictor Stinner2016-11-251-1/+5
| | | | | | | | | | | | | | | Use a context manager to close the Python file. Replace also open() with tokenize.open() to handle coding cookie if any in Lib/opcode.py.
* | | Issue #28792: Remove aliases from _bisectVictor Stinner2016-11-242-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Remove aliases from the C module. Always implement bisect() and insort() aliases in bisect.py Remove also the "# backward compatibility" command, there is no plan to deprecate nor remove these aliases. When keys are equal, it makes sense to use bisect.bisect() and bisect.insort().
* | | Merge 3.6Victor Stinner2016-11-243-0/+14
|\ \ \ | |/ /
| * | Fix _PyGen_yf()Victor Stinner2016-11-243-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | Issue #28782: Fix a bug in the implementation ``yield from`` when checking if the next instruction is YIELD_FROM. Regression introduced by WORDCODE (issue #26647). Reviewed by Serhiy Storchaka and Yury Selivanov.
* | | Merge 3.6Victor Stinner2016-11-240-0/+0
|\ \ \ | |/ /
| * | Issue #28773: Add typing.FrozenSet docs. (Manuel Krebber) (3.5->3.6)Guido van Rossum2016-11-241-0/+4
| |\ \ | | |/
* | | Issue #28773: Add typing.FrozenSet docs. (Manuel Krebber) (3.6->3.7)Guido van Rossum2016-11-241-0/+4
|\ \ \ | | |/ | |/|
| * | Issue #28773: Add typing.FrozenSet docs. (Manuel Krebber)Guido van Rossum2016-11-241-0/+4
| | |
* | | mergeRaymond Hettinger2016-11-241-3/+3
|\ \ \ | | |/ | |/|
| * | Issue #27100: Silence deprecation warning in Lib/test/test_with.pyRaymond Hettinger2016-11-241-3/+3
| | |
* | | Issue #28532: Add what's new entry for python -VV optionINADA Naoki2016-11-242-0/+14
|\ \ \ | |/ /
| * | Issue #28532: Add what's new entry for python -VV optionINADA Naoki2016-11-242-0/+14
| | |
* | | Issue #28783: Embedded and nuget packages incorrect reference missing ↵Steve Dower2016-11-232-3/+48
|\ \ \ | |/ / | | | | | | bdist_wininst command.
| * | Issue #28783: Embedded and nuget packages incorrect reference missing ↵Steve Dower2016-11-232-3/+48
| |\ \ | | |/ | | | | | | bdist_wininst command.