Sounds good about Indra's fix on bytearray.__len__, just need to put in an appropriate test and this looks great. I can readily write that test. (Might also be on a separate email.)
Re stack.patch - this might be just the sort of thing we want to give a Jython user more info because Python recursion limit exceptions are (annoyingly) triggered differently than Java StackOverflowErrors. For those not looking at the patch text:
- return Py.RuntimeError("maximum recursion depth exceeded");
+ return Py.RuntimeError("maximum recursion depth exceeded (Java StackOverflowError)");
Any thoughts by other devs on why we should not do this? Otherwise I will add it in as well.