[Python-Dev] Undocumented change / bug in Python3's PyMapping_Check

2009-05-04 Thread John Millikin
In Python 2, PyMapping_Check will return 0 for list objects. In Python 3, it returns 1. Obviously, this makes it rather difficult to differentiate between mappings and other sized iterables. In addition, it differs from the behavior of the ``collections.Mapping`` ABC -- isinstance([], collections.M

Re: [Python-Dev] PEP 361: Python 2.6/3.0 release schedule

2008-03-18 Thread John Millikin
> Possible features for 2.6 > New modules in the standard library: > - JSON implementation > Have there been any plans made for which one? All of the implementations I'm aware of (cjson, simplejson, jsonlib, demjson, python-json) have serious issues that in my opinion should be fixed be