Emilio López Arias <mili...@gmail.com> added the comment: why the code is executed? I could do a library or a package and include evil code instead of a print...
El mié., 26 jun. 2019 a las 21:05, SilentGhost (<rep...@bugs.python.org>) escribió: > > SilentGhost <ghost....@runbox.com> added the comment: > > It seems you're misunderstanding mechanics of decorators. Decorator is > called when @decorator statement is executed and in that function *you* are > calling the wrapped function. There are tutorials available on how to use > this feature, I'd suggest you try them. > > ---------- > nosy: +SilentGhost > resolution: -> not a bug > stage: -> resolved > status: open -> closed > type: security -> behavior > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <https://bugs.python.org/issue37418> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37418> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com