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

Warning: Click detected the use of unicode_literals __future__ import #169

Open
alechenninger opened this issue Jun 24, 2016 · 1 comment

Comments

@alechenninger
Copy link

/usr/local/lib/python2.7/site-packages/hamster_cli/hamster_cli.py:136: Warning: Click detected the use of
the unicode_literals __future__ import.  This is heavily discouraged because it can introduce subtle bugs
in your code.  You should instead use explicit u"" literals for your unicode strings.  For more information
see http://click.pocoo.org/python3/
  @pass_controler

I get this when running hamster-cli with python 2.7.11.

@elbenfreund
Copy link
Collaborator

Thank you for reporting this. This is most likely harmless. Armin Ronacher has quite strong views with regards to unicode and python 3. Which is not at all to say there is no merrit to the. For our intends and purpose this should be fine however and we will consider pleasing Click with the next release.

@elbenfreund elbenfreund added this to the 0.13.0 milestone Jun 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants