Fix for http://bugs.jython.org/issue2183