Author scoder
Recipients benjamin.peterson, eric.araujo, ncoghlan, pitrou, scoder, terry.reedy, yselivanov
Date 2014-01-30.17:15:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <52EA88B1.1000707@behnel.de>
In-reply-to <1391100576.49.0.403215842743.issue17159@psf.upfronthosting.co.za>
Content
LGTM, thanks!

And works nicely with Cython:

"""
import inspect

def test_isfunction():
    """
    >>> test_isfunction()
    True
    """
    return inspect.isfunction(test_isfunction)

def test_signature():
    """
    >>> test_signature()   # doctest: +ELLIPSIS
    <inspect.Signature object ...>
    """
    return inspect.signature(test_signature)
"""

> BTW, do cython functions have __name__ attribute?

Yes, they have everything that can possibly be emulated (although not
everything currently contains useful information). If your question is
whether that should be tested for, too, then I'd say yes.
History
Date User Action Args
2014-01-30 17:15:30scodersetrecipients: + scoder, terry.reedy, ncoghlan, pitrou, benjamin.peterson, eric.araujo, yselivanov
2014-01-30 17:15:30scoderlinkissue17159 messages
2014-01-30 17:15:30scodercreate