SilentGhost <ghost....@runbox.com> added the comment:

The whole file is executed on import, you might as well have taken the "evil" 
code and placed in the global scope and not in the function. If you want to 
learn how to use decorators, again I suggest following a tutorial, SO or 
python-help. This is not a security issue.

----------

_______________________________________
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

Reply via email to