[issue13103] copy of an asyncore dispatcher causes infinite recursion

STINNER Victor report at bugs.python.org
Fri Jun 27 23:08:26 CEST 2014


STINNER Victor added the comment:

This issue has been fixed in Python 3.5 by this change:
---
changeset:   90495:2cceb8cb552b
parent:      90493:d1a03834cec7
user:        Giampaolo Rodola' <g.rodola at gmail.com>
date:        Tue Apr 29 02:03:40 2014 +0200
files:       Lib/asyncore.py Lib/test/test_asyncore.py Misc/NEWS
description:
fix isuse #13248: remove previously deprecated asyncore.dispatcher __getattr__ cheap inheritance hack.
---

If I understdood correctly, for backward compatibility (and limit risk of regressions), this fix cannot be done in Python 3.4.

I close the issue, copy.copy(asyncore.dispatcher()) doesn't crash anymore.

----------
nosy: +haypo
resolution:  -> fixed
status: open -> closed
versions: +Python 3.5 -Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13103>
_______________________________________


More information about the Python-bugs-list mailing list