"tomer filiba" <[EMAIL PROTECTED]> wrote:
> On 5/17/06, Brett Cannon <[EMAIL PROTECTED]> wrote:
> > And I brought this up with Guido once and he was not enthusiastic
> > about it.  Basically, keep exceptions simple.  They are important
> > and basic enough to keep it simple.  If you want fancier support,
> > subclass Exception and add the support you want.
> 
> well, if guido pronounced on it than i guess it's settled, but why do you
> condsider *args to be simple and **kwargs not as simple? don't you
> think "ex.filename" is simpler/clearer than "ex[1]"?

>From what I understand of Brett's post, ex[1] won't be available anymore
either.

While it would be convenient for inspecting exceptions when they are
caught via ex.attr, creating exceptions with keyword arguments seems
like it would be a bit if a pain.

 - Josiah

_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to