[issue47153] __doc__ should generally be writable

2022-04-05 Thread Gregory P. Smith


Change by Gregory P. Smith :


--
nosy: +gregory.p.smith

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47153] __doc__ should generally be writable

2022-03-29 Thread Barry A. Warsaw


Change by Barry A. Warsaw :


--
nosy: +barry

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47153] __doc__ should generally be writable

2022-03-29 Thread Antoine Pitrou


Change by Antoine Pitrou :


--
nosy: +scoder

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47153] __doc__ should generally be writable

2022-03-29 Thread Antoine Pitrou


New submission from Antoine Pitrou :

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.

--
components: Interpreter Core
messages: 416277
nosy: pitrou
priority: normal
severity: normal
status: open
title: __doc__ should generally be writable
type: enhancement
versions: Python 3.11

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com