Issue226241
Created on 2000-12-18.22:40:23 by bckfnn, last changed 2000-12-23.00:30:34 by pedronis.
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-12-18 22:40:23 | bckfnn | create |
Created on 2000-12-18.22:40:23 by bckfnn, last changed 2000-12-23.00:30:34 by pedronis.
Messages | |||
---|---|---|---|
msg224 (view) | Author: Finn Bock (bckfnn) | Date: 2000-12-18.22:40:23 | |
A difference in module import between CPython and jython. The example are from the xml.dom package. ==== pack1/__init__.py ==== class Node: Node = 1 ==== pack1/Node.py ==== class Node: pass Jython 2.0alpha2 on java1.3.0 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> from pack1.Node import Node >>> print Node, type(Node) 1 org.python.core.PyInteger >>> Python 2.0 (#8, Oct 16 2000, 17:27:58) [MSC 32 bit (Intel)] on win32 Type "copyright", "credits" or "license" for more information. >>> from pack1.Node import Node pack1.Node >>> print Node, type(Node) pack1.Node.Node <type 'class'> >>> |
|||
msg225 (view) | Author: Samuele Pedroni (pedronis) | Date: 2000-12-23.00:30:34 | |
Fixed with other import related bugs. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-12-18 22:40:23 | bckfnn | create |
Supported by Python Software Foundation,
Powered by Roundup