| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Fix generating an accessor in a preprocessor conditional block. Reject the accessors of the same attribute with different C basenames and the same accessor defined twice. Reject deletion of the attribute, which crashed the setter, unless the new directive @deleter is applied to it.
They raised AttributeError for deletion, and this is now done by the generated code.
|
Removed @deleter from 7 setters which check for NULL themselves and raise AttributeError. |
Sorry, something went wrong.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
Sorry, something went wrong.
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.15 due to a conflict. cherry_picker 915970ce9d031388a2bcf3e9f6199fa3e0eb9ebd 3.15 |
Sorry, something went wrong.
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.14 due to a conflict. cherry_picker 915970ce9d031388a2bcf3e9f6199fa3e0eb9ebd 3.14 |
Sorry, something went wrong.
|
GH-156010 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
|
GH-156011 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
|
GH-156012 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Three fixes for the accessors generated by Argument Clinic:
@deleter is applied to the 22 setters whose implementation is written to accept NULL, so deleting these attributes works as before. Only three generated files change: the setters of _ssl, _sqlite3.Cursor.arraysize and frame.f_trace_opcodes gain the deletion check.