integer >= 1 == True and integer.0 == False is bad, bad, bad!!!
Mark Dickinson
dickinsm at gmail.com
Sun Jul 11 14:19:28 EDT 2010
On Jul 11, 6:38 am, rantingrick <rantingr... at gmail.com> wrote:
> Seems kinda dumb to build a tuple just so a conditional wont blow
> chunks! This integer bool-ing need to be fixed right away!
Okay. What fix do you propose? Would your fix maintain the identity
"0 == False"? For bonus points, explain how you'd deal with any
backwards compatibility problems that your fix introduces.
Have you considered forking Python? That may be the way forward here.
--
Mark
More information about the Python-list
mailing list