Message10175
This was a backwards breaking change to make objects implementing java.util.Map behave as if they are dict-like, and therefore satisfy the contract of https://docs.python.org/2/library/collections.html#collections.MutableMapping:
$ jython27
Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_45
Type "help", "copyright", "credits" or "license" for more information.
>>> import java
>>> m = java.util.HashMap()
>>> from collections import MutableMapping
>>> isinstance(m, MutableMapping)
True
See https://hg.python.org/jython/rev/864bbec6ddb5 |
|
Date |
User |
Action |
Args |
2015-08-10 23:16:30 | zyasoft | set | messageid: <1439248590.94.0.987640693488.issue2381@psf.upfronthosting.co.za> |
2015-08-10 23:16:30 | zyasoft | set | recipients:
+ zyasoft, kaneg |
2015-08-10 23:16:30 | zyasoft | link | issue2381 messages |
2015-08-10 23:16:29 | zyasoft | create | |
|