Topic: Creating a Python ordered dictionary using the C API
Hi,
I am writing a Python extension in C where I need to create a dictionary object. I am using the PyDict_New() function. However this function returns an ordinary Python dictionary whereas I need an Python ordered dictionary (http://docs.python.org/library/collecti … rderedDict)
Is there anyway to create an ordered dictionary using the Python C API?
Thanks in advance for any help
Regards,
-MD
Last edited by md (December 28, 2011 17:34)