[docs] [issue16355] inspect.getcomments() does not work in the interactive shell
report at bugs.python.org
Sun Nov 4 02:43:41 CET 2012
Ezio Melotti added the comment:
That's arguably a bug though. If the pragma was critical the program will silently do the wrong thing by ignoring an existing pragma when the source is missing (e.g. in production, even after passing all the tests locally).
Python tracker <report at bugs.python.org>
More information about the docs