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
PGPy compatibility break with Python < 3.8 #368
Labels
Comments
MarcinGinszt
changed the title
PGPy compatilibity break with Python < 3.8
PGPy compatibility break with Python < 3.8
Feb 24, 2021
Hey @MarcinGinszt, thanks for the report! Would you mind sharing some example code that triggers this? I'd like to make a test. |
Any code using |
Can you provide a more detailed sample please? I know the parameter isn't in older Python versions, but I'm having trouble triggering the bug. |
Nevermind, I got it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
6e34a00
This commit uses the
logging.debug
function with keyword argumentstacklevel
.stacklevel
in this library is allowed as a keyword argument for Python versions >= 3.8https://docs.python.org/3/library/logging.html?highlight=stacklevel
Changed in version 3.8: The stacklevel parameter was added.
Running this code on Python 3.6 results in an error
The text was updated successfully, but these errors were encountered: