This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bruno.dupuis
Recipients brett.cannon, bruno.dupuis, eric.araujo, eric.smith, ncoghlan, r.david.murray, xmorel
Date 2012-11-29.02:26:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354155977.14.0.139004669797.issue7976@psf.upfronthosting.co.za>
In-reply-to
Content
Patch attached.

I just exposed _setoption() as process_option() so that the user can manage execptions as she wants but she has to make his own loop.

`_OptionError` is exposed as `WarningsOptParsingError`. I'm not satisfied with this name as it is quite long and it contains "Warning" which is bad for something that raise and is not actually a warning. If someone has a better idea...

Anyway, I wrote a test case, and I'll write a short reciepe in the doc when the patch is good.

It's my very first patch for Python. Be rude, please :)
History
Date User Action Args
2012-11-29 02:26:17bruno.dupuissetrecipients: + bruno.dupuis, brett.cannon, ncoghlan, eric.smith, eric.araujo, r.david.murray, xmorel
2012-11-29 02:26:17bruno.dupuissetmessageid: <1354155977.14.0.139004669797.issue7976@psf.upfronthosting.co.za>
2012-11-29 02:26:17bruno.dupuislinkissue7976 messages
2012-11-29 02:26:16bruno.dupuiscreate