Message 339514 - Python tracker

Message339514

Author terry.reedy
Recipients methane, rhettinger, serhiy.storchaka, terry.reedy
Date 2019-04-05.19:11:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554491485.79.0.326077438536.issue36521@roundup.psfhosted.org>
In-reply-to
Content
So we have the same issue with f.__name__ and f.__code__.co_name becoming unsynchronized.

FWIW, I would prefer that the code docstring be co_doc, rather than hidden in co_constants, so that 'name' and 'doc' follow the same pattern.
History
Date User Action Args
2019-04-05 19:11:25terry.reedysetrecipients: + terry.reedy, rhettinger, methane, serhiy.storchaka
2019-04-05 19:11:25terry.reedysetmessageid: <1554491485.79.0.326077438536.issue36521@roundup.psfhosted.org>
2019-04-05 19:11:25terry.reedylinkissue36521 messages
2019-04-05 19:11:25terry.reedycreate