Mercurial > cpython-lru_cache-weakref
diff Python/exceptions.c @ 20723:6ac45244c41e legacy-trunk
vgetargskeywords()
+ Squash another potential buffer overrun.
+ Simplify the keyword-arg loop by decrementing the count of keywords
remaining instead of incrementing Yet Another Variable; also break
out early if the number of keyword args remaining hits 0.
Since I hit the function's closing curly brace with this patch, that's
enough of this for now <wink>.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Sat, 27 Oct 2001 07:25:06 +0000 |
| parents | 8b3ea7335c1b |
| children | 639c0a3ae8dc |
