Python 3 consistency proposal

Steven D'Aprano steven at REMOVE.THIS.cybersource.com.au
Tue Mar 24 20:23:34 EDT 2009


On Tue, 24 Mar 2009 16:45:26 -0700, gert wrote:

> Rename all built in classes with a capital letter example Str() Int()
> Object()
> 
> Make () optional for a function definition class Test:
>     pass
> 
> def test:
>     pass
> 
> Any chance Guido would approve this :-)

Unless you're volunteering to produce a patch, the chances are zero.

If you *are* willing to do the work, the chances would still be pretty 
slim. Guido has just rejected a patch adding PEP 8 compliant aliases for 
types like datetime, so I think replacing built-ins have all-but zero 
chance. But if you want to pursue it, the right place is the python-ideas 
mailing list. Go for it ... but be prepared to justify the change, and 
not just "for consistency". As Guido has quoted before, "A foolish 
consistency is the hobgoblin of little minds".



-- 
Steven



More information about the Python-list mailing list