Edgewall Software

Opened 6 years ago

Closed 5 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 6 years ago by anonymous

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

comment:2 Changed 6 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.

Version 0, edited 6 years ago by hodgestar (next)

comment:3 Changed 5 years ago by rjollos

  • Description modified (diff)

comment:4 Changed 5 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.