◐ Shell
clean mode source ↗

Message 207100 - Python tracker

I can see why we wouldn't want to make this change in a point release, but this is a feature release we're talking about and this seems like buggy behavior:

--> hex(3.14)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'float' object cannot be interpreted as an integer

--> '%x' % 3.14
'3'