diff options
| author | Jeff Epler <jepler@unpythonic.net> | 2018-03-25 16:05:32 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2018-03-29 06:42:10 -0500 |
| commit | 6da8d7c46583387aa32d5c153b3c5b7d9e1afccd (patch) | |
| tree | d8ea634d36998cd68050ffd159a6e0093a9ca6f1 /lib/timeutils | |
| parent | a55988a547011c04978a1661325062397ef74110 (diff) | |
Fix assertion failures in mp_obj_new_type
Fixes the following assertion failures when the arguments to type()
were not of valid types:
micropython: ../../py/objtype.c:984: mp_obj_new_type: Assertion `MP_OBJ_IS_TYPE(bases_tuple, &mp_type_tuple)' failed.
micropython: ../../py/objtype.c:994: mp_obj_new_type: Assertion `MP_OBJ_IS_TYPE(items[i], &mp_type_type)' failed.
e.g., when making calls like
type("", (), 3)
type("", 3, {})
Diffstat (limited to 'lib/timeutils')
0 files changed, 0 insertions, 0 deletions
