Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add whitelist of folders that must remain Python 2 compatible #7941
Three of our folders may be run with Python 2, so they must keep their compatibility, e.g.
If this impacted more code, we would want to create (restore) formal linters to enforce the compatibility. However, because the code is so small and CI will fail upon dropping Py2 support, we simply add comments to the files explaining this expectation and modify
In the process, we refactor