| commit | b054be41c0cc5315d53c665195fecd0e977c4ff3 | [log] [tgz] |
|---|---|---|
| author | Tim Peters <tim.peters@gmail.com> | Sat Oct 27 05:07:41 2001 +0000 |
| committer | Tim Peters <tim.peters@gmail.com> | Sat Oct 27 05:07:41 2001 +0000 |
| tree | 8d4834d246f8eb016be2724c5d669334444457b8 | |
| parent | b0872fc8a6045e66df687d978be67d299cbc50e1 [diff] |
vgetargskeywords:
+ Generally test nkeywords against 0 instead of keywords against NULL
(saves a little work if an empty keywords dict is passed, and is
conceptually more on-target regardless).
+ When a call erroneously specifies a keyword argument both by position
and by keyword name:
- It was easy to provoke this routine into an internal buffer overrun
by using a long argument name. Now uses PyErr_format instead (which
computes a safe buffer size).
- Improved the error msg.