bool and int

Chris Angelico rosuav at gmail.com
Fri Jan 27 19:49:06 EST 2023


On Sat, 28 Jan 2023 at 11:45, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
>
> On 26/01/23 6:10 am, Chris Angelico wrote:
> > And that's a consequence of a system wherein there is only one concept
> > of "success", but many concepts of "failure". Whoever devised that
> > system was clearly a pessimist :)
>
> Murphy's Law for Unix: If something can go wrong, it will go
> wrong 255 times out of 256.
>

Murphy's Law for people working with small integers: "255 out of 256"
will, just when you least expect it, change into "255 out of 0".

ChrisA


More information about the Python-list mailing list