comparison Python/errors.c @ 21092:53270d281bf0 legacy-trunk

Use PyOS_snprintf() at some cost even though it was correct before. seterror() uses a char array and a pointer to the current position in that array. Use snprintf() and compute the amount of space left in the buffer based on the current pointer position.
author Jeremy Hylton <jeremy@alum.mit.edu>
date Wed, 28 Nov 2001 21:46:59 +0000
parents abaf9ea2e560
children d4406fbfcb4e
comparison
equal deleted inserted replaced
21091:47f6533674fd 21092:53270d281bf0