]> granicus.if.org Git - python/commit
Michael Hudson:
authorGuido van Rossum <guido@python.org>
Wed, 26 Apr 2000 20:34:28 +0000 (20:34 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 26 Apr 2000 20:34:28 +0000 (20:34 +0000)
commit50422b403c4ebea87f7af840e5c5cf147155639e
tree835eded9710ea7fd84c529269ad1cf13beddeeaa
parent868b50af1710442a8f92b266ff507259bc09e7de
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.
Modules/posixmodule.c