[issue5347] SocketIO redefines RawIOBase.__del__

Antoine Pitrou report at bugs.python.org
Sun Feb 22 21:48:57 CET 2009


New submission from Antoine Pitrou <pitrou at free.fr>:

SocketIO defines its own __del__ while it could simply rely on
IOBase.__del__ to do the right thing.

I'm saying this because in the C version of the io lib, there is no
__del__ anymore, so that SocketIO objects caught in a ref cycle wouldn't
block the GC from collecting the objects.

----------
components: Library (Lib)
messages: 82609
nosy: pitrou
priority: normal
severity: normal
status: open
title: SocketIO redefines RawIOBase.__del__
type: behavior
versions: Python 3.1

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


More information about the Python-bugs-list mailing list