| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:865e49fe-93fd-afaf-d902-91b33a48e35b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8268:1A7EA7:3943B8:4DA80B:69719420 |
| html-safe-nonce | 4e795d477fca9eb6f86ae5da1a7a37c99a4d4303a58d663cbcfde5278880eb57 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjY4OjFBN0VBNzozOTQzQjg6NERBODBCOjY5NzE5NDIwIiwidmlzaXRvcl9pZCI6IjEyNDQyMjg3MjI5Mjc3MDMwNzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d8a03e9c2e6094b52d24d7fceb90e70fbfdfe6b11b4c69bd0bed70705b8985bd |
| hovercard-subject-tag | pull_request:76100159 |
| 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/239/files |
| twitter:image | https://avatars.githubusercontent.com/u/8044775?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/8044775?s=400&v=4 |
| og:image:alt | Refer to Issue #238
This PR aim to improve constructor argument matching so that if you have a .NET constructor accepting a double, it will be selected if you pass it an int.
This corresponds to ... |
| 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/239/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fpull%2F239%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%2F239%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/239/files |
| Reload | https://github.com/pythonnet/pythonnet/pull/239/files |
| Reload | https://github.com/pythonnet/pythonnet/pull/239/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/239/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 |
| sigbjorn | https://github.com/sigbjorn |
| pythonnet:master | https://github.com/pythonnet/pythonnet/tree/master |
|
Conversation
32
| https://github.com/pythonnet/pythonnet/pull/239 |
|
Commits
16
| https://github.com/pythonnet/pythonnet/pull/239/commits |
|
Checks
0
| https://github.com/pythonnet/pythonnet/pull/239/checks |
|
Files changed
| https://github.com/pythonnet/pythonnet/pull/239/files |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/239/files |
|
Constructor argument matching supports simple int to (float|double) types
| https://github.com/pythonnet/pythonnet/pull/239/files#top |
|
Show all changes
16 commits
| https://github.com/pythonnet/pythonnet/pull/239/files |
|
2a2c9c7
added intial test that illustrates how int->double conversion works i…
sigbjorn Jun 30, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/2a2c9c71ec0c6e54d95ca0a950dccbf07d323d1b |
|
78dca29
ease windows development, - default settings after checkout reflectin…
sigbjorn Jul 3, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/78dca296e7afc27c491544818dcf2610eebc64d9 |
|
af1b937
added method tests for simple promotions int->float, int->double
sigbjorn Jul 3, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/af1b937c6b342bfad304351329265dcf8959237b |
|
24baadf
extending test to cover negative outcome of bool->double|float
sigbjorn Jul 3, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/24baadffeef457fb9b8c9f2cebc42aaae3ca95ba |
|
bde4258
adding default ct to challenge the matching mechanism
sigbjorn Jul 3, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/bde42585a297cf57a8aca30d42f63cccfdd83df3 |
|
c8c8d8c
merged extra tests
sigbjorn Jul 3, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/c8c8d8cc8e40dcacaa0cb469c48ff9dbf8d432d3 |
|
a65d793
adding test, and print-out warning for the not yet implemented feature
sigbjorn Jul 3, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/a65d7930936f9b8d9511e542974e371817d71261 |
|
e698b57
added more test for illustrating super/sub-class and argument passing…
sigbjorn Jul 3, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/e698b57af58115568107f6a5275e2d3302b2b465 |
|
1fd75b3
fixed py 2.7 syntax for super, plus fixed typo
sigbjorn Jul 4, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/1fd75b3b194c55b97ea757b7392e72be22a2895a |
|
fb9b21e
reverted the .sln to unmodified state
sigbjorn Jul 4, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/fb9b21e5cf5c8ab2fe4d08e178c9d571b9f1ba7c |
|
9e1d72b
reverting changes to runtime and clrmodule projects
sigbjorn Jul 4, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/9e1d72b213de710f525dcad3d59d6167fc2f6884 |
|
0e2cd12
Reverting changes to Console, embed_tests and testing .csproj files
sigbjorn Jul 4, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/0e2cd12ccdd0dd0de7abfd2cfff990164965db5f |
|
e58d5b2
Hopefully fixed py 2.6 issues
sigbjorn Jul 4, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/e58d5b25cf35b9cc28b00425bfd6b24c39eab0d6 |
|
8602823
Merge branch 'ct_arg_match_fix' of https://github.com/sigbjorn/python…
sigbjorn Jul 4, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/8602823a4e6f5d4375f5499a1f4241f00367bb69 |
|
bdbaa62
SimplePromotableType simplified, returns true if src is int-type and …
sigbjorn Jul 23, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/bdbaa626a496354d1eaf2f5f2d6739f4dbe627b9 |
|
478b632
Merge branch 'master' into ct_arg_match_fix
sigbjorn Jul 30, 2016
| https://github.com/pythonnet/pythonnet/pull/239/commits/478b632c1a7a4392e4f7e6688c326b8d0b546c4d |
|
Clear filters
| https://github.com/pythonnet/pythonnet/pull/239/files |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/239/files |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/239/files |
|
methodbinder.cs
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-237dc718ad5424f5476d2ebbbc4e5164c95901bd2a4c2daaf8ca6fc9f9d3a5fb |
|
constructortests.cs
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-5f0b4ab8cd709b1fe58dd388f49889a89fb6c25245cf3986fcb9a8542761d78b |
|
methodtest.cs
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-1d0f6055444d3a45c61ebb7e0e5b13a3df067c3b7bd870bb20e32e66f73b3ee9 |
|
test_constructors.py
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-7e58c46f3921b90e66810d3bfd6aecf8c42213d0362bf535f3656cb07c6e4c08 |
|
test_method.py
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-466ca471fe877d2ed8ea2c63abefa78808471ab8c26e858228178387a440a8f3 |
| src/runtime/methodbinder.cs | https://github.com/pythonnet/pythonnet/pull/239/files#diff-237dc718ad5424f5476d2ebbbc4e5164c95901bd2a4c2daaf8ca6fc9f9d3a5fb |
|
View file
| https://github.com/pythonnet/pythonnet/blob/478b632c1a7a4392e4f7e6688c326b8d0b546c4d/src/runtime/methodbinder.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/239/{{ revealButtonHref }} |
|
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-237dc718ad5424f5476d2ebbbc4e5164c95901bd2a4c2daaf8ca6fc9f9d3a5fb |
|
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-237dc718ad5424f5476d2ebbbc4e5164c95901bd2a4c2daaf8ca6fc9f9d3a5fb |
|
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-237dc718ad5424f5476d2ebbbc4e5164c95901bd2a4c2daaf8ca6fc9f9d3a5fb |
|
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-237dc718ad5424f5476d2ebbbc4e5164c95901bd2a4c2daaf8ca6fc9f9d3a5fb |
| src/testing/constructortests.cs | https://github.com/pythonnet/pythonnet/pull/239/files#diff-5f0b4ab8cd709b1fe58dd388f49889a89fb6c25245cf3986fcb9a8542761d78b |
|
View file
| https://github.com/pythonnet/pythonnet/blob/478b632c1a7a4392e4f7e6688c326b8d0b546c4d/src/testing/constructortests.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/239/{{ revealButtonHref }} |
|
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-5f0b4ab8cd709b1fe58dd388f49889a89fb6c25245cf3986fcb9a8542761d78b |
|
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-5f0b4ab8cd709b1fe58dd388f49889a89fb6c25245cf3986fcb9a8542761d78b |
|
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-5f0b4ab8cd709b1fe58dd388f49889a89fb6c25245cf3986fcb9a8542761d78b |
| src/testing/methodtest.cs | https://github.com/pythonnet/pythonnet/pull/239/files#diff-1d0f6055444d3a45c61ebb7e0e5b13a3df067c3b7bd870bb20e32e66f73b3ee9 |
|
View file
| https://github.com/pythonnet/pythonnet/blob/478b632c1a7a4392e4f7e6688c326b8d0b546c4d/src/testing/methodtest.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/239/{{ revealButtonHref }} |
|
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-1d0f6055444d3a45c61ebb7e0e5b13a3df067c3b7bd870bb20e32e66f73b3ee9 |
|
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-1d0f6055444d3a45c61ebb7e0e5b13a3df067c3b7bd870bb20e32e66f73b3ee9 |
| src/tests/test_constructors.py | https://github.com/pythonnet/pythonnet/pull/239/files#diff-7e58c46f3921b90e66810d3bfd6aecf8c42213d0362bf535f3656cb07c6e4c08 |
|
View file
| https://github.com/pythonnet/pythonnet/blob/478b632c1a7a4392e4f7e6688c326b8d0b546c4d/src/tests/test_constructors.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/239/{{ revealButtonHref }} |
|
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-7e58c46f3921b90e66810d3bfd6aecf8c42213d0362bf535f3656cb07c6e4c08 |
|
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-7e58c46f3921b90e66810d3bfd6aecf8c42213d0362bf535f3656cb07c6e4c08 |
|
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-7e58c46f3921b90e66810d3bfd6aecf8c42213d0362bf535f3656cb07c6e4c08 |
|
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-7e58c46f3921b90e66810d3bfd6aecf8c42213d0362bf535f3656cb07c6e4c08 |
| src/tests/test_method.py | https://github.com/pythonnet/pythonnet/pull/239/files#diff-466ca471fe877d2ed8ea2c63abefa78808471ab8c26e858228178387a440a8f3 |
|
View file
| https://github.com/pythonnet/pythonnet/blob/478b632c1a7a4392e4f7e6688c326b8d0b546c4d/src/tests/test_method.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/239/{{ revealButtonHref }} |
|
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-466ca471fe877d2ed8ea2c63abefa78808471ab8c26e858228178387a440a8f3 |
|
| https://github.com/pythonnet/pythonnet/pull/239/files#diff-466ca471fe877d2ed8ea2c63abefa78808471ab8c26e858228178387a440a8f3 |
|
| 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 |