Title: Issues with AutoInterrupt in conjunction with sys.exit on python 3.5 · Issue #463 · gitpython-developers/GitPython · GitHub
Open Graph Title: Issues with AutoInterrupt in conjunction with sys.exit on python 3.5 · Issue #463 · gitpython-developers/GitPython
X Title: Issues with AutoInterrupt in conjunction with sys.exit on python 3.5 · Issue #463 · gitpython-developers/GitPython
Description: The destructor of the cmd class (actually AutoInterrupt) seems to throw some errors using python 3.5 on Arclinux: Exception ignored in:
Open Graph Description: The destructor of the cmd class (actually AutoInterrupt) seems to throw some errors using python 3.5 on Arclinux: Exception ignored in: X Description: The destructor of the cmd class (actually AutoInterrupt) seems to throw some errors using python 3.5 on Arclinux: Exception ignored in: <bound method Git.AutoInterrupt.__del__ of <git.cmd.Git...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/463
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issues with AutoInterrupt in conjunction with sys.exit on python 3.5","articleBody":"The destructor of the cmd class (actually AutoInterrupt) seems to throw some errors using python 3.5 on Arclinux:\n\n```\nException ignored in: \u003cbound method Git.AutoInterrupt.__del__ of \u003cgit.cmd.Git.AutoInterrupt object at 0x7f7c2b101d68\u003e\u003e\nTraceback (most recent call last):\n File \"/usr/lib/python3.5/site-packages/git/cmd.py\", line 294, in __del__\nTypeError: 'NoneType' object is not callable\nException ignored in: \u003cbound method Git.AutoInterrupt.__del__ of \u003cgit.cmd.Git.AutoInterrupt object at 0x7f7c2b101cc0\u003e\u003e\nTraceback (most recent call last):\n File \"/usr/lib/python3.5/site-packages/git/cmd.py\", line 294, in __del__\nTypeError: 'NoneType' object is not callable\n```\n\nIt seems this error is triggered by a call to sys.exit(0) at the end of my script, since it doesn't appear if I comment it out.\nHowever I couldn't reproduce this behavior with python 2.7, here sys.exit(0) seems to be working with the module correctly.\n\nWhat I do is simply clone a repo, add some files commit and push them to a remote.\n\n```\n...\nrepo = Repo.clone_from(target_git_path, target_temp_dir)\n...\nrepo.index.add([file])\n...\nrepo.index.commit('Initial commit')\n...\nrefspec='refs/heads/{0}:refs/heads/{0}'.format(repo.active_branch) # this will fix error if user has set \"push.default = matching\"\nrepo.remotes.origin.push(refspec=refspec)\n```\n","author":{"url":"https://github.com/Heiko-san","@type":"Person","name":"Heiko-san"},"datePublished":"2016-06-06T07:58:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":21},"url":"https://github.com/463/GitPython/issues/463"}
route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:de49be0a-f12d-4081-2773-37976a04eef7 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id C92E:261A91:7F0CB6:AAC1AE:696867D9 html-safe-nonce 6b7062f4410b2e2e2ef4ae4c76e7d2ff93877fd1c865ec0603942b6cf3b4f42d visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTJFOjI2MUE5MTo3RjBDQjY6QUFDMUFFOjY5Njg2N0Q5IiwidmlzaXRvcl9pZCI6IjUyNTU5MzY1MzQ4NDQ1NjU0NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== visitor-hmac 37177a34ead8ce668befd4619402628c9cc822325da74018d78751ec732cf86b hovercard-subject-tag issue:158620158 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitpython-developers/GitPython/463/issue_layout twitter:image https://opengraph.githubassets.com/4f383ff9b0b80446e45a17e3b6c4cc70c2b0b77f18bf2d23fe06803bc6601fe0/gitpython-developers/GitPython/issues/463 twitter:card summary_large_image og:image https://opengraph.githubassets.com/4f383ff9b0b80446e45a17e3b6c4cc70c2b0b77f18bf2d23fe06803bc6601fe0/gitpython-developers/GitPython/issues/463 og:image:alt The destructor of the cmd class (actually AutoInterrupt) seems to throw some errors using python 3.5 on Arclinux: Exception ignored in: og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username Heiko-san hostname github.com expected-hostname github.com None 50f46dc2d6192249fd8ebf20e76c800f4f2596d4a5f3ab63dd63a754df154f54 turbo-cache-control no-preview go-import github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git octolytics-dimension-user_id 503709 octolytics-dimension-user_login gitpython-developers octolytics-dimension-repository_id 1126087 octolytics-dimension-repository_nwo gitpython-developers/GitPython octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 1126087 octolytics-dimension-repository_network_root_nwo gitpython-developers/GitPython turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release fef287f17234b4529a4b112a3d47fe8551e32ddd ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.