Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: What if get_source() returned a unicode string? Usually it returns 8-bit string, but in many cases unicode is accepted if str is expected, so you need to check this option too.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31285> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com