[New-bugs-announce] [issue37484] Use PY_VECTORCALL_ARGUMENTS_OFFSET for __exit__

Jeroen Demeyer report at bugs.python.org
Tue Jul 2 08:22:05 EDT 2019


New submission from Jeroen Demeyer <J.Demeyer at UGent.be>:

35% of all cases where methods are called without PY_VECTORCALL_ARGUMENT_OFFSET and taking at least 1 argument (positional or keyword) are calls to __exit__

So we should really optimize __exit__

----------
components: Interpreter Core
messages: 347139
nosy: inada.naoki, jdemeyer
priority: normal
severity: normal
status: open
title: Use PY_VECTORCALL_ARGUMENTS_OFFSET for __exit__
type: performance
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37484>
_______________________________________


More information about the New-bugs-announce mailing list