◐ Shell
clean mode source ↗

Message 171550 - Python tracker

Attaching first version of patch.  Interestingly, not all of these pass when I tried applying to 2.7.  For example,

>>> int(base='foo')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: an integer is required

So at least one modification will be needed there.