[issue4075] Use WCHAR variant of OutputDebugString

Martin v. Löwis report at bugs.python.org
Wed Oct 8 20:40:53 CEST 2008


Martin v. Löwis <martin at v.loewis.de> added the comment:

I agree that a static buffer should be used. I think calling it in a
loop is overkill. Instead, if an overrun occurs, adding "(truncated)"
should be good enough. I could find only a single caller that doesn't
pass a static string (_Py_NegativeRefcount), where I think 50 characters
are still plenty.

----------
nosy: +loewis

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4075>
_______________________________________


More information about the Python-bugs-list mailing list