New submission from Francisco Demartino:

On the REPL, when autocompleting with the TAB key, getattr is called, 
potentially triggering code execution.

This took me by surprise. Until you press RETURN, it should be pretty safe to 
go around autocompleting with certainty that you won't run any code. But that 
might be just my opinion.

What do you think?

----------
components: Interpreter Core
files: wat.py
messages: 288420
nosy: Francisco Demartino
priority: normal
severity: normal
status: open
title: REPL tab-completion triggers code execution
versions: Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file46662/wat.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29630>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to