GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — gh-134786: Py_TPFLAGS_MANAGED_WEAKREF and Py_TPFLAGS_MANAGED_DICT must be used only if Py_TPFLAGS_HAVE_GC set by sergey-miryanov · Pull Request #135863 · python/cpython Conversation
|
|
@markshannon Please take a look. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
As the person who reported #134786: I would suggest making the documentation more explicit and replacing should with must here, especially since the code now errors out if |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
+1 Additionally, this PR puts this into a WhatsNew entry for 3.15. This is not a new thing, this is a documentation fix + fix for the runtime to not allow these invalid types to be created. So I think the added whatsnew is misleading. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I'm not sure if we should support I think the current version needs some updates and clarification in the docs. First, though, I would like to get some feedback on the overall approach. Is this the right way to do after all? Please take a look if someone interested. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@markshannon Please take a look. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should rename this PR?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
I forgot to apply changes :( |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Once the remaining comment has been addressed, I'm happy to merge this. For the record, the requirements may change in the future: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Mikhail Efimov <[email protected]>
I had such commit 42c0932, we decided to revert it for now. Maybe we should open a separate PR for it? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
If it isn't too much work, it is worth adding a test for this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@kumaraditya303 I have added test. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@markshannon @kumaraditya303 It is ready to review, could you please take a look. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Thanks all! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…PFLAGS_MANAGED_DICT` is used without `Py_TPFLAGS_HAVE_GC` set (python#135863)
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.