[issue10833] Replace %.100s by %s in PyErr_Format(): the arbitrary limit of 500 bytes is outdated
Alexander Belopolsky
report at bugs.python.org
Thu Jan 6 19:04:08 CET 2011
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
> /* Caller is responsible for limiting the format */
Note that it is a good idea to avoid memory allocation during exception processing. Think of out of memory errors: how would you report those if you need more memory to format the error message than the failed operation?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10833>
_______________________________________
More information about the Python-bugs-list
mailing list