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 — bpo-30459: Cast the result of PyCell_SET to void by vstinner · Pull Request #23654 · python/cpython Conversation
|
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I would say that PyList_SET_ITEM etc are no longer rvalues and have type void. Or something like.
Casting to void is an implementation detail. What is important to the user that they can no longer write x = PyList_SET_ITEM(a, b, c) or PyList_SET_ITEM(a, b, c) = x.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@serhiy-storchaka: I rewrote the NEWS entry/What's New entry. Is it better? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for the review @serhiy-storchaka! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thank you for catching the case of PyCell_SET. I missed it. And this change was worth to be documented. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
My experience with rebuilding Fedora with a newer Python version is that every single minor change breaks at least one Python package, and it's a pain to find which change broke the package, and then find information about the change. IMO it's a good practice to document changes which are backward incompatible on purpose, even if the new behavior was the documented behavior. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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.