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

Oren Milman report at bugs.python.org
Fri Sep 29 01:58:29 EDT 2017


Oren Milman <orenmn at gmail.com> added the comment:

oh, of course, checking that get_source() returned a string before passing it to
str.splitlines() is not needed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31285>
_______________________________________


More information about the Python-bugs-list mailing list