René's URL Explorer Experiment


Title: Define PermissionError in Python versions < 3.3 by cclauss · Pull Request #830 · gitpython-developers/GitPython · GitHub

Open Graph Title: Define PermissionError in Python versions < 3.3 by cclauss · Pull Request #830 · gitpython-developers/GitPython

X Title: Define PermissionError in Python versions < 3.3 by cclauss · Pull Request #830 · gitpython-developers/GitPython

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

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

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

Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/830

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:2e30138f-9e32-5272-3a84-9ad9dfec4a1d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8F10:E3A3B:319A77:4284A8:69696ACD
html-safe-noncef08aef31913e1bfc234d7a0361f5921e01d6bceb104ebd1bdd2ce6f2ecadbe09
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjEwOkUzQTNCOjMxOUE3Nzo0Mjg0QTg6Njk2OTZBQ0QiLCJ2aXNpdG9yX2lkIjoiMjk3NTY4NDcwMTcxNzA5NzE2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdc918dfec5d7cf8e2d8aaad319f2516ef02a8bc63ccd3552396270730549b0d4
hovercard-subject-tagpull_request:246255558
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/gitpython-developers/GitPython/830/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5ce4646c2ac41c1688b9e243d6460a01b70cdf9ac105de5a4a984861748f05b7/gitpython-developers/GitPython/pull/830
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5ce4646c2ac41c1688b9e243d6460a01b70cdf9ac105de5a4a984861748f05b7/gitpython-developers/GitPython/pull/830
og:image:altSimplify the logic by defining PermissionError in Python 2 in alignment with Python porting best practice use feature detection instead of version detection.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecclauss
hostnamegithub.com
expected-hostnamegithub.com
Nonec6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881
turbo-cache-controlno-preview
go-importgithub.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git
octolytics-dimension-user_id503709
octolytics-dimension-user_logingitpython-developers
octolytics-dimension-repository_id1126087
octolytics-dimension-repository_nwogitpython-developers/GitPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1126087
octolytics-dimension-repository_network_root_nwogitpython-developers/GitPython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseec4d88fbe7ed62446d90b0a6d8e6db4248a8f8b8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F830
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F830
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=gitpython-developers%2FGitPython
Reloadhttps://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}
Reloadhttps://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}
Reloadhttps://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}
gitpython-developers https://github.com/gitpython-developers
GitPythonhttps://github.com/gitpython-developers/GitPython
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}
Notifications https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Fork 964 https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Star 5k https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Code https://github.com/gitpython-developers/GitPython
Issues 169 https://github.com/gitpython-developers/GitPython/issues
Pull requests 8 https://github.com/gitpython-developers/GitPython/pulls
Discussions https://github.com/gitpython-developers/GitPython/discussions
Actions https://github.com/gitpython-developers/GitPython/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/gitpython-developers/GitPython/security
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}
Insights https://github.com/gitpython-developers/GitPython/pulse
Code https://github.com/gitpython-developers/GitPython
Issues https://github.com/gitpython-developers/GitPython/issues
Pull requests https://github.com/gitpython-developers/GitPython/pulls
Discussions https://github.com/gitpython-developers/GitPython/discussions
Actions https://github.com/gitpython-developers/GitPython/actions
Security https://github.com/gitpython-developers/GitPython/security
Insights https://github.com/gitpython-developers/GitPython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}#issue-comment-box
cclausshttps://github.com/cclauss
gitpython-developers:masterhttps://github.com/gitpython-developers/GitPython/tree/master
cclauss:patch-2https://github.com/cclauss/GitPython/tree/patch-2
Define PermissionError in Python versions < 3.3 https://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}#top
cclausshttps://github.com/cclauss
gitpython-developers:masterhttps://github.com/gitpython-developers/GitPython/tree/master
cclauss:patch-2https://github.com/cclauss/GitPython/tree/patch-2
Conversation 1 https://github.com/gitpython-developers/GitPython/pull/830
Commits 1 https://github.com/gitpython-developers/GitPython/pull/830/commits
Checks 0 https://github.com/gitpython-developers/GitPython/pull/830/checks
Files changed https://github.com/gitpython-developers/GitPython/pull/830/files
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}
https://github.co/hiddenchars
https://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}
https://github.com/cclauss
cclausshttps://github.com/cclauss
Jan 21, 2019https://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}#issue-401305168
PermissionErrorhttps://docs.python.org/3/library/exceptions.html#PermissionError
use feature detection instead of version detectionhttps://docs.python.org/3/howto/pyporting.html#use-feature-detection-instead-of-version-detection
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}
https://github.com/cclauss
Update cmd.pyhttps://github.com/gitpython-developers/GitPython/pull/830/commits/5cb36d84f677a7e648259176220a3340f8575214
5cb36d8https://github.com/gitpython-developers/GitPython/pull/830/commits/5cb36d84f677a7e648259176220a3340f8575214
https://docs.python.org/3/library/exceptions.html#PermissionErrorhttps://docs.python.org/3/library/exceptions.html#PermissionError
https://docs.python.org/3/howto/pyporting.html#use-feature-detection-instead-of-version-detectionhttps://docs.python.org/3/howto/pyporting.html#use-feature-detection-instead-of-version-detection
https://github.com/jeking3
jeking3https://github.com/jeking3
Jan 21, 2019 https://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}#pullrequestreview-194762977
View reviewed changes https://github.com/gitpython-developers/GitPython/pull/830/files/5cb36d84f677a7e648259176220a3340f8575214
https://github.com/cclauss
cclausshttps://github.com/cclauss
Jan 22, 2019 https://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}#ref-pullrequest-399543983
Fix setup.py and use of requirements files and add a docker test container #826 https://github.com/gitpython-developers/GitPython/pull/826
jeking3https://github.com/jeking3
Jan 24, 2019 https://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}#ref-commit-8d18c47
https://github.com/cclauss
https://github.com/jeking3
Update cmd.py, fix PermissionError issue using best practiceshttps://github.com/jeking3/GitPython/commit/8d18c47a729a740ff7124aa8510631757b3d83c7
8d18c47https://github.com/jeking3/GitPython/commit/8d18c47a729a740ff7124aa8510631757b3d83c7
gitpython-developers#830https://github.com/gitpython-developers/GitPython/pull/830
https://github.com/cclauss
cclausshttps://github.com/cclauss
Jan 24, 2019https://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}#issuecomment-457297383
#826https://github.com/gitpython-developers/GitPython/pull/826
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}
https://github.com/cclauss
cclausshttps://github.com/cclauss
Jan 24, 2019https://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}#event-2095238636
https://github.com/cclauss
cclausshttps://github.com/cclauss
January 24, 2019 18:06https://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}#event-2095238768
jeking3https://github.com/jeking3
Feb 6, 2019 https://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}#ref-commit-1844c09
https://github.com/cclauss
https://github.com/jeking3
Update cmd.py, fix PermissionError issue using best practiceshttps://github.com/jeking3/GitPython/commit/1844c098280aed5d214c737da9c0a49c3642130a
1844c09https://github.com/jeking3/GitPython/commit/1844c098280aed5d214c737da9c0a49c3642130a
gitpython-developers#830https://github.com/gitpython-developers/GitPython/pull/830
jeking3https://github.com/jeking3
Mar 15, 2019 https://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}#ref-commit-48b7e12
https://github.com/cclauss
https://github.com/jeking3
Update cmd.py, fix PermissionError issue using best practiceshttps://github.com/jeking3/GitPython/commit/48b7e12fc075d8fe35ee8e4b0167054130d6a514
48b7e12https://github.com/jeking3/GitPython/commit/48b7e12fc075d8fe35ee8e4b0167054130d6a514
gitpython-developers#830https://github.com/gitpython-developers/GitPython/pull/830
Byronhttps://github.com/Byron
May 5, 2019 https://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}#ref-commit-14b221b
https://github.com/cclauss
https://github.com/Byron
Update cmd.py, fix PermissionError issue using best practiceshttps://github.com/gitpython-developers/GitPython/commit/14b221bf98757ba61977c1021722eb2faec1d7cc
14b221bhttps://github.com/gitpython-developers/GitPython/commit/14b221bf98757ba61977c1021722eb2faec1d7cc
#830https://github.com/gitpython-developers/GitPython/pull/830
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F830
https://github.com/jeking3
jeking3 https://github.com/jeking3
https://github.com/gitpython-developers/GitPython/pull/830/files/5cb36d84f677a7e648259176220a3340f8575214
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/830/{{ revealButtonHref }}
https://github.com/cclauss
https://github.com/jeking3
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.