]> granicus.if.org Git - python/commit
At the C level, tuple arguments are passed in directly to the exception
authorBrett Cannon <bcannon@gmail.com>
Wed, 21 Jun 2006 16:57:57 +0000 (16:57 +0000)
committerBrett Cannon <bcannon@gmail.com>
Wed, 21 Jun 2006 16:57:57 +0000 (16:57 +0000)
commit70a77ac23f4a3a72ca5722d1c7f85bfd852963fa
tree87abf01a3a7d8eb4dea61a4d8de7db3b804a2284
parent115ecb9211ec083494d90c88dcbca2da558d1994
At the C level, tuple arguments are passed in directly to the exception
constructor, meaning it is treated as *args, not as a single argument.  This
means using the 'message' attribute won't work (until Py3K comes around),
and so one must grab from 'arg' to get the error number.
Lib/test/test_socket_ssl.py