]> granicus.if.org Git - python/commit
Fix PR117. The error message is "keywords must be strings". Perhaps
authorGuido van Rossum <guido@python.org>
Tue, 26 Oct 1999 00:12:20 +0000 (00:12 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 26 Oct 1999 00:12:20 +0000 (00:12 +0000)
commit25da5bebd8875728f1719ddc0f70dde529cec224
tree0dd5ecd379b99e12ff0d1c65c2880b9348c384b6
parente1ada50559c94da6fe7d16dd205f17e02d1f0aee
Fix PR117.  The error message is "keywords must be strings".  Perhaps
not as descriptive as what Barry suggests, but this also catches the
(in my opinion important) case where some other C code besides apply()
constructs a kwdict that doesn't have the right format.  All the other
possibilities of getting it wrong (non-dict, wrong keywords etc) are
already caught so this makes sense to check here.
Python/ceval.c