Any other Python flaws?

James_Althoff at i2.com James_Althoff at i2.com
Fri Jun 15 15:00:54 EDT 2001


Alex Martelli wrote:
>"Steve Holden" <sholden at holdenweb.com> wrote in message
>news:#72#QIT9AHA.262 at cpmsnbbsa09...
>    ...
>> > That leaves the remaining warts as minor wibbling about 'do'
>> > statements, print >>, and the like.  Are there any other flaws that
>> > should be added?
>> >
>> Despite the fact that our Fearless Leader and BDFL has already revered
>> himself once on this issue, I'd like to see strict syntactical equity
>> between function definitions and class definitions, which is to say that
a
>> class with no superclasses should be declarable as:
>>
>>     class myClass():
>>         pass
>
>Hear, hear!!!  It IS a minor but definite wart that those parentheses
>are a syntax error in 'class' but mandatory in 'def'.
>
>Alex

I "third" the motion!

Jim






More information about the Python-list mailing list