Message6383
Jython 2.5.2rc3 (Release_2_5_2rc3:7184, Jan 10 2011, 22:54:57)
[OpenJDK 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_20
Type "help", "copyright", "credits" or "license" for more information.
>>> class A(object): pass
...
>>> type(A().__dict__)
<type 'dict'>
>>> isinstance(A().__dict__, dict)
False
Anybody care to explain? Ran into this while debugging a strange issue in my app that only occurred in Jython. |
|
Date |
User |
Action |
Args |
2011-02-07 08:37:01 | alex.gronholm | set | recipients:
+ alex.gronholm |
2011-02-07 08:37:01 | alex.gronholm | set | messageid: <1297067821.33.0.31683229641.issue1704@psf.upfronthosting.co.za> |
2011-02-07 08:37:01 | alex.gronholm | link | issue1704 messages |
2011-02-07 08:37:00 | alex.gronholm | create | |
|