Uh oh!
There was an error while loading. Please reload this page.
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.
This creates multiple sources of truth. Does editing post creation not work?
There was a problem hiding this comment.
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.
Can we have this array shared with the other place that used to use this function?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
lostmsu
commented
Oct 28, 2022
I can take a look once 3.11 hits Anaconda. |
lostmsu
commented
Oct 30, 2022
Re only clear on |
filmor
commented
Oct 30, 2022
|
lostmsu
commented
Oct 30, 2022
OK, just wanted to ensure you investigated. Any specific type combinations that turn out to be an issue to make a test? |
filmor
commented
Oct 30, 2022
The only issue left is fixing (and reenabling tests) for |
filmor
commented
Nov 1, 2022
The remaining issue seems to be precisely calling |
lostmsu
commented
Nov 1, 2022
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
f1be5b6Comparefilmor
commented
Nov 2, 2022
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 <filmor@gmail.com>
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.
AUTHORSCHANGELOG