Thank you Ethan and Chris for the tips. I may be able to adapt that decorator for my use cases -- I hadn't thought of using something like that. Ethan, I'll drop a note over at Python Ideas too with some details about this.
Thanks for your help, Jason On Tue, May 2, 2017 at 9:47 PM, Chris Angelico <ros...@gmail.com> wrote: > On Wed, May 3, 2017 at 12:37 PM, Ethan Furman <et...@stoneleaf.us> wrote: > > Until then Chris' decorator is probably the easiest work around -- but > you > > should only catch AttributeError, not everything. > > It does. (Or rather, it catches only those exception(s) listed as > parameters.) Any other exceptions pass through unchanged. > > ChrisA > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list