| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f347753b-4853-bb52-d296-95ac813c0865 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D390:F41A7:999273:CCC4DA:6971A628 |
| html-safe-nonce | ec92a0cfba4a9a1d8add1d635ba2b37016e0f1fdd997fc338d5b010bf280572b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzkwOkY0MUE3Ojk5OTI3MzpDQ0M0REE6Njk3MUE2MjgiLCJ2aXNpdG9yX2lkIjoiNDE1ODc1MTM0MDUyOTU1OTA4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1758bcb330298f74249ce943530c344f986db8343575b6a457ac0354631f42ac |
| hovercard-subject-tag | pull_request:991943191 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/pythonnet/pythonnet/pull/1861/files |
| twitter:image | https://avatars.githubusercontent.com/u/30848?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/30848?s=400&v=4 |
| og:image:alt | What does this implement/fix? Explain your changes.
Allows creating an IntPtr from Python. This is currently impossible, because we rely on automatic conversion (as IntPtr is a primitive type) whil... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdfdce9cd4f6ab85dca2b0d11264270829297c962dd5a79df449062d7822258f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 51c736e60b302bd039c9d5164573d176ceb24bb2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/pythonnet/pythonnet/pull/1861/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fpull%2F1861%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2Fpythonnet%2Fpythonnet%2Fpull%2F1861%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=pythonnet%2Fpythonnet |
| Reload | https://github.com/pythonnet/pythonnet/pull/1861/files |
| Reload | https://github.com/pythonnet/pythonnet/pull/1861/files |
| Reload | https://github.com/pythonnet/pythonnet/pull/1861/files |
|
pythonnet
| https://github.com/pythonnet |
| pythonnet | https://github.com/pythonnet/pythonnet |
|
Notifications
| https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet |
|
Fork
770
| https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet |
|
Star
5.4k
| https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet |
|
Code
| https://github.com/pythonnet/pythonnet |
|
Issues
156
| https://github.com/pythonnet/pythonnet/issues |
|
Pull requests
18
| https://github.com/pythonnet/pythonnet/pulls |
|
Discussions
| https://github.com/pythonnet/pythonnet/discussions |
|
Actions
| https://github.com/pythonnet/pythonnet/actions |
|
Projects
0
| https://github.com/pythonnet/pythonnet/projects |
|
Wiki
| https://github.com/pythonnet/pythonnet/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/pythonnet/pythonnet/security |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/1861/files |
|
Insights
| https://github.com/pythonnet/pythonnet/pulse |
|
Code
| https://github.com/pythonnet/pythonnet |
|
Issues
| https://github.com/pythonnet/pythonnet/issues |
|
Pull requests
| https://github.com/pythonnet/pythonnet/pulls |
|
Discussions
| https://github.com/pythonnet/pythonnet/discussions |
|
Actions
| https://github.com/pythonnet/pythonnet/actions |
|
Projects
| https://github.com/pythonnet/pythonnet/projects |
|
Wiki
| https://github.com/pythonnet/pythonnet/wiki |
|
Security
| https://github.com/pythonnet/pythonnet/security |
|
Insights
| https://github.com/pythonnet/pythonnet/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpythonnet%2Fpythonnet%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet%2Fissues%2Fnew%2Fchoose |
| filmor | https://github.com/filmor |
| pythonnet:release | https://github.com/pythonnet/pythonnet/tree/release |
| filmor:fix-intptr-conversion | https://github.com/filmor/pythonnet/tree/fix-intptr-conversion |
|
Conversation
13
| https://github.com/pythonnet/pythonnet/pull/1861 |
|
Commits
6
| https://github.com/pythonnet/pythonnet/pull/1861/commits |
|
Checks
0
| https://github.com/pythonnet/pythonnet/pull/1861/checks |
|
Files changed
| https://github.com/pythonnet/pythonnet/pull/1861/files |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/1861/files |
|
Fix (U)IntPtr construction
| https://github.com/pythonnet/pythonnet/pull/1861/files#top |
|
Show all changes
6 commits
| https://github.com/pythonnet/pythonnet/pull/1861/files |
|
1c21526
Add unit tests for (U)IntPtr conversions
filmor Jul 8, 2022
| https://github.com/pythonnet/pythonnet/pull/1861/commits/1c21526b8c6ad39dc4c088c618e29f703666ca2a |
|
004232f
Special-case construction of (U)IntPtr
filmor Jul 9, 2022
| https://github.com/pythonnet/pythonnet/pull/1861/commits/004232f496645ee7377394737ea647cc739e8f62 |
|
c88b1f6
Move ptr construction to ClassObject
filmor Jul 9, 2022
| https://github.com/pythonnet/pythonnet/pull/1861/commits/c88b1f6fbfe8cf585b15590122f13cd6199b9d79 |
|
65a6408
Add int constructor for (U)IntPtr
filmor Jul 11, 2022
| https://github.com/pythonnet/pythonnet/pull/1861/commits/65a6408ac772b3c071aa34ce977f54224743ce92 |
|
775efd5
Extend intptr conversion tests and exceptions
filmor Jul 11, 2022
| https://github.com/pythonnet/pythonnet/pull/1861/commits/775efd522d8e8cf022783bc8dd066e670b007fc2 |
|
ae5e074
Check (U)IntPtr size explicitly
filmor Jul 11, 2022
| https://github.com/pythonnet/pythonnet/pull/1861/commits/ae5e0746693c569af4c3a023b8ba2998e9971c45 |
|
Clear filters
| https://github.com/pythonnet/pythonnet/pull/1861/files |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/1861/files |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/1861/files |
|
Converter.cs
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-bdceb1e563cf51408cc2ea4897544abd8214c83d13458b084b4db10aa0578d67 |
|
Runtime.cs
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2 |
|
ClassObject.cs
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-6086caf4711f56eeb980ebd1411f1b89fbe5f56fffe67c19503d9303f116e7ef |
|
conversiontest.cs
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-5fc888495c6e2e57f1a57dad0cea41cbfb13c498a8ef1309b6139d50b2d6e746 |
|
test_conversion.py
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-1de3b8c60439d23d5e65480ab44d0329f42a1312a85497580aaa3fd5e9ac750e |
| src/runtime/Converter.cs | https://github.com/pythonnet/pythonnet/pull/1861/files#diff-bdceb1e563cf51408cc2ea4897544abd8214c83d13458b084b4db10aa0578d67 |
|
View file
| https://github.com/filmor/pythonnet/blob/ae5e0746693c569af4c3a023b8ba2998e9971c45/src/runtime/Converter.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/1861/{{ revealButtonHref }} |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-bdceb1e563cf51408cc2ea4897544abd8214c83d13458b084b4db10aa0578d67 |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-bdceb1e563cf51408cc2ea4897544abd8214c83d13458b084b4db10aa0578d67 |
| src/runtime/Runtime.cs | https://github.com/pythonnet/pythonnet/pull/1861/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2 |
|
View file
| https://github.com/filmor/pythonnet/blob/ae5e0746693c569af4c3a023b8ba2998e9971c45/src/runtime/Runtime.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/1861/{{ revealButtonHref }} |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2 |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2 |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2 |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2 |
| src/runtime/Types/ClassObject.cs | https://github.com/pythonnet/pythonnet/pull/1861/files#diff-6086caf4711f56eeb980ebd1411f1b89fbe5f56fffe67c19503d9303f116e7ef |
|
View file
| https://github.com/filmor/pythonnet/blob/ae5e0746693c569af4c3a023b8ba2998e9971c45/src/runtime/Types/ClassObject.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/1861/{{ revealButtonHref }} |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-6086caf4711f56eeb980ebd1411f1b89fbe5f56fffe67c19503d9303f116e7ef |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-6086caf4711f56eeb980ebd1411f1b89fbe5f56fffe67c19503d9303f116e7ef |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-6086caf4711f56eeb980ebd1411f1b89fbe5f56fffe67c19503d9303f116e7ef |
| lostmsu | https://github.com/lostmsu |
| Jul 11, 2022 | https://github.com/pythonnet/pythonnet/pull/1861/files#r918184873 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/1861/files |
| filmor | https://github.com/filmor |
| Jul 11, 2022 | https://github.com/pythonnet/pythonnet/pull/1861/files#r918185191 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/1861/files |
| lostmsu | https://github.com/lostmsu |
| Jul 11, 2022 | https://github.com/pythonnet/pythonnet/pull/1861/files#r918156529 |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/1861/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/1861/files |
| filmor | https://github.com/filmor |
| Jul 11, 2022 | https://github.com/pythonnet/pythonnet/pull/1861/files#r918179355 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/1861/files |
| lostmsu | https://github.com/lostmsu |
| Jul 11, 2022 | https://github.com/pythonnet/pythonnet/pull/1861/files#r918183688 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @filmor | https://github.com/filmor |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/1861/files |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-6086caf4711f56eeb980ebd1411f1b89fbe5f56fffe67c19503d9303f116e7ef |
| src/testing/conversiontest.cs | https://github.com/pythonnet/pythonnet/pull/1861/files#diff-5fc888495c6e2e57f1a57dad0cea41cbfb13c498a8ef1309b6139d50b2d6e746 |
|
View file
| https://github.com/filmor/pythonnet/blob/ae5e0746693c569af4c3a023b8ba2998e9971c45/src/testing/conversiontest.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/1861/{{ revealButtonHref }} |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-5fc888495c6e2e57f1a57dad0cea41cbfb13c498a8ef1309b6139d50b2d6e746 |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-5fc888495c6e2e57f1a57dad0cea41cbfb13c498a8ef1309b6139d50b2d6e746 |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-5fc888495c6e2e57f1a57dad0cea41cbfb13c498a8ef1309b6139d50b2d6e746 |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-5fc888495c6e2e57f1a57dad0cea41cbfb13c498a8ef1309b6139d50b2d6e746 |
| tests/test_conversion.py | https://github.com/pythonnet/pythonnet/pull/1861/files#diff-1de3b8c60439d23d5e65480ab44d0329f42a1312a85497580aaa3fd5e9ac750e |
|
View file
| https://github.com/filmor/pythonnet/blob/ae5e0746693c569af4c3a023b8ba2998e9971c45/tests/test_conversion.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/1861/{{ revealButtonHref }} |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-1de3b8c60439d23d5e65480ab44d0329f42a1312a85497580aaa3fd5e9ac750e |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-1de3b8c60439d23d5e65480ab44d0329f42a1312a85497580aaa3fd5e9ac750e |
|
| https://github.com/pythonnet/pythonnet/pull/1861/files#diff-1de3b8c60439d23d5e65480ab44d0329f42a1312a85497580aaa3fd5e9ac750e |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |