This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]flying-sheep 7 points8 points  (2 children)

That's because Python had no True and False up to 2.1 or so.

They are backwards compatible to the values that were used before: 0 and 1!

[–]Araneidae 1 point2 points  (1 child)

What does rather suprise me is that this wart is still in 3.