Message6235
Easy to reproduce:
>>> from collections import defaultdict
>>> x=defaultdict()
>>> x.pop(None,None)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
java.lang.NullPointerException
at org.python.core.PyDictionary.dict_pop(PyDictionary.java:602)
at org.python.core.PyDictionary$dict_pop_exposer.__call__(Unknown Source)
at org.python.core.PyObject.__call__(PyObject.java:408)
at org.python.pycode._pyx20.f$0(<stdin>:1)
at org.python.pycode._pyx20.call_function(<stdin>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1253)
at org.python.core.Py.exec(Py.java:1297)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:215)
at org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter.java:89)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:70)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:46)
at org.python.util.InteractiveConsole.push(InteractiveConsole.java:110)
at org.python.util.InteractiveConsole.interact(InteractiveConsole.java:90)
at org.python.util.jython.run(jython.java:320)
at org.python.util.jython.main(jython.java:129)
Note: this bugs seems to have been introduced sometime after 2.5.2 beta. |
|
Date |
User |
Action |
Args |
2010-11-09 03:00:22 | emblemparade | set | recipients:
+ emblemparade |
2010-11-09 03:00:22 | emblemparade | set | messageid: <1289271622.65.0.674325496092.issue1676@psf.upfronthosting.co.za> |
2010-11-09 03:00:22 | emblemparade | link | issue1676 messages |
2010-11-09 03:00:20 | emblemparade | create | |
|