edgewall / genshi

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

Add support for building code objects post-PEP570 #19

Closed pablogsal closed 5 years ago

pablogsal commented 5 years ago

This patch makes genshi compatible with the Python 3.8 alpha, which changed the representation of code objects to support positional-only arguments.

Closes: #18

hroncok commented 5 years ago

Thanks :tada:

vstinner commented 5 years ago

Genshi 0.7.2 doesn't include this fix. Would it be possible to get a new release? genshi benchmark was disable in performance project because it is not compatible with Python 3.8: https://github.com/python/performance/issues/54

FYI I proposed to add a new code.replace() method which should make genshi more future-proof once it will use it ;-) https://bugs.python.org/issue37032

hroncok commented 5 years ago

This conversation already happens at https://github.com/edgewall/genshi/issues/18#issuecomment-491439056

hodgestar commented 5 years ago

Genshi 0.7.3 with the PEP 570 fix included has been released.