Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python message extractor respects unicode_literals in __future__ #427

Merged
merged 1 commit into from
Jul 9, 2016

Conversation

sublee
Copy link
Contributor

@sublee sublee commented Jul 1, 2016

This patch fixes #426.

@codecov-io
Copy link

codecov-io commented Jul 1, 2016

Current coverage is 90.19%

Merging #427 into master will increase coverage by 0.03%

@@             master       #427   diff @@
==========================================
  Files            24         24          
  Lines          3961       3977    +16   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           3571       3587    +16   
  Misses          390        390          
  Partials          0          0          

Powered by Codecov. Last updated by 9a3ce80...60d13b0

@akx
Copy link
Member

akx commented Jul 8, 2016

The two commits should be squashed into one, since the second seems to just add Py3.5 compatibility which was lacking in the first commit.

Looks fine to me otherwise. :)

Parse compiler flags based on __future__ imports in Python codes.
Evaluate a string literal with the parsed compiler flags.
@sublee
Copy link
Contributor Author

sublee commented Jul 9, 2016

@akx Thank you for reviewing my patch. I squashed my commits as you advised. Please review again.

@akx akx merged commit d6ed896 into python-babel:master Jul 9, 2016
@akx
Copy link
Member

akx commented Jul 9, 2016

Thanks for the patch, @sublee! :)

@sublee
Copy link
Contributor Author

sublee commented Jul 9, 2016

@akx Thank you for accepting it! :)

akx added a commit to akx/babel that referenced this pull request Aug 18, 2017
akx added a commit that referenced this pull request Aug 21, 2017
akx added a commit to akx/babel that referenced this pull request Aug 21, 2017
akx added a commit that referenced this pull request Aug 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python message extractor doesn't respect unicode_literals in __future__
4 participants