diff options
author | Guido van Rossum <guido@python.org> | 2000-04-26 20:34:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-04-26 20:34:28 (GMT) |
commit | 50422b403c4ebea87f7af840e5c5cf147155639e (patch) | |
tree | 835eded9710ea7fd84c529269ad1cf13beddeeaa /Objects/classobject.c | |
parent | 868b50af1710442a8f92b266ff507259bc09e7de (diff) | |
download | cpython-50422b403c4ebea87f7af840e5c5cf147155639e.zip cpython-50422b403c4ebea87f7af840e5c5cf147155639e.tar.gz cpython-50422b403c4ebea87f7af840e5c5cf147155639e.tar.bz2 |
Michael Hudson:
This patch changes posixmodule.c:execv to
a) check for zero length args (does this to execve, too), raising
ValueError.
b) raises more rational exceptions for various flavours of duff arguments.
I *hate*
TypeError: "illegal argument type for built-in operation"
It has to be one of the most frustrating error messages ever.
Diffstat (limited to 'Objects/classobject.c')
0 files changed, 0 insertions, 0 deletions