Antoine Pitrou <pit...@free.fr> added the comment:

By the way, an easy way to fix it would probably to rewrite the
destructor in the following way (haven't tested):

    def __del__(self):
        self.__class__.population -= 1

----------

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

Reply via email to