Skip to content

Define PermissionError in Python versions < 3.3 #830

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

Closed
wants to merge 1 commit into from

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Jan 21, 2019

Simplify the logic by defining PermissionError in Python 2 in alignment with Python porting best practice use feature detection instead of version detection.

Simplify by defining [__PermissionError__](https://docs.python.org/3/library/exceptions.html#PermissionError) in Python 2 in alignment with Python porting best practice [___use feature detection instead of version detection___](https://docs.python.org/3/howto/pyporting.html#use-feature-detection-instead-of-version-detection).
@cclauss
Copy link
Contributor Author

cclauss commented Jan 24, 2019

Closing in favor of #826.

@cclauss cclauss closed this Jan 24, 2019
@cclauss cclauss deleted the patch-2 branch January 24, 2019 18:06
jeking3 pushed a commit to jeking3/GitPython that referenced this pull request Feb 6, 2019
jeking3 pushed a commit to jeking3/GitPython that referenced this pull request Mar 15, 2019
Byron pushed a commit that referenced this pull request May 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants