FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Cleaning up public API by lostmsu · Pull Request #1557 · pythonnet/pythonnet · GitHub

Cleaning up public API - #1557

Merged
lostmsu merged 1 commit into
pythonnet:masterfrom
losttech:public-API-cleanup
Sep 30, 2021
Merged

Cleaning up public API#1557
lostmsu merged 1 commit into
pythonnet:masterfrom
losttech:public-API-cleanup

Conversation

lostmsu commented Sep 15, 2021
edited
Loading

Copy link
Copy Markdown
Member

This handles #1539

Deleted:

  • PyLong
  • PyAnsiString
  • a few internal overloads to convert between Python integer type and .NET int types

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Updated the CHANGELOG

lostmsu requested a review from filmor September 15, 2021 00:16
lostmsu force-pushed the public-API-cleanup branch 7 times, most recently from 17b4a04 to 550fcaf Compare September 21, 2021 18:30
lostmsu added this to the 3.0.0 milestone Sep 24, 2021

lostmsu commented Sep 27, 2021

Copy link
Copy Markdown
Member Author

@filmor any other comments?

Type[] args = { ptrtype, typetype };
ConstructorBuilder cb = tb.DefineConstructor(ma, cc, args);
ConstructorInfo ci = basetype.GetConstructor(args);
ConstructorInfo ci = basetype.GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic, null, args, null);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Does this change behaviour?

lostmsu Sep 30, 2021
edited
Loading

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Users can no longer construct their own instances of Dispatcher manually (which is the goal of the change).

I doubt anyone did that anyway, it is very obscure.

lostmsu merged commit 8846fd2 into pythonnet:master Sep 30, 2021
lostmsu deleted the public-API-cleanup branch September 30, 2021 18:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL