- Notifications
You must be signed in to change notification settings - Fork750
Cleaning up public API#1557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
17b4a04
to550fcaf
Compare550fcaf
to1a2ad6d
CompareUh oh!
There was an error while loading.Please reload this page.
@filmor any other comments? |
@@ -76,7 +76,7 @@ private Type GetDispatcher(Type dtype) | |||
var cc = CallingConventions.Standard; | |||
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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Does this change behaviour?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Users can no longer construct their own instances ofDispatcher
manually (which is the goal of the change).
I doubt anyone did that anyway, it is very obscure.
1a2ad6d
to392537a
Compare
Uh oh!
There was an error while loading.Please reload this page.
This handles#1539
Deleted:
PyLong
PyAnsiString
Checklist
Check all those that are applicable and complete.
CHANGELOG