[Jython-checkins] jython: Fixed #2550. test_list_jy now passes also on Java 8.
stefan.richthofer
jython-checkins at python.org
Wed Feb 8 10:11:34 EST 2017
https://hg.python.org/jython/rev/423d8c23acb5
changeset: 8020:423d8c23acb5
user: Stefan Richthofer <stefan.richthofer at gmx.de>
date: Wed Feb 08 16:11:15 2017 +0100
summary:
Fixed #2550. test_list_jy now passes also on Java 8.
files:
NEWS | 1 +
src/org/python/core/JavaProxyList.java | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/NEWS b/NEWS
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@
Jython 2.7.1rc1
Bugs fixed
+ - [ 2550 ] test_list_jy fails on Java 8
- [ 2549 ] test_posix fails on Linux
- [ 2548 ] Unicode u'\N{name}' frequently broken, because ucnhash.dat outdated
- [ 2527 ] cStringIO throws IllegalArgumentException with non-ASCII values
diff --git a/src/org/python/core/JavaProxyList.java b/src/org/python/core/JavaProxyList.java
--- a/src/org/python/core/JavaProxyList.java
+++ b/src/org/python/core/JavaProxyList.java
@@ -630,13 +630,13 @@
listIAddProxy,
new ListMulProxyClass("__mul__", 1),
new ListMulProxyClass("__rmul__", 1),
- listIMulProxy,
- listSortProxy,
+ listIMulProxy
};
}
static PyBuiltinMethod[] getPostProxyMethods() {
return new PyBuiltinMethod[]{
+ listSortProxy,
listRemoveOverrideProxy
};
}
--
Repository URL: https://hg.python.org/jython
More information about the Jython-checkins
mailing list