Any other Python flaws?

Barry A. Warsaw barry at digicool.com
Fri Jun 15 00:26:10 EDT 2001


>>>>> "MF" == Martijn Faassen <m.faassen at vet.uu.nl> writes:

    MF> This may be considered a minor quibble; the mandatory use of
    MF> () in case of multiple arguments to the % string interpolation
    MF> operator:

Yup, that one bugs me sometimes too...

    MF> You also don't seem to have listed the single element tuple
    MF> wart

...as does this one.

The other one that annoys me is the need for backslashes at the ends
of lines that are wrapped, but only sometimes.

Another one is the fact that you can't mix try/finallys with
try/excepts.

Also, the fact that you can't write

    while entry = thingie.next():

And that you're still allowed to write != when you mean <> ...
<wink>  :) 

Other than the ones you've hit on or have already been fixed (or are
in the process of being fixed), most of my other annoyances are with
various libraries, but that's not a fault of the language.

All in all, pretty minor quibbles.

-Barry




More information about the Python-list mailing list