[Zodb-checkins] SVN: ZODB/branches/tseaver-python_picklecache-2/src/persistent/pyPersistence.py Tolerate being handed irrelevant arguments.
Tres Seaver
tseaver at palladion.com
Tue Sep 27 12:31:06 EST 2011
Log message for revision 122974:
Tolerate being handed irrelevant arguments.
Changed:
U ZODB/branches/tseaver-python_picklecache-2/src/persistent/pyPersistence.py
-=-
Modified: ZODB/branches/tseaver-python_picklecache-2/src/persistent/pyPersistence.py
===================================================================
--- ZODB/branches/tseaver-python_picklecache-2/src/persistent/pyPersistence.py 2011-09-27 17:31:05 UTC (rev 122973)
+++ ZODB/branches/tseaver-python_picklecache-2/src/persistent/pyPersistence.py 2011-09-27 17:31:06 UTC (rev 122974)
@@ -80,7 +80,7 @@
__slots__ = ('__jar', '__oid', '__serial', '__flags')
implements(IPersistent)
- def __new__(cls):
+ def __new__(cls, *args, **kw):
inst = super(Persistent, cls).__new__(cls)
inst.__jar = inst.__oid = inst.__serial = None
inst.__flags = None
More information about the Zodb-checkins
mailing list