| commit | fb88636199c12f63d6c8c89f311cdafc91f30d2f | [log] [tgz] |
|---|---|---|
| author | Benjamin Peterson <benjamin@python.org> | Sat Apr 24 18:21:17 2010 +0000 |
| committer | Benjamin Peterson <benjamin@python.org> | Sat Apr 24 18:21:17 2010 +0000 |
| tree | 24b2758c45ac543fe9970f861ca091852a8f4a94 | |
| parent | b962171414aa2cfe3dbfbd4294819a4153a7bd6c [diff] |
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.