[issue1301] Bad assertion in _tkinter.c
Facundo Batista
report at bugs.python.org
Thu Oct 25 15:09:53 CEST 2007
Facundo Batista added the comment:
Really do not understand that assert. It says:
assert(size < size * sizeof(Tcl_UniChar));
For that to be true, considering size to be positive, the result of
sizeof needs to be greater than 0.
If you modify it, and also accepts it to be 0, and considering that the
result of sizeof won't be negative, what is the point of keeping the assert?
----------
nosy: +facundobatista
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1301>
__________________________________
More information about the Python-bugs-list
mailing list