[docs] [issue16355] inspect.getcomments() does not work in the interactive shell

Ezio Melotti report at bugs.python.org
Mon Oct 29 17:07:39 CET 2012

Ezio Melotti added the comment:

> After I thought about it some more I realized that changing
> the behavior to raise an error would not be a good idea.

Can you elaborate more?
Failing silently doesn't seem much better than raising an error, especially if similar functions already raise.

components: +Library (Lib)
resolution: invalid -> 
type: enhancement -> behavior

Python tracker <report at bugs.python.org>

More information about the docs mailing list