Issue2512

classification
Title: Values in built-in modules's __dict__ are “” instead of the actual values
Type: behaviour Severity: normal
Components: Versions: Jython 2.7
Milestone: Jython 2.7.2
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: progval, zyasoft
Priority: Keywords:

Created on 2016-07-30.11:16:04 by progval, last changed 2016-09-06.05:18:57 by zyasoft.

Messages
msg10885 (view) Author: (progval) Date: 2016-07-30.11:16:04
Hi,

On Jython 2.7.1b3, “builtinmodule.__dict__['foo']” is not equivalent to “builtinmodule.foo”.

For instance:

>>> import math
>>> math.pi
3.141592653589793
>>> math.__dict__['pi']
<reflected field public static org.python.core.PyFloat org.python.modules.math.pi at 0x2>
History
Date User Action Args
2016-09-06 05:18:57zyasoftsetmilestone: Jython 2.7.2
2016-07-30 15:39:26zyasoftsetnosy: + zyasoft
2016-07-30 11:16:04progvalcreate