Giampaolo Rodola' added the comment: I think we shouldn't expect asynchat to be thread safe in this regard. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17925> _______________________________________