Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace PyObject_CallFunctionObjArgs() with fastcall | Victor Stinner | 2016-12-01 | 33 | -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 7efddbf1aa70 | Victor Stinner | 2016-11-30 | 4 | -93/+90 |
| | |||||
* | Uniformize argument names of "call" functions | Victor Stinner | 2016-11-29 | 4 | -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 Rossum | 2016-11-29 | 2 | -3/+53 |
|\ | |||||
| * | Issue #28790: Fix error when using Generic and __slots__ (Ivan L) (3.5->3.6) | Guido van Rossum | 2016-11-29 | 2 | -3/+53 |
| |\ | |||||
| | * | Issue #28790: Fix error when using Generic and __slots__ (Ivan L) | Guido van Rossum | 2016-11-29 | 2 | -3/+53 |
| | | | |||||
* | | | Null merge 3.6 | Victor Stinner | 2016-11-29 | 0 | -0/+0 |
|\ \ \ | |/ / | |||||
| * | | Add TCP_CONGESTION and TCP_USER_TIMEOUT | Victor Stinner | 2016-11-29 | 2 | -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_TIMEOUT | Victor Stinner | 2016-11-29 | 2 | -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 of | Serhiy Storchaka | 2016-11-29 | 3 | -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 of | Serhiy Storchaka | 2016-11-29 | 3 | -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 Storchaka | 2016-11-28 | 1 | -5/+2 |
| | | | |||||
* | | | call_function(): document PyMethod optimization | Victor Stinner | 2016-11-28 | 1 | -1/+5 |
| | | | |||||
* | | | Reintroduce Python2 support in generate_opcode_h.py | Victor Stinner | 2016-11-28 | 1 | -3/+9 |
| | | | | | | | | | | | | | | | | | | Issue #28821. Add also a message to show that the command did something :-) | ||||
* | | | Merge 3.6 (issue #28635) | Yury Selivanov | 2016-11-28 | 1 | -0/+34 |
|\ \ \ | |/ / | |||||
| * | | Issue #28635: Document Python 3.6 opcode changes | Yury Selivanov | 2016-11-28 | 1 | -0/+34 |
| | | | | | | | | | | | | | | | | | | Thanks to Serhiy Storchaka for pointing out the missing notes. Patch by Elvis Pranskevichus. | ||||
* | | | Issue #28799: Update Misc/SpecialBuilds.txt | Victor Stinner | 2016-11-28 | 1 | -11/+0 |
| | | | | | | | | | | | | Remove CALL_PROFILE. | ||||
* | | | Remove CALL_PROFILE special build | Victor Stinner | 2016-11-28 | 5 | -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 Storchaka | 2016-11-28 | 4 | -68/+71 |
| | | | |||||
* | | | Merge with 3.6 | Zachary Ware | 2016-11-28 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Fix grammar in whatsnew | Zachary Ware | 2016-11-28 | 1 | -1/+1 |
| | | | |||||
* | | | Merge 3.6, fix for #24142 | Łukasz Langa | 2016-11-26 | 4 | -1/+29 |
|\ \ \ | |/ / | |||||
| * | | Merge 3.5, fix for #24142 | Łukasz Langa | 2016-11-26 | 4 | -1/+29 |
| |\ \ | | |/ | |||||
| | * | Fixes #24142: [configparser] always join multiline values to not leave the ↵ | Łukasz Langa | 2016-11-26 | 4 | -1/+29 |
| | | | | | | | | | | | | parser in an invalid state | ||||
* | | | Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges | Serhiy Storchaka | 2016-11-26 | 16 | -24/+24 |
|\ \ \ | |/ / | | | | | | | in the documentation. | ||||
| * | | Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges | Serhiy Storchaka | 2016-11-26 | 16 | -24/+24 |
| |\ \ | | |/ | | | | | | | in the documentation. | ||||
| | * | Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges | Serhiy Storchaka | 2016-11-26 | 17 | -25/+25 |
| | | | | | | | | | | | | in the documentation. | ||||
* | | | Merge from 3.6 | Berker Peksag | 2016-11-25 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Merge from 3.5 | Berker Peksag | 2016-11-25 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Add missing square bracket in typing.get_type_hints() | Berker Peksag | 2016-11-25 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #28738: Merge from 3.6 | Berker Peksag | 2016-11-25 | 1 | -2/+3 |
|\ \ \ | |/ / | |||||
| * | | Issue #28738: Merge from 3.6 | Berker Peksag | 2016-11-25 | 1 | -2/+3 |
| |\ \ | | |/ | |||||
| | * | Issue #28738: Document SIGBREAK as an acceptable value on Windows | Berker Peksag | 2016-11-25 | 1 | -2/+3 |
| | | | | | | | | | | | | Patch by Wojtek Ruszczewski. | ||||
* | | | Issue #28796: Silence Sphinx warnings | Berker Peksag | 2016-11-25 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | WARNING: Inline emphasis start-string without end-string. Patch by Julien Palard. | ||||
* | | | Issue #28793: Merge from 3.6 | Berker Peksag | 2016-11-25 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #28793: Fix c/p error in AsyncGenerator documentation | Berker Peksag | 2016-11-25 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch by Julien Palard. | ||||
* | | | Fix a ResourceWarning in generate_opcode_h.py | Victor Stinner | 2016-11-25 | 1 | -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 _bisect | Victor Stinner | 2016-11-24 | 2 | -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.6 | Victor Stinner | 2016-11-24 | 3 | -0/+14 |
|\ \ \ | |/ / | |||||
| * | | Fix _PyGen_yf() | Victor Stinner | 2016-11-24 | 3 | -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.6 | Victor Stinner | 2016-11-24 | 0 | -0/+0 |
|\ \ \ | |/ / | |||||
| * | | Issue #28773: Add typing.FrozenSet docs. (Manuel Krebber) (3.5->3.6) | Guido van Rossum | 2016-11-24 | 1 | -0/+4 |
| |\ \ | | |/ | |||||
* | | | Issue #28773: Add typing.FrozenSet docs. (Manuel Krebber) (3.6->3.7) | Guido van Rossum | 2016-11-24 | 1 | -0/+4 |
|\ \ \ | | |/ | |/| | |||||
| * | | Issue #28773: Add typing.FrozenSet docs. (Manuel Krebber) | Guido van Rossum | 2016-11-24 | 1 | -0/+4 |
| | | | |||||
* | | | merge | Raymond Hettinger | 2016-11-24 | 1 | -3/+3 |
|\ \ \ | | |/ | |/| | |||||
| * | | Issue #27100: Silence deprecation warning in Lib/test/test_with.py | Raymond Hettinger | 2016-11-24 | 1 | -3/+3 |
| | | | |||||
* | | | Issue #28532: Add what's new entry for python -VV option | INADA Naoki | 2016-11-24 | 2 | -0/+14 |
|\ \ \ | |/ / | |||||
| * | | Issue #28532: Add what's new entry for python -VV option | INADA Naoki | 2016-11-24 | 2 | -0/+14 |
| | | | |||||
* | | | Issue #28783: Embedded and nuget packages incorrect reference missing ↵ | Steve Dower | 2016-11-23 | 2 | -3/+48 |
|\ \ \ | |/ / | | | | | | | bdist_wininst command. | ||||
| * | | Issue #28783: Embedded and nuget packages incorrect reference missing ↵ | Steve Dower | 2016-11-23 | 2 | -3/+48 |
| |\ \ | | |/ | | | | | | | bdist_wininst command. |