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 JelleZijlstra
Recipients JelleZijlstra, nedbat, r.david.murray, serhiy.storchaka, yselivanov
Date 2016-06-02.21:03:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464901407.66.0.446777508346.issue19611@psf.upfronthosting.co.za>
In-reply-to
Content
Since this only comes up with manually created functions (through calling types.FunctionType), I think it wouldn't be unreasonable to just not handle this case in the inspect module and close this as wontfix.

Ned, is there a use case for converting comprehension code objects to functions and inspecting them?
History
Date User Action Args
2016-06-02 21:03:27JelleZijlstrasetrecipients: + JelleZijlstra, nedbat, r.david.murray, serhiy.storchaka, yselivanov
2016-06-02 21:03:27JelleZijlstrasetmessageid: <1464901407.66.0.446777508346.issue19611@psf.upfronthosting.co.za>
2016-06-02 21:03:27JelleZijlstralinkissue19611 messages
2016-06-02 21:03:27JelleZijlstracreate