[issue13103] copy of an asyncore dispatcher causes infinite recursion
Xavier de Gaye
report at bugs.python.org
Wed Oct 5 13:16:13 CEST 2011
Xavier de Gaye <xdegaye at gmail.com> added the comment:
The infinite recursion occurs also when running python 3.2 with the
extension modules copy, copyreg and asyncore from python 3.1. So it
seems this regression is not caused by a modification in these
modules.
Anyway, the bug is in asyncore. The attached patch fixes it and is
more robust than adding the __getstate__ and __setstate__ methods to
dispatcher.
The patch includes a test case.
----------
keywords: +patch
Added file: http://bugs.python.org/file23317/infinite_recursion_asyncore.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13103>
_______________________________________
More information about the Python-bugs-list
mailing list