[Zodb-checkins] CVS: ZODB3/ZEO/zrpc - log.py:1.6.2.2
Guido van Rossum
guido at python.org
Thu Apr 17 18:17:12 EDT 2003
Update of /cvs-repository/ZODB3/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv10555
Modified Files:
Tag: ZODB3-3_1-branch
log.py
Log Message:
Backport:
short_repr(): when processing tuple elements, use short_repr()
recursively to avoid blowing up when a tuple contains a really long
string (e.g. 100 MB in size).
=== ZODB3/ZEO/zrpc/log.py 1.6.2.1 => 1.6.2.2 ===
--- ZODB3/ZEO/zrpc/log.py:1.6.2.1 Thu Dec 12 16:22:10 2002
+++ ZODB3/ZEO/zrpc/log.py Thu Apr 17 17:17:11 2003
@@ -57,7 +57,7 @@
elts = []
size = 0
for elt in obj:
- r = repr(elt)
+ r = short_repr(elt)
elts.append(r)
size += len(r)
if size > REPR_LIMIT:
More information about the Zodb-checkins
mailing list