]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backporting a small part of the socket.py changes from 2.3: get rid
authorTim Peters <tim.peters@gmail.com>
Mon, 23 Dec 2002 16:26:15 +0000 (16:26 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 23 Dec 2002 16:26:15 +0000 (16:26 +0000)
commit7adc32ffa4215a398b38a6c38987d1fbf5a9ac05
tree3d4baaf11da234be38ceb1cd7413aac5538729ac
parentcc80e80c8af1114db77cffc1e82c1631b6e01e5b
Backporting a small part of the socket.py changes from 2.3:  get rid
of the socket wrapper __del__ method.  It isn't needed, and it prevents
cyclic structures containing socket objects (primarily on Windows, where
the wrapper is used) from getting garbage-collected.  People running
ZEO tests in Zope under Windows are acutely aware of this, as the
test driver prints an ever-growing gc.garbage list after each test.
Lib/socket.py