Rémi Lapeyre <remi.lape...@henki.fr> added the comment:

This part of the code is already used in three places and your patch would add 
two occurrences of of it, I think it would be great to put the part that print 
the exception in a private method, to avoid duplicating it all over the place.

Doing this seems small enough to me that I think it could be done in the same 
PR to avoid the overhead of having two separates PRs.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37022>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to