Message289112
What about C stack consumption? Is not this increase it?
Since nested partial()`s are collapsed, you need to interlace them with other wrapper for testing.
def decorator(f):
def wrapper(*args):
return f(*args)
return wrapper
def f(*args): pass
for i in range(n):
f = partial(f)
f = decorator(f)
f(1, 2) |
|
Date |
User |
Action |
Args |
2017-03-06 14:58:02 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, ncoghlan, vstinner, methane, yselivanov |
2017-03-06 14:58:02 | serhiy.storchaka | set | messageid: <1488812282.01.0.703462624401.issue29735@psf.upfronthosting.co.za> |
2017-03-06 14:58:01 | serhiy.storchaka | link | issue29735 messages |
2017-03-06 14:58:01 | serhiy.storchaka | create | |
|