diff Python/errors.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 3357b8ebb259
children 07a47a514548
line wrap: on
line diff