Edgewall Software

Opened 11 months ago

Closed 5 months 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.

Attachments (0)

Change History (4)

comment:1 Changed 11 months ago by anonymous

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

comment:2 Changed 11 months 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 11 months ago by rjollos (previous) (diff)

comment:3 Changed 11 months ago by rjollos

  • Description modified (diff)

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

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.