Damien George
66dc1397c9
py/obj: Accept user types in mp_obj_get_int_maybe.
...
This is possible now that MP_UNARY_OP_INT_MAYBE exists.
As a consequence mp_obj_get_int now also supports user types, which was
previously possible with MP_UNARY_OP_INT but no tests existed for it.
Signed-off-by: Damien George <damien@micropython.org>
2023-06-01 14:18:54 +10:00
..
2023-04-27 18:03:06 +10:00
2020-06-16 23:18:01 +10:00
2021-05-13 22:16:14 +10:00
2021-05-13 22:16:14 +10:00
2023-03-09 12:13:12 +11:00
2023-03-09 12:13:12 +11:00
2023-03-09 12:13:12 +11:00
2023-03-09 12:13:12 +11:00
2022-12-16 11:44:10 +11:00
2022-12-16 11:44:10 +11:00
2020-09-04 00:10:24 +10:00
2020-09-04 00:10:24 +10:00
2020-07-25 00:58:18 +10:00
2020-07-25 00:58:18 +10:00
2021-05-30 10:38:48 +10:00
2021-05-30 10:38:48 +10:00
2020-09-04 00:10:24 +10:00
2020-09-04 00:10:24 +10:00
2020-09-04 00:10:24 +10:00
2023-05-19 12:35:12 +10:00
2020-09-04 00:10:24 +10:00
2023-05-19 12:35:12 +10:00
2022-08-12 12:44:30 +10:00
2022-11-10 11:44:49 +11:00
2021-05-13 22:16:14 +10:00
2022-08-11 23:18:02 +10:00
2022-08-11 23:18:02 +10:00
2022-11-08 23:09:22 +11:00
2022-08-11 23:18:02 +10:00
2022-08-11 23:18:02 +10:00
2022-08-11 23:18:02 +10:00
2022-09-26 00:54:18 +10:00
2020-06-30 23:55:32 +10:00
2022-04-20 15:44:46 +10:00
2020-10-10 00:16:32 +11:00
2020-09-18 18:40:42 +10:00
2020-09-18 18:40:42 +10:00
2020-06-24 12:05:40 +10:00
2020-06-24 12:05:40 +10:00
2023-05-19 13:44:00 +10:00
2020-09-25 12:27:23 +10:00
2022-11-25 12:46:14 +11:00
2022-11-25 12:46:14 +11:00
2023-05-19 12:06:17 +10:00
2021-07-01 13:23:54 +10:00
2021-07-01 13:23:54 +10:00
2021-04-23 22:03:46 +10:00
2022-03-31 16:54:00 +11:00
2022-11-28 11:23:22 +11:00
2022-03-31 16:59:30 +11:00
2022-08-06 11:32:58 -05:00
2022-06-24 23:55:13 +10:00
2022-03-31 16:59:30 +11:00
2022-06-24 23:55:13 +10:00
2021-07-15 00:12:41 +10:00
2023-05-03 13:21:18 +10:00
2023-06-01 13:01:07 +10:00
2021-12-21 18:00:11 +11:00
2021-02-08 11:50:05 +11:00
2023-01-23 13:03:51 +11:00
2021-12-21 18:00:05 +11:00
2023-05-19 12:35:12 +10:00
2023-05-19 12:35:12 +10:00
2022-09-19 19:06:13 +10:00
2021-05-30 13:41:37 +10:00
2021-05-30 13:41:37 +10:00
2021-05-30 13:41:37 +10:00
2023-05-19 13:44:00 +10:00
2020-07-21 01:05:59 +10:00
2021-05-18 10:18:56 +10:00
2020-07-21 01:05:59 +10:00
2023-01-20 16:31:37 +11:00
2023-01-20 16:31:37 +11:00
2020-09-04 00:10:24 +10:00
2022-09-19 23:22:46 +10:00
2022-07-13 16:25:35 +10:00
2022-12-06 13:34:17 +11:00
2022-03-07 15:25:11 +11:00
2021-05-30 13:41:37 +10:00
2021-05-30 13:41:37 +10:00
2023-05-19 13:33:54 +10:00
2021-05-30 13:41:37 +10:00
2022-03-31 16:59:30 +11:00
2022-03-31 16:59:30 +11:00
2022-05-03 16:38:43 +10:00
2023-05-19 12:06:06 +10:00
2023-06-01 13:01:07 +10:00
2023-06-01 13:01:07 +10:00
2023-06-01 13:01:07 +10:00
2021-07-15 00:12:41 +10:00
2020-09-04 00:10:24 +10:00
2022-01-19 15:34:32 +11:00
2022-01-19 15:34:32 +11:00
2022-01-19 15:34:32 +11:00
2023-06-01 14:18:54 +10:00
2023-01-20 17:54:32 +11:00
2023-01-20 17:54:32 +11:00
2023-01-20 17:54:32 +11:00
2023-05-19 13:44:00 +10:00
2020-11-11 22:18:24 +11:00
2023-04-27 18:03:06 +10:00
2021-07-15 00:12:41 +10:00
2021-10-21 12:42:48 +11:00
2021-10-21 12:42:48 +11:00
2022-05-17 09:46:40 +10:00
2020-09-04 00:10:24 +10:00
2020-09-04 00:10:24 +10:00
2021-12-29 23:55:36 +11:00
2022-03-10 10:43:21 +11:00
2022-06-07 16:55:18 +10:00
2021-07-23 12:40:00 +10:00
2023-04-27 18:03:06 +10:00