commit | 70a77ac23f4a3a72ca5722d1c7f85bfd852963fa | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Wed Jun 21 16:57:57 2006 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Wed Jun 21 16:57:57 2006 +0000 |
tree | 87abf01a3a7d8eb4dea61a4d8de7db3b804a2284 | |
parent | 115ecb9211ec083494d90c88dcbca2da558d1994 [diff] |
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.