[issue29630] REPL tab-completion triggers code execution

Christian Heimes report at bugs.python.org
Thu Feb 23 04:24:18 EST 2017


Christian Heimes added the comment:

I agree with Serhiy. There is no way to safely inspect any Python object without triggering some dunder functions like __getattr__, __getattribute__ or __dir__.

----------
nosy: +christian.heimes
resolution:  -> not a bug
stage:  -> resolved
status: open -> pending
type:  -> behavior
versions:  -Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29630>
_______________________________________


More information about the Python-bugs-list mailing list