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 serhiy.storchaka
Recipients Guido.van.Rossum, gvanrossum, iritkatriel, methane, rhettinger, serhiy.storchaka, terry.reedy
Date 2021-08-29.05:52:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630216367.11.0.740230058018.issue36521@roundup.psfhosted.org>
In-reply-to
Content
If we are going to move docstring out of co_consts, I would make it a code object attribute rather than argument of MAKE_FUNCTION. It saves time on function creation.

Most functions do not change docstring after creation. It is the same as code docstring, so it consumes zero memory.
History
Date User Action Args
2021-08-29 05:52:47serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, rhettinger, terry.reedy, methane, Guido.van.Rossum, iritkatriel
2021-08-29 05:52:47serhiy.storchakasetmessageid: <1630216367.11.0.740230058018.issue36521@roundup.psfhosted.org>
2021-08-29 05:52:47serhiy.storchakalinkissue36521 messages
2021-08-29 05:52:47serhiy.storchakacreate