Message346665
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 (<report@bugs.python.org>)
escribió:
>
> SilentGhost <ghost.adh@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 <report@bugs.python.org>
> <https://bugs.python.org/issue37418>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2019-06-26 19:07:16 | Emilio López Arias | set | recipients:
+ Emilio López Arias, SilentGhost |
2019-06-26 19:07:15 | Emilio López Arias | link | issue37418 messages |
2019-06-26 19:07:15 | Emilio López Arias | create | |
|