Issue467826
Created on 2001-10-04.11:13:45 by itamar, last changed 2001-10-27.21:44:00 by bckfnn.
Messages | |||
---|---|---|---|
msg416 (view) | Author: Itamar Shtull-Trauring (itamar) | Date: 2001-10-04.11:13:45 | |
In Jython 2.1a3, doing a sha digest doesn't work, but a hexdigest does work: Jython 2.1a3 on java1.3.1 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> import sha >>> s = sha.sha() >>> s.update("foo") >>> s.digest() Traceback (innermost last): File "<console>", line 1, in ? java.lang.NullPointerException at org.python.modules.SHA1.digest(SHA1.java) at java.lang.reflect.Method.invoke(Native Method) at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject.__call__(PyObject.java) at org.python.core.PyInstance.invoke(PyInstance.java) at org.python.pycode._pyx5.f$0(<console>:1) at org.python.pycode._pyx5.call_function(<console>) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyCode.call(PyCode.java) at org.python.core.Py.runCode(Py.java) at org.python.core.Py.exec(Py.java) at org.python.util.PythonInterpreter.exec(PythonInterpreter.java) at org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter.java) at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java) at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java) at org.python.util.InteractiveConsole.push(InteractiveConsole.java) at org.python.util.InteractiveConsole.interact(InteractiveConsole.java) at org.python.util.jython.main(jython.java) java.lang.NullPointerException: java.lang.NullPointerException >>> s.hexdigest() '0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33' |
|||
msg417 (view) | Author: Finn Bock (bckfnn) | Date: 2001-10-27.21:42:16 | |
Logged In: YES user_id=4201 Added as test324.py. |
|||
msg418 (view) | Author: Finn Bock (bckfnn) | Date: 2001-10-27.21:44:00 | |
Logged In: YES user_id=4201 Fixed in SHA1.java: 2.3; |
History | |||
---|---|---|---|
Date | User | Action | Args |
2001-10-04 11:13:45 | itamar | create |
Supported by Python Software Foundation,
Powered by Roundup