[issue40137] TODO list when PEP 573 "Module State Access from C Extension Methods" will be implemented
Raymond Hettinger
report at bugs.python.org
Sat Apr 10 20:55:03 EDT 2021
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
State lookups and indirections were added to most performance sensitive code part of the
_functools_state *state;
state = get_functools_state_by_type(Py_TYPE(self));
if (state == NULL) {
return NULL;
}
key = lru_cache_make_key(state, args, kwds, self->typed);
I think it should be removed for Python3.10. Right now, it is of zero value to users (actually, negative value).
----------
nosy: +pablogsal, rhettinger, serhiy.storchaka
priority: normal -> high
resolution: fixed ->
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40137>
_______________________________________
More information about the Python-bugs-list
mailing list