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-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com