question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Python 3 compatiblity

See original GitHub issue

I haven’t had time to find all the Python 3 incompatibilities but there’s one I just ran into here. basestring is not a thing in Python 3 anymore.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
aholikcommented, Aug 23, 2016

A note on using Redis backend:

Python 3 receives bytes from Redis, I had to use 'decode_responses': True option in REDIS_FOR_DYNACONF otherwise the loader failed.

0reactions
rochacbrunocommented, Oct 27, 2016

Covered in 0.3.0 version thanks you all

Read more comments on GitHub >

github_iconTop Results From Across the Web

Porting Python 2 Code to Python 3 — Python 3.11.1 ...
And that's mostly it! At this point your code base is compatible with both Python 2 and 3 simultaneously. Your testing will also...
Read more >
Cheat Sheet: Writing Python 2-3 compatible code
This notebook shows you idioms for writing future-proof code that is compatible with both versions of Python: 2 and 3. It accompanies Ed...
Read more >
How to detect if code is python 3 compatible - Stack Overflow
You can use Pycharm IDE for this. Just open the python files in the pycharm editor, it will show warnings ...
Read more >
Python 3 Custom Check Migration - Datadog Docs
Use Datadog's Custom Check Compatibility tool to see whether your custom checks are compatible with Python 3 or need to be migrated.
Read more >
Supporting Python 2 and 3 without 2to3 conversion
Python 2.7 has some small improvements on Python 3 compatibility, but it's likely that if you want to run the same code under...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found