Re: Python 3 consistency proposal

2009-03-25 Thread Colin J. Williams
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 :-) Zero. But I like the idea. Is version 3 really sacrosanct? I wonder how muc

Re: Python 3 consistency proposal

2009-03-25 Thread Bruno Desthuilliers
Ben Finney a écrit : Steven D'Aprano writes: 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 […] As Guido has quoted before, "A foolish consistency is the hobgoblin of little min

Re: Python 3 consistency proposal

2009-03-24 Thread Terry Reedy
gert wrote: On Mar 25, 1:23 am, Steven D'Aprano wrote: 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 approv

Re: Python 3 consistency proposal

2009-03-24 Thread Ben Finney
Steven D'Aprano writes: > 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 […] As Guido has quoted before, "A > foolish consistency is the hobgoblin of little minds". Indeed, th

Re: Python 3 consistency proposal

2009-03-24 Thread gert
On Mar 25, 1:23 am, Steven D'Aprano wrote: > 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 chanc

Re: Python 3 consistency proposal

2009-03-24 Thread Steven D'Aprano
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 volunteeri

Re: Python 3 consistency proposal

2009-03-24 Thread Daniel Fetchinson
> Rename all built in classes with a capital letter > example Str() Int() Object() Why? > Make () optional for a function definition > class Test: > pass > > def test: > pass Why? > Any chance Guido would approve this :-) In my estimation, the chance that Guido would approve this is le

Python 3 consistency proposal

2009-03-24 Thread gert
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 :-) -- http://mail.python.org/mailman/listinfo/python-list