Emilio López Arias <[email protected]> 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 (<[email protected]>) escribió: > > SilentGhost <[email protected]> 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 <[email protected]> > <https://bugs.python.org/issue37418> > _______________________________________ > ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue37418> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
