micropython/micropython — pull request #948 by pfalcon (2014-10-30 14:49:45+00:00)
Title: py: mp_obj_str_get_str(): Work with bytes too.

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().