On 26 September 2013 16:53, Georg Brandl <g.bra...@gmx.net> wrote: >> Sure, that's doable, but it dumps the full repr of "obj" in the middle >> of the sentence. The thing that's not practical is the neat and tidy >> wording Georg proposed, because the thing passed as "obj" is actually >> an arbitrary Python object that may have a messy repr (like a bound >> method, which is what gets passed in the __del__ case), so there's >> definite merit in keeping that repr at the *end* of the header line. > > Then this should be fine, I guess? > > Exception caught and not propagated in: <....>
Sure. I still prefer something like "Could not propagate exception from:" or "Caller could not propagate exception from <repr>" that better indicates we're suppressing it because it's infeasible to raise it rather than just because we feel like it, but any of them would offer a decent improvement over the status quo. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ 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