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 serhiy.storchaka
Recipients benjamin.peterson, georg.brandl, methane, serhiy.storchaka, vstinner
Date 2017-02-08.09:00:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486544410.16.0.854051512559.issue29463@psf.upfronthosting.co.za>
In-reply-to
Content
Support adding tests. Tests should cover all cases: module, class, function, coroutine and check also the first line number.

What is the value of co_firstlineno if the function doesn't have any statements?

    def f():
        '''docstring'''
History
Date User Action Args
2017-02-08 09:00:10serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, vstinner, benjamin.peterson, methane
2017-02-08 09:00:10serhiy.storchakasetmessageid: <1486544410.16.0.854051512559.issue29463@psf.upfronthosting.co.za>
2017-02-08 09:00:10serhiy.storchakalinkissue29463 messages
2017-02-08 09:00:10serhiy.storchakacreate