[issue24312] miniDOM._write_data() give a vague error message when the argument isn't of type str
Oz Tamir
report at bugs.python.org
Thu May 28 09:49:50 CEST 2015
Oz Tamir added the comment:
I created a patch that will raise a TypeError when _write_data() has recvived an argument that is not a str.
I found this exception and the error message it provide to be more straight forward and helpful when encountering this error.
----------
keywords: +patch
Added file: http://bugs.python.org/file39529/issue24312.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24312>
_______________________________________
More information about the Python-bugs-list
mailing list