This should return an error and not silently truncate to int.
Why do you say that?
I see now this was a Friday afternoon lack of imagination :)
The current behaviour is consistent and well
On a somewhat related note, you may also be interested in the PEP at
Interesting. Thanks for explaining this. Nadia