Terry J. Reedy <tjre...@udel.edu> added the comment:

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.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36521>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to