Skip to content
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-99845: Clean up _PyObject_VAR_SIZE() usage #99847

Merged
merged 1 commit into from
Nov 29, 2022
Merged

gh-99845: Clean up _PyObject_VAR_SIZE() usage #99847

merged 1 commit into from
Nov 29, 2022

Commits on Nov 28, 2022

  1. gh-99845: Clean up _PyObject_VAR_SIZE() usage

    * code_sizeof() now uses unsigned type to compute the result.
    * Fix _PyObject_ComputedDictPointer(): cast _PyObject_VAR_SIZE() to
      Py_ssize_t, rather than long.
    * Clarify that _PyObject_VAR_SIZE() uses an unsigned type (size_t).
    vstinner committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    3ec8130 View commit details
    Browse the repository at this point in the history