René's URL Explorer Experiment


Title: bpo-21983: Fix a crash in ctypes.cast() in case the type argument is a ctypes structured data type. by orenmn · Pull Request #3859 · python/cpython · GitHub

Open Graph Title: bpo-21983: Fix a crash in ctypes.cast() in case the type argument is a ctypes structured data type. by orenmn · Pull Request #3859 · python/cpython

X Title: bpo-21983: Fix a crash in ctypes.cast() in case the type argument is a ctypes structured data type. by orenmn · Pull Request #3859 · python/cpython

Description: In addition, add tests to test_ctypes to make sure that cast() raises a TypeError in case of a bad type argument (and doesn't crash). https://bugs.python.org/issue21983

Open Graph Description: In addition, add tests to test_ctypes to make sure that cast() raises a TypeError in case of a bad type argument (and doesn't crash). https://bugs.python.org/issue21983

X Description: In addition, add tests to test_ctypes to make sure that cast() raises a TypeError in case of a bad type argument (and doesn't crash). https://bugs.python.org/issue21983

Opengraph URL: https://github.com/python/cpython/pull/3859

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:228cda86-2e88-eae9-cef4-f7649e91f968
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB5F8:DD5F6:13373DB:1B49162:69691852
html-safe-nonce20257f6a055c416fbb4f6ea42db3c8041c58a3c39dde8ec777e5051211685a19
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUY4OkRENUY2OjEzMzczREI6MUI0OTE2Mjo2OTY5MTg1MiIsInZpc2l0b3JfaWQiOiIyNTA4MjMyNzc5MTg2NjQwOTc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf06973cc68e2c7804968ea60368b69b4cd40330bb319060b3a4f2e3368db239a
hovercard-subject-tagpull_request:144254139
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/python/cpython/3859/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/215456a3e8ad294a6c4fee7d6cc61145ebeb45e7c0d600fe5c34641454baac88/python/cpython/pull/3859
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/215456a3e8ad294a6c4fee7d6cc61145ebeb45e7c0d600fe5c34641454baac88/python/cpython/pull/3859
og:image:altIn addition, add tests to test_ctypes to make sure that cast() raises a TypeError in case of a bad type argument (and doesn't crash). https://bugs.python.org/issue21983
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameorenmn
hostnamegithub.com
expected-hostnamegithub.com
None0e60568924309a021b51adabdce15c2a2f285b556f3130d1a2fa2a5bce11c55f
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
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
releasedd206f7ed6207863172be4a783826e86bd2375c3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/3859#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F3859
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%2Fpython%2Fcpython%2Fpull%2F3859
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=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/3859
Reloadhttps://github.com/python/cpython/pull/3859
Reloadhttps://github.com/python/cpython/pull/3859
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/3859
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/3859
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/3859#issue-comment-box
zoobahttps://github.com/zooba
python:masterhttps://github.com/python/cpython/tree/master
orenmn:bpo21983-fix-crashhttps://github.com/orenmn/cpython/tree/bpo21983-fix-crash
bpo-21983: Fix a crash in ctypes.cast() in case the type argument is a ctypes structured data type. https://github.com/python/cpython/pull/3859#top
zoobahttps://github.com/zooba
python:masterhttps://github.com/python/cpython/tree/master
orenmn:bpo21983-fix-crashhttps://github.com/orenmn/cpython/tree/bpo21983-fix-crash
Conversation 10 https://github.com/python/cpython/pull/3859
Commits 1 https://github.com/python/cpython/pull/3859/commits
Checks 0 https://github.com/python/cpython/pull/3859/checks
Files changed https://github.com/python/cpython/pull/3859/files
Please reload this pagehttps://github.com/python/cpython/pull/3859
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/orenmn
orenmnhttps://github.com/orenmn
Oct 2, 2017https://github.com/python/cpython/pull/3859#issue-262184934
Please reload this pagehttps://github.com/python/cpython/pull/3859
https://bugs.python.org/issue21983https://bugs.python.org/issue21983
Please reload this pagehttps://github.com/python/cpython/pull/3859
https://github.com/orenmn
init commithttps://github.com/python/cpython/pull/3859/commits/6eae2f1712bbb46da17f24486db2a27fc1a1c7c5
6eae2f1https://github.com/python/cpython/pull/3859/commits/6eae2f1712bbb46da17f24486db2a27fc1a1c7c5
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Oct 2, 2017https://github.com/python/cpython/pull/3859#event-1274621851
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Oct 2, 2017https://github.com/python/cpython/pull/3859#event-1274621855
https://github.com/eric-wieser
eric-wieserhttps://github.com/eric-wieser
Feb 22, 2018 https://github.com/python/cpython/pull/3859#pullrequestreview-98490777
View reviewed changes https://github.com/python/cpython/pull/3859/files/6eae2f1712bbb46da17f24486db2a27fc1a1c7c5
Lib/ctypes/test/test_cast.pyhttps://github.com/python/cpython/pull/3859/files/6eae2f1712bbb46da17f24486db2a27fc1a1c7c5#diff-c29dfa0c1d7d475a89ee8b6c59ebff332e35f2ed9d65eb0f9b6e31db738b0df3
eric-wieserhttps://github.com/eric-wieser
Feb 22, 2018https://github.com/python/cpython/pull/3859#discussion_r169893277
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/3859
https://github.com/eric-wieser
eric-wieserhttps://github.com/eric-wieser
Feb 22, 2018 https://github.com/python/cpython/pull/3859#pullrequestreview-98490947
View reviewed changes https://github.com/python/cpython/pull/3859/files/6eae2f1712bbb46da17f24486db2a27fc1a1c7c5
eric-wieserhttps://github.com/eric-wieser
https://github.com/python/cpython/pull/3859#pullrequestreview-98490947
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/3859
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 22, 2018https://github.com/python/cpython/pull/3859#event-1486484738
https://github.com/zooba
zoobahttps://github.com/zooba
May 9, 2018 https://github.com/python/cpython/pull/3859#pullrequestreview-118913465
View reviewed changes https://github.com/python/cpython/pull/3859/files/6eae2f1712bbb46da17f24486db2a27fc1a1c7c5
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
May 9, 2018https://github.com/python/cpython/pull/3859#event-1618632128
https://github.com/zooba
zoobahttps://github.com/zooba
needs backport to 3.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22
May 9, 2018https://github.com/python/cpython/pull/3859#event-1618633481
https://github.com/zooba
zoobahttps://github.com/zooba
d518d8bhttps://github.com/python/cpython/commit/d518d8bc8d5dac1a1270612f424d33e0e5afc2b5
May 9, 2018https://github.com/python/cpython/pull/3859#event-1618638229
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
May 9, 2018https://github.com/python/cpython/pull/3859#issuecomment-387883731
@orenmnhttps://github.com/orenmn
@zoobahttps://github.com/zooba
Please reload this pagehttps://github.com/python/cpython/pull/3859
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
May 9, 2018https://github.com/python/cpython/pull/3859#event-1618638266
https://github.com/zooba
zoobahttps://github.com/zooba
needs backport to 3.6 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.6%22
May 9, 2018https://github.com/python/cpython/pull/3859#event-1618639547
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
May 9, 2018https://github.com/python/cpython/pull/3859#issuecomment-387883914
@orenmnhttps://github.com/orenmn
@zoobahttps://github.com/zooba
Please reload this pagehttps://github.com/python/cpython/pull/3859
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
May 9, 2018https://github.com/python/cpython/pull/3859#issuecomment-387883915
@orenmnhttps://github.com/orenmn
@zoobahttps://github.com/zooba
Please reload this pagehttps://github.com/python/cpython/pull/3859
miss-islingtonhttps://github.com/miss-islington
May 9, 2018 https://github.com/python/cpython/pull/3859#ref-commit-2aff9b2
https://github.com/orenmn
https://github.com/miss-islington
bpo-21983: Fix a crash in ctypes.cast() when passed a ctypes structur…https://github.com/miss-islington/cpython/commit/2aff9b2c155e138e2bb144f48361ee0c824b1222
2aff9b2https://github.com/miss-islington/cpython/commit/2aff9b2c155e138e2bb144f48361ee0c824b1222
pythonGH-3859https://github.com/python/cpython/pull/3859
d518d8bhttps://github.com/miss-islington/cpython/commit/d518d8bc8d5dac1a1270612f424d33e0e5afc2b5
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
May 9, 2018https://github.com/python/cpython/pull/3859#issuecomment-387883995
GH-6745https://github.com/python/cpython/pull/6745
3.7 branchhttps://github.com/python/cpython/tree/3.7
Please reload this pagehttps://github.com/python/cpython/pull/3859
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22
May 9, 2018https://github.com/python/cpython/pull/3859#event-1618640160
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
May 9, 2018https://github.com/python/cpython/pull/3859#issuecomment-387884179
@orenmnhttps://github.com/orenmn
@zoobahttps://github.com/zooba
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/3859
miss-islingtonhttps://github.com/miss-islington
May 9, 2018 https://github.com/python/cpython/pull/3859#ref-commit-c2cef08
https://github.com/orenmn
https://github.com/miss-islington
bpo-21983: Fix a crash in ctypes.cast() when passed a ctypes structur…https://github.com/miss-islington/cpython/commit/c2cef085a90038edadf103f7b6d9f780b69cdd32
c2cef08https://github.com/miss-islington/cpython/commit/c2cef085a90038edadf103f7b6d9f780b69cdd32
pythonGH-3859https://github.com/python/cpython/pull/3859
d518d8bhttps://github.com/miss-islington/cpython/commit/d518d8bc8d5dac1a1270612f424d33e0e5afc2b5
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
May 9, 2018https://github.com/python/cpython/pull/3859#issuecomment-387884447
GH-6746https://github.com/python/cpython/pull/6746
3.6 branchhttps://github.com/python/cpython/tree/3.6
Please reload this pagehttps://github.com/python/cpython/pull/3859
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.6 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.6%22
May 9, 2018https://github.com/python/cpython/pull/3859#event-1618643056
https://github.com/eric-wieser
eric-wieserhttps://github.com/eric-wieser
May 9, 2018https://github.com/python/cpython/pull/3859#issuecomment-387887065
@orenmnhttps://github.com/orenmn
#5576https://github.com/python/cpython/pull/5576
Please reload this pagehttps://github.com/python/cpython/pull/3859
miss-islingtonhttps://github.com/miss-islington
May 9, 2018 https://github.com/python/cpython/pull/3859#ref-commit-8ac158a
https://github.com/miss-islington
https://github.com/orenmn
bpo-21983https://bugs.python.org/issue?@action=redirect&bpo=21983
: Fix a crash in ctypes.cast() when passed a ctypes structur…https://github.com/python/cpython/commit/8ac158a6dfb86880e22003afe0ff39ec31b0a094
8ac158ahttps://github.com/python/cpython/commit/8ac158a6dfb86880e22003afe0ff39ec31b0a094
GH-3859https://github.com/python/cpython/pull/3859
d518d8bhttps://github.com/python/cpython/commit/d518d8bc8d5dac1a1270612f424d33e0e5afc2b5
https://github.com/orenmn
orenmnhttps://github.com/orenmn
May 10, 2018https://github.com/python/cpython/pull/3859#issuecomment-388034151
Please reload this pagehttps://github.com/python/cpython/pull/3859
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
zoobahttps://github.com/zooba
May 14, 2018https://github.com/python/cpython/pull/3859#event-1625461466
miss-islingtonhttps://github.com/miss-islington
May 26, 2018 https://github.com/python/cpython/pull/3859#ref-commit-e60f6e1
https://github.com/miss-islington
https://github.com/orenmn
bpo-21983https://bugs.python.org/issue?@action=redirect&bpo=21983
: Fix a crash in ctypes.cast() when passed a ctypes structur…https://github.com/python/cpython/commit/e60f6e1864d80d80f8928afadec617d161a64150
e60f6e1https://github.com/python/cpython/commit/e60f6e1864d80d80f8928afadec617d161a64150
GH-3859https://github.com/python/cpython/pull/3859
d518d8bhttps://github.com/python/cpython/commit/d518d8bc8d5dac1a1270612f424d33e0e5afc2b5
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F3859
https://github.com/zooba
zooba https://github.com/zooba
https://github.com/python/cpython/pull/3859/files/6eae2f1712bbb46da17f24486db2a27fc1a1c7c5
https://github.com/eric-wieser
eric-wieser https://github.com/eric-wieser
https://github.com/python/cpython/pull/3859/files/6eae2f1712bbb46da17f24486db2a27fc1a1c7c5
https://github.com/zooba
zooba https://github.com/zooba
Please reload this pagehttps://github.com/python/cpython/pull/3859
https://github.com/orenmn
https://github.com/miss-islington
https://github.com/bedevere-bot
https://github.com/eric-wieser
https://github.com/zooba
https://github.com/the-knights-who-say-ni
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.