Author pitrou
Recipients Arfrever, belopolsky, ezio.melotti, ilblackdragon, martin.panter, ncoghlan, o11c, pitrou, rbcollins, smurfix, xonatius
Date 2015-08-26.07:21:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The reason I didn't put __qualname__ on code objects is that code objects don't have a __module__ either. That information, up to now, belongs on the module.

Conceptually, a code object could very well be used by multiple functions living in different modules. Now, in practice, I'm not sure that happens (except when constructing function objects on your own, which is not a terribly supported usecase I think).

Also, Ben makes a very point about being able to change a __qualname__. In particular, the user should *still* be able to change a function's __qualname__ even if it's technically stored on the code object.
Date User Action Args
2015-08-26 07:21:16pitrousetrecipients: + pitrou, ncoghlan, belopolsky, rbcollins, ezio.melotti, smurfix, Arfrever, martin.panter, o11c, ilblackdragon, xonatius
2015-08-26 07:21:16pitrousetmessageid: <>
2015-08-26 07:21:16pitroulinkissue2786 messages
2015-08-26 07:21:15pitroucreate