FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.10] gh-99845: _PyObject_DictPointer(): fix dictoffset cast (GH-99922) by miss-islington · Pull Request #99924 · python/cpython · GitHub

/ cpython Public

[3.10] gh-99845: _PyObject_DictPointer(): fix dictoffset cast (GH-99922) - #99924

Merged
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-9707bf2-3.10
Dec 1, 2022
Merged

[3.10] gh-99845: _PyObject_DictPointer(): fix dictoffset cast (GH-99922)#99924
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-9707bf2-3.10

Conversation

miss-islington commented Dec 1, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

Cast size_t to Py_ssize_t, rather than casting it to long. On 64-bit
Windows, long is 32-bit whereas Py_ssize_t is 64-bit.
(cherry picked from commit 9707bf2)

Co-authored-by: Victor Stinner vstinner@python.org

…H-99922)

Cast size_t to Py_ssize_t, rather than casting it to long. On 64-bit
Windows, long is 32-bit whereas Py_ssize_t is 64-bit.
(cherry picked from commit 9707bf2)

Co-authored-by: Victor Stinner <vstinner@python.org>

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM, good bot.

miss-islington merged commit 64dae2e into python:3.10 Dec 1, 2022
miss-islington deleted the backport-9707bf2-3.10 branch December 1, 2022 13:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL