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 mbussonn
Recipients PaulRudin, chillaranand, docs@python, eric.snow, mbussonn, r.david.murray, s7v7nislands@gmail.com, terry.reedy
Date 2018-05-19.22:18:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526768300.63.0.682650639539.issue17972@psf.upfronthosting.co.za>
In-reply-to
Content
Just came across the same issue.

It think that the exact behavior may depend on  functions. IT is also unclear when to use what sometime. 

For example, `getsource` seem to be preferable to findsource, getsource cannot be use to get the source of wrapping function as it follows `__wrapped__`.
History
Date User Action Args
2018-05-19 22:18:20mbussonnsetrecipients: + mbussonn, terry.reedy, r.david.murray, docs@python, eric.snow, s7v7nislands@gmail.com, chillaranand, PaulRudin
2018-05-19 22:18:20mbussonnsetmessageid: <1526768300.63.0.682650639539.issue17972@psf.upfronthosting.co.za>
2018-05-19 22:18:20mbussonnlinkissue17972 messages
2018-05-19 22:18:20mbussonncreate