circuitpython/shared-bindings
Jeff Epler 9d164965c9 localtime: don't hard-fault on argument type errors; handle localtime(float)
It turns out `mp_obj_int_get_checked` is not appropriate to call when
the argument is not of int or long type--the "checked" refers to guarding
against overflow/underflow, not type checking.

For compatibility with CPython, handle float arguments.

Closes: #2069
2019-08-17 20:49:25 -05:00
..
2019-08-02 22:55:55 +02:00
2019-06-18 16:59:05 -05:00
2018-08-07 14:58:57 -07:00
2018-08-07 14:58:57 -07:00
2018-12-30 22:49:20 -05:00
2019-03-19 18:37:41 -07:00
2019-05-30 19:02:47 -07:00