bool constructor is inconsistent?

Neal Becker ndbecker2 at gmail.com
Fri Sep 10 14:23:34 EDT 2010


IN [3]: bool('False')
Out[3]: True

In [4]: int('32')
Out[4]: 32




More information about the Python-list mailing list