[issue33265] contextlib.ExitStack abuses __self__

Nick Coghlan report at bugs.python.org
Fri Apr 13 08:25:09 EDT 2018


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Classifying this as a minor performance enhancement, since methods are much simpler objects than full Python level closures.

Thanks!

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
type:  -> performance
versions: +Python 3.8

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


More information about the Python-bugs-list mailing list