The following codes causes that subclasses of "class dict" (such as OrderedDict) do not work:
if (PyDict_Check(current.object))
// If it's a standard dictionary, this is +20% faster
rc = PyDict_SetItem(current.object, key, value);
else
rc = PyObject_SetItem(current.object, key, value);
Decoder.py.txt
The following codes causes that subclasses of "class dict" (such as OrderedDict) do not work:
if (PyDict_Check(current.object))
// If it's a standard dictionary, this is +20% faster
rc = PyDict_SetItem(current.object, key, value);
else
rc = PyObject_SetItem(current.object, key, value);
Decoder.py.txt