Skip to content

Conversation

@luk3yx
Copy link

@luk3yx luk3yx commented Oct 19, 2019

This PR adds more transformers and fixes some mypy errors. Note that this probably adds too many transformers (in particular the targets below 2.7), and I have marked it as a draft because of this. This also interprets and transpiles f-strings differently, fixing #47.

Transformers added

Target 3.7:

Target 3.5:

Target 2.7:

Target 2.6:

  • Class decorators
  • Dict comprehension
  • Set literals

Target 2.5:

  • six.print_() instead of print().
  • six.advance_iterator() instead of next().
  • except as (note that this breaks compatibility with Python 3.0+).
  • Keyword arguments after *args.
  • An itertools.zip_longest backport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant