[Python-Dev] Writable __doc__

Ethan Furman ethan at stoneleaf.us
Thu Jan 19 17:36:59 CET 2012

Benjamin Peterson wrote:
> 2012/1/19 Victor Stinner <victor.stinner at haypocalc.com>:
>>> http://bugs.python.org/issue12773  :)
>> The bug is marked as close, whereas the bug exists in Python 3.2 and
>> has no been closed. The fix must be backported.
> It's not a bug; it's a feature.

Where does one draw the line between feature and bug?  As a user I'm 
inclined to classify this as a bug:  __doc__ was writable with old-style 
classes; __doc__ is writable with new-style classes with any metaclass; 
and there exists no good reason (that I'm aware of ;) for __doc__ to not 
be writable.


More information about the Python-Dev mailing list