Mercurial > cpython-lru_cache-weakref
diff Python/thread_pthread.h @ 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 | 7a991d012cd6 |
| children | 884e57bf3ada |
