[issue31285] a SystemError and an assertion failure in warnings.warn_explicit()

Serhiy Storchaka report at bugs.python.org
Fri Sep 29 02:33:07 EDT 2017


Serhiy Storchaka <storchaka+cpython at 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 <report at bugs.python.org>
<https://bugs.python.org/issue31285>
_______________________________________


More information about the Python-bugs-list mailing list