Mercurial > cpython-lru_cache-weakref
diff Python/graminit.c @ 60931:79128efe8a99
prevent the dict constructor from accepting non-string keyword args #8419
This adds PyArg_ValidateKeywordArguments, which checks that keyword arguments
are all strings, using an optimized method if possible.
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sat, 24 Apr 2010 18:21:17 +0000 |
| parents | 7ee140b7ef93 |
| children | 8002148c1a1b |
