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

SyntaxError when using the Redis backend in Python 3.2 #39

Closed
sqlalchemy-bot opened this issue Aug 14, 2013 · 4 comments
Closed

SyntaxError when using the Redis backend in Python 3.2 #39

sqlalchemy-bot opened this issue Aug 14, 2013 · 4 comments
Labels
bug Something isn't working

Comments

@sqlalchemy-bot
Copy link

Migrated issue, originally created by Jimmy Mabey (jmabey)

The RedisBackend uses the u"" syntax for Unicode strings, which was reintroduced in Python 3.3, so a SyntaxError is raised when used in Python 3.2 (and probably older 3.x versions as well).

It's on this line: https://bitbucket.org/zzzeek/dogpile.cache/src/d3c7df59a0f695a13a213e0503c66878233561a6/dogpile/cache/backends/redis.py?at=master#cl-108

@sqlalchemy-bot
Copy link
Author

Michael Bayer (zzzeek) wrote:

a short pull request, or just upgrade to 3.3 as you probably should, whichever is easier.... thanks !

@sqlalchemy-bot
Copy link
Author

Jimmy Mabey (jmabey) wrote:

Cool, I will send you a pull request, probably tomorrow. Stuck with using 3.2 for now, unfortunately.

@sqlalchemy-bot
Copy link
Author

Michael Bayer (zzzeek) wrote:

f8108da

@sqlalchemy-bot
Copy link
Author

Changes by Michael Bayer (zzzeek):

  • changed status to closed

@sqlalchemy-bot sqlalchemy-bot added the bug Something isn't working label Nov 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant