Hi, I am trying to scan std::map container types.  I need to obtain the key and element types separately, but pygccxml (0.9.5) keeps fighting me (below).  Wasn't there supposed to be a key_type method/attribute in the container_traits classes?

Apparently key_type() method works well in SVN pygccxml.  Any idea when will be next pygccxml release?


**************************** std::map< std::string, int > intTraceback (most recent call last):
  File "../tests/foomodulegen-auto-split.py", line 57, in <module>
    my_module_gen()
  File "../tests/foomodulegen-auto-split.py", line 41, in my_module_gen
    gccxml_options=gccxml_options)
  File "/home/gjc/projects/pybindgen/trunk/pybindgen/gccxmlparser.py", line 551, in parse
    self.scan_types()
  File "/home/gjc/projects/pybindgen/trunk/pybindgen/gccxmlparser.py", line 730, in scan_types
    self._scan_namespace_types(self.module, self.module_namespace, pygen_register_function_name="register_types")
  File "/home/gjc/projects/pybindgen/trunk/pybindgen/gccxmlparser.py", line 1160, in _scan_namespace_types
    self._register_container(module, traits, type_info, _outer_class, name)
  File "/home/gjc/projects/pybindgen/trunk/pybindgen/gccxmlparser.py", line 1318, in _register_container
    print >> sys.stderr, "****************************", name, traits.element_type(definition), traits.key_type(definition)
AttributeError: class xxx_traits has no attribute 'key_type'


--
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert