edgewall / genshi

Python toolkit for generation of output for the web
http://genshi.edgewall.org
Other
86 stars 35 forks source link

Error "Flags not at the start of the expression" in recent Python 3.11 #66

Closed gvanrossum closed 2 years ago

gvanrossum commented 2 years ago

It seems a deprecated re feature was recently removed, and Genshi as a result fails under 3.11 built from the latest source (as of March 22 at least).

More color here: https://github.com/faster-cpython/ideas/issues/333#issuecomment-1076479303

gvanrossum commented 2 years ago

Apparently this is fixed in https://github.com/edgewall/genshi/commit/605de3bfdda3ae80dc2aa1676901dae37c6eb031 -- can anyone confirm? And then do a release, pretty please?

hodgestar commented 2 years ago

Genshi 0.7.7 released with the regex fixes included.

gvanrossum commented 2 years ago

Thanks!