http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53006
--- Comment #2 from Tom Tromey <tromey at gcc dot gnu.org> 2012-04-16 18:01:17
UTC ---
(In reply to comment #0)
> match = self.compiled_rx.match(typename)
> print type(typename)
> <type 'NoneType'>
This is very odd. The code in context:
typename = self.get_basic_type(val.type)
if not typename:
return None
# All the types we match are template types, so we can use a
# dictionary.
match = self.compiled_rx.match(typename)
If typename is None, we should have taken the "return None" branch.
I tend to agree it is a python problem as you stated in comment #1.