Optimize func(*tuple) function call

Issue #26802: Optimize function calls only using unpacking like "func(*tuple)"
(no other positional argument, no keyword): avoid copying the tuple.

Patch written by Joe Jevnik.
This commit is contained in:
Victor Stinner 2016-04-19 22:54:37 +02:00
parent 201c4ecf18
commit 0b2e98d53d
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,10 @@ Release date: tba
Core and Builtins
-----------------
- Issue #26802: Optimize function calls only using unpacking like
``func(*tuple)`` (no other positional argument, no keyword): avoid copying
the tuple. Patch written by Joe Jevnik.
- Issue #26659: Make the builtin slice type support cycle collection.
- Issue #26718: super.__init__ no longer leaks memory if called multiple times.