[Jython-checkins] jython: Fix StackOverflowError when calling __len__ on a subclassed bytearray
jim.baker
jython-checkins at python.org
Fri May 23 20:53:23 CEST 2014
http://hg.python.org/jython/rev/c35aa984452f
changeset: 7275:c35aa984452f
user: Indra Talip <indra.talip at gmail.com>
date: Fri May 23 12:35:51 2014 -0600
summary:
Fix StackOverflowError when calling __len__ on a subclassed bytearray
files:
src/org/python/core/PyByteArray.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/org/python/core/PyByteArray.java b/src/org/python/core/PyByteArray.java
--- a/src/org/python/core/PyByteArray.java
+++ b/src/org/python/core/PyByteArray.java
@@ -1466,7 +1466,7 @@
@ExposedMethod(doc = BuiltinDocs.bytearray___len___doc)
final int bytearray___len__() {
- return __len__();
+ return super.__len__();
}
/**
--
Repository URL: http://hg.python.org/jython
More information about the Jython-checkins
mailing list