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

Define PermissionError in Python versions < 3.3 #830

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 cclauss commented Jan 24, 2019

Closing in favor of #826.

@cclauss cclauss closed this Jan 24, 2019
@cclauss cclauss deleted the cclauss:patch-2 branch Jan 24, 2019
jeking3 added a commit to jeking3/GitPython that referenced this pull request Feb 6, 2019
jeking3 added a commit to jeking3/GitPython that referenced this pull request Mar 15, 2019
Byron added 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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.