[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/RDB - ResultSet.py:1.5
Guido van Rossum
guido@python.org
Fri, 13 Dec 2002 17:53:44 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/RDB
In directory cvs.zope.org:/tmp/cvs-serv5174
Modified Files:
ResultSet.py
Log Message:
Add XXX about __basicnew__, which is deprecated in Python 2.3.
=== Zope3/lib/python/Zope/App/RDB/ResultSet.py 1.4 => 1.5 ===
--- Zope3/lib/python/Zope/App/RDB/ResultSet.py:1.4 Mon Dec 2 15:03:49 2002
+++ Zope3/lib/python/Zope/App/RDB/ResultSet.py Fri Dec 13 17:53:44 2002
@@ -46,6 +46,8 @@
for row in self]
))
+ # XXX __basicnew__ is deprecated in Python 2.3.
+ # What to do instead?
def __basicnew__():
return ResultSet((), ())
__basicnew__ = staticmethod(__basicnew__)