[Zodb-checkins] CVS: ZODB3 - README.txt:1.7.4.14.4.4
Tim Peters
tim.one at comcast.net
Thu Sep 11 16:24:21 EDT 2003
Update of /cvs-repository/ZODB3
In directory cvs.zope.org:/tmp/cvs-serv6841
Modified Files:
Tag: Zope-2_6-branch
README.txt
Log Message:
Explain how to get rid of huge steaming mounds of gc.garbage printouts
when running the tests on Windows with Python 2.1.3.
Help! I don't know enough about restructured text to know whether the
def __del__(self):
self.close()
part will get rendered as intended.
=== ZODB3/README.txt 1.7.4.14.4.3 => 1.7.4.14.4.4 ===
--- ZODB3/README.txt:1.7.4.14.4.3 Thu Sep 11 15:15:32 2003
+++ ZODB3/README.txt Thu Sep 11 15:24:21 2003
@@ -127,6 +127,19 @@
The test script has many more options. Use the ``-h`` or ``--help``
options to see a file list of options.
+Windows + Python 2.1.3 note: The test driver looks at gc.garbage after
+each test, and prints gc.garbage if it's not empty. An ever-increasing
+list of unreclaimable garbage will get displayed if you run the tests
+on Windows with Python 2.1.3. The cause is that 2.1.3's socket.py
+supplies a socket wrapper class on Windows, with a needless __del__
+method. This __del__ method was simply removed in later Python releases.
+You can do the same without harm in a Python 2.1.3 release: edit
+Lib\socket.py, and comment out, or delete, this code in class
+_socketobject::
+
+ def __del__(self):
+ self.close()
+
History
-------
More information about the Zodb-checkins
mailing list