Page MenuHomeSolus

Update python-astor to 0.8.1

Authored by xulongwu4 on Mon, Jul 20, 7:55 PM.



Update to 0.8.1.


  • Fixed precedence issue for f-string expressions that caused redundant parenthesis around expression.
  • Fixed astor.to_source() incorrectly checking whether source_generator_class is a subclass of astor.code_gen.SourceGenerator.
  • Fixed TypeError when AST nodes with unicode strings are passed to astor.to_source().
  • Fixed installation issue with setuptools 41.4.0 or later due to the use of an undocumented feature.
Test Plan

Used it to build my own project which depends on python-astor.

Diff Detail

R4691 python-astor
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

xulongwu4 created this revision.Mon, Jul 20, 7:55 PM
xulongwu4 requested review of this revision.Mon, Jul 20, 7:55 PM
JoshStrobl accepted this revision.Wed, Jul 22, 8:18 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Wed, Jul 22, 8:18 AM
This revision was automatically updated to reflect the committed changes.