Author jdemeyer
Recipients jdemeyer, ncoghlan, rhettinger, terry.reedy
Date 2018-04-14.20:47:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> I would like python_coded_callable.__code__ to be the code object executed when python_coded_callable is called

First of all, that doesn't answer the question of what to do with non-Python coded callables where there is no __code__ object at all.

Second, are you *really* sure that you want that? That would mean adding a __code__ attribute to all callable Python classes or adding a __code__ descriptor to "type".
Date User Action Args
2018-04-14 20:47:00jdemeyersetrecipients: + jdemeyer, rhettinger, terry.reedy, ncoghlan
2018-04-14 20:47:00jdemeyersetmessageid: <>
2018-04-14 20:47:00jdemeyerlinkissue33261 messages
2018-04-14 20:47:00jdemeyercreate