• Paul Sokolovsky's avatar
    py: mp_obj_str_get_str(): Work with bytes too. · 31619cc5
    Paul Sokolovsky authored
    It should be fair to say that almost in all cases where some API call
    expects string, it should be also possible to pass byte string. For example,
    it should be open/delete/rename file with name as bytestring. Note that
    similar change was done quite a long ago to mp_obj_str_get_data().