Edgewall Software

Opened 3 years ago

Closed 2 years ago

#612 closed defect (fixed)

Genshi doesn't support Python 3.8

Reported by: anonymous Owned by: cmlenz
Priority: major Milestone: 0.8
Component: General Version: 0.7
Keywords: Cc:

Description (last modified by rjollos)

Python 3.8 now uses ast.Constant type and remove types like _ast.Str: ast.Str is a backward compatibility class.

I had to disable Genshi benchmark in the performance project: https://github.com/python/performance/issues/46

Example of issue: strarg = _new(_ast.Str, node.id) at genshi/template/eval.py:616: the code should use ast.Str, not _ast.Str.

Change History (4)

comment:1 Changed 3 years ago by anonymous

See https://bugs.python.org/issue32892 for more information about the Python change.

comment:2 Changed 3 years ago by hodgestar

Thanks for the report!

I'm maintaining Genshi's on GitHub now, so I've opened https://github.com/edgewall/genshi/issues/14 there too.

Last edited 3 years ago by rjollos (previous) (diff)

comment:3 Changed 3 years ago by rjollos

  • Description modified (diff)

comment:4 Changed 2 years ago by hodgestar

  • Resolution set to fixed
  • Status changed from new to closed

I've released 0.7.2 which has support for Python 3.8.

Note: See TracTickets for help on using tickets.