-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
GH-92678: Document that you shouldn't be doing your own dictionary offset calculations. #95598
Conversation
Actually, |
Added in faster-cpython#13. |
See faster-cpython#14 for that alternative. |
It shouldn't. |
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.
One more _PyObject_GetDictPtr I forgot, otherwise this looks good. Thank you!
Co-authored-by: Petr Viktorin <[email protected]>
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.
Just some small typos
Co-authored-by: Stanley <[email protected]>
Thanks @markshannon for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
GH-95821 is a backport of this pull request to the 3.11 branch. |
…ary offset calculations. (pythonGH-95598) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Stanley <[email protected]> (cherry picked from commit 8d37c62) Co-authored-by: Mark Shannon <[email protected]>
…fset calculations. (GH-95598) (GH-95821) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Stanley <[email protected]> Co-authored-by: Mark Shannon <[email protected]>
…ary offset calculations. (pythonGH-95598) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Stanley <[email protected]>
It seems like no one was doing their own address calculation anyway, but the docs needed updating.