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 pitrou
Recipients pitrou
Date 2022-03-29.17:32:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648575168.9.0.879509749563.issue47153@roundup.psfhosted.org>
In-reply-to
Content
The __doc__ attribute of several object types is not writable: notably descriptors (method/member/getset), as well builtin methods.

This is annoying when wanting to generate docstrings for these objects dynamically. While it's not useful for regular Python code, it comes up when using Cython, which uses these types to implement the methods and properties of "cdef" classes.
History
Date User Action Args
2022-03-29 17:32:48pitrousetrecipients: + pitrou
2022-03-29 17:32:48pitrousetmessageid: <1648575168.9.0.879509749563.issue47153@roundup.psfhosted.org>
2022-03-29 17:32:48pitroulinkissue47153 messages
2022-03-29 17:32:48pitroucreate