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 vstinner
Recipients benjamin.peterson, georg.brandl, methane, serhiy.storchaka, vstinner
Date 2017-02-08.08:08:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486541339.72.0.951975112992.issue29463@psf.upfronthosting.co.za>
In-reply-to
Content
def func(): "doc" + "string"

Currently (Python 2.7-3.6), func.__doc__ is None. I suggest to add an unit test for this corner case, even if the result is going to change in a near future. We need to "specify" the expected behaviour, and make sure that we get the same result if optimizations are enabled or not.
History
Date User Action Args
2017-02-08 08:08:59vstinnersetrecipients: + vstinner, georg.brandl, benjamin.peterson, methane, serhiy.storchaka
2017-02-08 08:08:59vstinnersetmessageid: <1486541339.72.0.951975112992.issue29463@psf.upfronthosting.co.za>
2017-02-08 08:08:59vstinnerlinkissue29463 messages
2017-02-08 08:08:59vstinnercreate