This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Roy.Fox, ned.deily, python-dev, roger.serwy, terry.reedy
Date 2012-06-05.09:55:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Upon further thought, not a problem. Stephen considered the case:
class myint(int):
    # inherit __init__
    def added_func(self): "some new function of an int"

In this case, fob = myint.__init__ would not be FunctionType and inspect would not be called. Tool tip would be myint.__doc__ and writer could follow style of builtins. Still an interesting test case to add.

A different question is whether the default for callables (as opposed to non-callables) should be nothing or something like 'args unknown' or 'see docs'.
Date User Action Args
2012-06-05 09:55:44terry.reedysetrecipients: + terry.reedy, ned.deily, roger.serwy, python-dev, Roy.Fox
2012-06-05 09:55:44terry.reedysetmessageid: <>
2012-06-05 09:55:43terry.reedylinkissue12510 messages
2012-06-05 09:55:43terry.reedycreate