Issue226875
Created on 2000-12-27.02:35:34 by pedronis, last changed 2000-12-27.16:08:36 by bckfnn.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2000-12-27 02:35:34 | pedronis | create | |
Created on 2000-12-27.02:35:34 by pedronis, last changed 2000-12-27.16:08:36 by bckfnn.
| Messages | |||
|---|---|---|---|
| msg230 (view) | Author: Samuele Pedroni (pedronis) | Date: 2000-12-27.02:35:34 | |
The following code produces an NPE:
from java.lang import Number
exec """
class M(N):
pass
""" in { 'N': Number}
The source is the following code in PyClass.init:
if (baseClass != null || interfaces.size() != 0) {
String proxyName = dict.__finditem__("__module__").toString() +
"$" + __name__;
proxyClass = MakeProxies.makeProxy(baseClass, interfaces,
proxyName, __dict__);
}
namely in this case dict.__finditem__("__module__") returns
null!
|
|||
| msg231 (view) | Author: Finn Bock (bckfnn) | Date: 2000-12-27.16:08:36 | |
Fixed in PyClass.java 2.16; |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2000-12-27 02:35:34 | pedronis | create | |
Supported by Python Software Foundation,
Powered by Roundup