[issue36521] Consider removing docstrings from co_consts in code objects
Guido van Rossum
report at bugs.python.org
Mon Aug 30 17:01:21 EDT 2021
Guido van Rossum <guido at python.org> added the comment:
I think we shouldn't change *which* code object contains the docstring (changing anything about that is likely to disturb someone's workflow in a way that's hard to fix) -- only how PyFunction_New finds that docstring in the code object (if that breaks someone's workflow, the fix will be obvious).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36521>
_______________________________________
More information about the Python-bugs-list
mailing list