[Zodb-checkins] CVS: Zope3/lib/python/ZODB - referencesf.py:1.2.92.3

Guido van Rossum guido@python.org
Thu, 25 Apr 2002 23:49:47 -0400


Update of /cvs-repository/Zope3/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv23801/lib/python/ZODB

Modified Files:
      Tag: Zope-3x-branch
	referencesf.py 
Log Message:
Anticipate None becoming a keyword in Python 2.3.  There are a few
functions with a default argument of the form None=None, as a speed
hack; this will break.

Note that in one case, None is not used in the function body; in
another case, None is used to pass an explicit 2nd arg to {}.get(),
but this defaults to None.  Draw your own conclusions...



=== Zope3/lib/python/ZODB/referencesf.py 1.2.92.2 => 1.2.92.3 ===
                 StringIO=cStringIO.StringIO,
                 tt=type(()),
-                type=type, None=None):
+                type=type):
 
     if rootl is None: rootl=[]
     u=Unpickler(StringIO(p))