-
Notifications
You must be signed in to change notification settings - Fork 737
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.11 #1955
Python 3.11 #1955
Conversation
var slots = new[] { | ||
new TypeSpec.Slot(TypeSlotID.tp_traverse, subtype_traverse), | ||
new TypeSpec.Slot(TypeSlotID.tp_clear, subtype_clear) | ||
}; |
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.
This creates multiple sources of truth. Does editing post creation not work?
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.
It doesn't. Python 3.11 rejects creating a type that has HAVE_GC
set but not these slots. Rightly so :)
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.
Can we have this array shared with the other place that used to use this function?
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I can take a look once 3.11 hits Anaconda. |
Re only clear on |
|
OK, just wanted to ensure you investigated. Any specific type combinations that turn out to be an issue to make a test? |
The only issue left is fixing (and reenabling tests) for |
The remaining issue seems to be precisely calling |
LGTM, but I'll wait for the CI passing. |
Wow, from my PoV this is actually a bug in Python itself: If I'll try to create a proper bug-report for this, but for now I will just forbid setting The issue occurs in our test-suite, because we usually start up with an empty |
a4ac4f2
to
f1be5b6
Compare
I have investigated the issue further: It's indeed a regression in Python 3.11, as soon as it's fixed up-stream, I'll adjust our tests to always run again. |
* Merge pull request pythonnet#1955 from filmor/python-3.11 Python 3.11 * Minor fix for datetime tz conversion * Version bump to 2.0.29 --------- Co-authored-by: Benedikt Reinartz <[email protected]>
What does this implement/fix? Explain your changes.
...
Does this close any currently open issues?
...
Any other comments?
...
Checklist
Check all those that are applicable and complete.
AUTHORS
CHANGELOG