Damien George
48ffd6596e
py: Change MP_UNARY_OP_INT to MP_UNARY_OP_INT_MAYBE.
...
To be consistent with MP_UNARY_OP_INT_FLOAT and MP_UNARY_OP_INT_COMPLEX,
and allow int() to first check if a type supports __int__ before trying
other things (as per CPython).
Signed-off-by: Damien George <damien@micropython.org>
2023-06-01 13:01:07 +10:00
..
2023-01-12 16:04:57 +11:00
2023-04-27 18:03:06 +10:00
2023-04-27 18:03:06 +10:00
2023-05-02 16:14:45 +10:00
2023-04-30 18:07:57 +10:00
2023-05-19 22:03:17 +10:00
2023-05-04 13:19:19 +10:00
2023-04-26 11:37:20 +10:00
2023-04-26 11:37:20 +10:00
2023-02-21 17:28:47 +11:00
2023-03-01 01:27:12 +11:00
2023-03-01 01:26:44 +11:00
2023-06-01 13:01:07 +10:00
2023-06-01 11:38:58 +10:00
2023-04-27 18:03:06 +10:00
2022-12-15 17:40:06 +11:00
2023-04-27 18:03:06 +10:00
2023-04-27 18:03:06 +10:00
2023-04-27 15:09:56 +10:00
2023-04-27 15:09:56 +10:00
2023-05-08 11:56:31 +10:00
2023-03-01 01:26:44 +11:00
2023-04-05 09:46:46 +10:00
2022-12-15 17:40:06 +11:00
2023-05-19 22:01:10 +10:00
2023-03-21 16:13:10 +11:00