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-46376: add (failing) tests for ctypes/pointer/cast/set_contents #108519

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jul 13, 2024

  1. pythongh-46376: add (failing) tests for ctypes/pointer/cast/set_contents

    Previous attempt to fix pythongh-46376 was incomplete and
    overall it didn't succeed, and was reverted in 3.11.
    However, we have discovered some dangerous issues with
    ctypes, that aren't fixed or documented anywhere.
    This commit adds tests (@expectedfailure) so at least
    developers are aware of situations where memory might
    be corrupted, leaked or when changing a pointer value
    might have no effect.
    Hopefully, we should be able to remove @expectedfailure
    in the future, with new shiny ctypes implementation or
    at least a bugfix.
    s1kpp committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    0116633 View commit details
    Browse the repository at this point in the history