[Python-Dev] Writable __doc__

Michael Foord fuzzyman at voidspace.org.uk
Thu Jan 19 19:40:09 CET 2012


On 19/01/2012 17:46, Ethan Furman wrote:
> Guido van Rossum wrote:
> > We should not encourage people to write code that works with a certain
> > bugfix release but not with the previous bugfix release of the same
> > feature release.
>
> Then what's the point of a bug-fix release?  If 3.2.1 had broken 
> threading, wouldn't we fix it in 3.2.2 and encourage folks to switch 
> to 3.2.2?  Or would we scrap 3.2 and move immediately to 3.3?  (Is 
> that more or less what happened with 3.0?)
>
>
>> Like it or not, this has worked this way ever since new-style classes 
>> were introduced. That has made it a de-facto feature.
>
> But what of the discrepancy between the 'type' metaclass and any other 
> Python metaclass?

There are many discrepancies between built-in types and any Python 
class. Writable attributes are (generally) one of them.

Michael

>
>
>> Given that we haven't had any complaints about this in nearly a 
>> decade, the backport can't be important. Don't do it.
>
> Agreed.
>
> ~Ethan~
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: 
> http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk
>


-- 
http://www.voidspace.org.uk/

May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html



More information about the Python-Dev mailing list