On Fri, 30 Oct 2020 14:33:52 +0100 Dafna Hirschfeld <dafna.hirschfeld@xxxxxxxxxxxxx> wrote: > > +RE_struct = re.compile(r'\b(struct)\s+([a-zA-Z_]\w+)', flags=re.ASCII) > > +RE_union = re.compile(r'\b(union)\s+([a-zA-Z_]\w+)', flags=re.ASCII) > > +RE_enum = re.compile(r'\b(enum)\s+([a-zA-Z_]\w+)', flags=re.ASCII) > > +RE_typedef = re.compile(r'\b(typedef)\s+([a-zA-Z_]\w+)', flags=re.ASCII) > > I use ubuntu 18.04, my default python is 2.7, > when running 'make htmldocs' with that fix I get: > > AttributeError: 'module' object has no attribute 'ASCII' Argh...it seems that re.ASCII is Python3 only. For the short term, I guess we'll need to hack in some sort of workaround. The not-so-long-term intent, though, is to leave Python 2 behind. Thanks for the report, jon