tdaff / automation

BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

isinstance(x, int) will not catch longs in python 2.x #19

Closed tdaff closed 13 years ago

tdaff commented 13 years ago

Original report by Tom Daff (Bitbucket: tdaff, GitHub: tdaff).


need to check for (int, long) integer values or code will break for very large numbers

tdaff commented 13 years ago

Original comment by Tom Daff (Bitbucket: tdaff, GitHub: tdaff).


int and long are valid integers in 2.x; closes #19