Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:

It seems innocuous enough, but the documentation for handleError() does say: 
"This method should be called from handlers when an exception is encountered 
during an emit() call."

That documentation is the same for 2.x and 3.x. This is not how you are using 
it. What happens if you just raise an Exception from your transmit() method, 
and just call transmit() from within emit() without making a condition of the 
return value?

----------

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

Reply via email to