| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1f740ba0-5c6e-694d-6fc2-aee807d20b8c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E288:3C5761:2AF41A7:3C693B5:69710440 |
| html-safe-nonce | cbc4a6ce3e74349a9cda22a0690405ffb6156cea59b0df46a6f5ad04615eb361 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjg4OjNDNTc2MToyQUY0MUE3OjNDNjkzQjU6Njk3MTA0NDAiLCJ2aXNpdG9yX2lkIjoiMTgxNDA5Nzg5NDQzMjYzODAxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 22a5952446912a78be8a8b63c1ee415da750aec0886d980a2137ab9418913527 |
| hovercard-subject-tag | pull_request:119816840 |
| 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/461/files |
| twitter:image | https://avatars.githubusercontent.com/u/220631?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/220631?s=400&v=4 |
| og:image:alt | Named Arguments
I have implemented support for calling methods using named arguments on the C# side. Say we have this code in Python:
yes = numpy.ones(9, dtype = numpy.int)
logger = k.callbacks.CSV... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2d17fd2bbd784dc91f3a78a2f1d2c41d9f4f8ce86136d09833e3cf21b2bde1b7 |
| 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 | e053d923fb27a9d948f8cefae8ba3bf43f7b938f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/pythonnet/pythonnet/pull/461/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fpull%2F461%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%2F461%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/461/files |
| Reload | https://github.com/pythonnet/pythonnet/pull/461/files |
| Reload | https://github.com/pythonnet/pythonnet/pull/461/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
155
| 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/461/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 |
| den-run-ai | https://github.com/den-run-ai |
| pythonnet:master | https://github.com/pythonnet/pythonnet/tree/master |
| dsuarezv:missing_func | https://github.com/dsuarezv/pythonnet/tree/missing_func |
|
Conversation
16
| https://github.com/pythonnet/pythonnet/pull/461 |
|
Commits
9
| https://github.com/pythonnet/pythonnet/pull/461/commits |
|
Checks
0
| https://github.com/pythonnet/pythonnet/pull/461/checks |
|
Files changed
| https://github.com/pythonnet/pythonnet/pull/461/files |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/461/files |
|
Implement named arguments and With semantics in C# embedding side
| https://github.com/pythonnet/pythonnet/pull/461/files#top |
|
Show all changes
9 commits
| https://github.com/pythonnet/pythonnet/pull/461/files |
|
73c40fc
Added python "with" construction
dsuarezv May 6, 2017
| https://github.com/pythonnet/pythonnet/pull/461/commits/73c40fc6d484acaed68514955963a5512d086739 |
|
500d3d3
Added some unit tests for new With method
dsuarezv May 6, 2017
| https://github.com/pythonnet/pythonnet/pull/461/commits/500d3d37a05e77b9f24f00431e5a8b9d03b77b26 |
|
35a7dc6
Renamed With tests for easier grouping
dsuarezv May 6, 2017
| https://github.com/pythonnet/pythonnet/pull/461/commits/35a7dc648841d543fef88e11d8206cb541475980 |
|
c3c1c56
Support for named arguments to invoke python methods
dsuarezv May 6, 2017
| https://github.com/pythonnet/pythonnet/pull/461/commits/c3c1c5643e75fffd9a6b8911ade126d9564509f4 |
|
6c27e84
Named argument tests cosmetic changed
dsuarezv May 6, 2017
| https://github.com/pythonnet/pythonnet/pull/461/commits/6c27e84a988863152f2b2fcaf433f8a0465c4141 |
|
a31c590
Merge branch 'master' into missing_func
filmor May 16, 2017
| https://github.com/pythonnet/pythonnet/pull/461/commits/a31c590fba627a9e271aa843f2bb51e03418dd53 |
|
66864ad
Fixed failing test in python 2.7
dsuarezv May 18, 2017
| https://github.com/pythonnet/pythonnet/pull/461/commits/66864add513720fd43dedd2cf9ab61f38212fe5d |
|
93b1bda
Reset line endings in csproj to LF
dsuarezv May 18, 2017
| https://github.com/pythonnet/pythonnet/pull/461/commits/93b1bda3533e71690ea5225abf7a6e2f9a121fb1 |
|
9f1c378
Merge branch 'master' into missing_func
dsuarezv May 24, 2017
| https://github.com/pythonnet/pythonnet/pull/461/commits/9f1c378eab3609d99c5314540792cb95f47b7731 |
|
Clear filters
| https://github.com/pythonnet/pythonnet/pull/461/files |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/461/files |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/461/files |
|
Python.EmbeddingTest.csproj
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-6bfe85b2afa32799eb0008c63c2ab5372012dba8bf12ffb8c3441fafc57d5ac7 |
|
TestNamedArguments.cs
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-9e9ebc97ccf8fef5e138aec5ea287e304ded7c9bfd85cb44872d3ca9cd97990a |
|
TestPyWith.cs
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-604b81fa818fadeb87684e2c1f5fbb8c1f8bc871b66e1be869a8adc9eac65331 |
|
pyobject.cs
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-c7afe47ee5bee58846cafad6ec4ecedb222d846124e7aec56bb7f62df0340392 |
|
pythonengine.cs
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-59c1255540fe4fce6bd6d1f2b5b31ced7b9baacc387b3d07cb08e9444bcd82aa |
| src/embed_tests/Python.EmbeddingTest.csproj | https://github.com/pythonnet/pythonnet/pull/461/files#diff-6bfe85b2afa32799eb0008c63c2ab5372012dba8bf12ffb8c3441fafc57d5ac7 |
|
View file
| https://github.com/dsuarezv/pythonnet/blob/9f1c378eab3609d99c5314540792cb95f47b7731/src/embed_tests/Python.EmbeddingTest.csproj |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/461/{{ revealButtonHref }} |
|
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-6bfe85b2afa32799eb0008c63c2ab5372012dba8bf12ffb8c3441fafc57d5ac7 |
|
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-6bfe85b2afa32799eb0008c63c2ab5372012dba8bf12ffb8c3441fafc57d5ac7 |
|
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-6bfe85b2afa32799eb0008c63c2ab5372012dba8bf12ffb8c3441fafc57d5ac7 |
| src/embed_tests/TestNamedArguments.cs | https://github.com/pythonnet/pythonnet/pull/461/files#diff-9e9ebc97ccf8fef5e138aec5ea287e304ded7c9bfd85cb44872d3ca9cd97990a |
|
View file
| https://github.com/dsuarezv/pythonnet/blob/9f1c378eab3609d99c5314540792cb95f47b7731/src/embed_tests/TestNamedArguments.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/461/{{ revealButtonHref }} |
| src/embed_tests/TestPyWith.cs | https://github.com/pythonnet/pythonnet/pull/461/files#diff-604b81fa818fadeb87684e2c1f5fbb8c1f8bc871b66e1be869a8adc9eac65331 |
|
View file
| https://github.com/dsuarezv/pythonnet/blob/9f1c378eab3609d99c5314540792cb95f47b7731/src/embed_tests/TestPyWith.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/461/{{ revealButtonHref }} |
| src/runtime/pyobject.cs | https://github.com/pythonnet/pythonnet/pull/461/files#diff-c7afe47ee5bee58846cafad6ec4ecedb222d846124e7aec56bb7f62df0340392 |
|
View file
| https://github.com/dsuarezv/pythonnet/blob/9f1c378eab3609d99c5314540792cb95f47b7731/src/runtime/pyobject.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/461/{{ revealButtonHref }} |
|
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-c7afe47ee5bee58846cafad6ec4ecedb222d846124e7aec56bb7f62df0340392 |
|
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-c7afe47ee5bee58846cafad6ec4ecedb222d846124e7aec56bb7f62df0340392 |
| filmor | https://github.com/filmor |
| May 10, 2017 | https://github.com/pythonnet/pythonnet/pull/461/files#r115692822 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/461/files |
| filmor | https://github.com/filmor |
| May 10, 2017 | https://github.com/pythonnet/pythonnet/pull/461/files#r115692952 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/461/files |
| dsuarezv | https://github.com/dsuarezv |
| May 18, 2017 | https://github.com/pythonnet/pythonnet/pull/461/files#r117309948 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/461/files |
|
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-c7afe47ee5bee58846cafad6ec4ecedb222d846124e7aec56bb7f62df0340392 |
|
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-c7afe47ee5bee58846cafad6ec4ecedb222d846124e7aec56bb7f62df0340392 |
| filmor | https://github.com/filmor |
| May 10, 2017 | https://github.com/pythonnet/pythonnet/pull/461/files#r115693213 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/461/files |
|
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-c7afe47ee5bee58846cafad6ec4ecedb222d846124e7aec56bb7f62df0340392 |
|
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-c7afe47ee5bee58846cafad6ec4ecedb222d846124e7aec56bb7f62df0340392 |
|
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-c7afe47ee5bee58846cafad6ec4ecedb222d846124e7aec56bb7f62df0340392 |
|
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-c7afe47ee5bee58846cafad6ec4ecedb222d846124e7aec56bb7f62df0340392 |
| src/runtime/pythonengine.cs | https://github.com/pythonnet/pythonnet/pull/461/files#diff-59c1255540fe4fce6bd6d1f2b5b31ced7b9baacc387b3d07cb08e9444bcd82aa |
|
View file
| https://github.com/dsuarezv/pythonnet/blob/9f1c378eab3609d99c5314540792cb95f47b7731/src/runtime/pythonengine.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/461/{{ revealButtonHref }} |
|
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-59c1255540fe4fce6bd6d1f2b5b31ced7b9baacc387b3d07cb08e9444bcd82aa |
|
| https://github.com/pythonnet/pythonnet/pull/461/files#diff-59c1255540fe4fce6bd6d1f2b5b31ced7b9baacc387b3d07cb08e9444bcd82aa |
|
| 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 |