Python buglet: Incorrect error message for float([0])

Skip Montanaro skip at pobox.com
Wed May 1 20:27:20 EDT 2002


    >> But since "float(0)" is OK, a better error message might be:
    >> 
    >> TypeError: the argument of float() must be a string or a number

    aahz> That looks like a good bug to submit to SourceForge.

I should have it fixed in CVS before the ink is dry on the submission... :-)

i-love-the-easy-ones-ly, y'rs,

Skip






More information about the Python-list mailing list