Hi, 2015-06-23 0:10 GMT+02:00 Nick Coghlan <ncogh...@gmail.com>: > Chiming in again since I wasn't clear on this aspect last time: I'd also be > +1 on parallel APIs that handle the chaining. > > Since the auto-chaining idea seems largely unpopular, that suggests to me > that a parallel set of APIs would be the most readily accepted way forward. > > I nominate a "*Chained" suffix as my suggested colour for the bikeshed :)
In the PEP, I proposed adding helpers in Alternatives, but I proposed to add *private* APIs: https://www.python.org/dev/peps/pep-0490/#new-helpers-to-chain-exceptions I would prefer to experiment these API during one cycle before making them public. Extending the public API has a cost on the maintenance, it's common to add 1 or 2 versions of the same function which makes the public API uglier and heavier to maintain (especially since we have the public ABI). Victor _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com