Andrew Dalke wrote: > However, for backwards compatibility, the args attribute > > contains only a 2-tuple of the first two constructor arguments.
This is a good reason for having named attributes instead of a tuple -- it's extensible without requiring these sorts of hacks. As for the C function problem -- are these functions instantiating some known exception class? If so, why can't that class be given an __init__ that accepts the appropriate arguments positionally and stores them as attributes (or passes them on as keywords args as per my earlier suggestion)? -- Greg _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com