Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-133866: remove deprecated and undocumented function ctypes.SetPointerType #133869

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

Merged
Prev Previous commit
Next Next commit
remove ctypes.SetPointerType
  • Loading branch information
picnixz committed May 11, 2025
commit f5b3ec0ad3f3295ec746ad30ecfd0dfc72eafdaf
8 changes: 8 additions & 0 deletions 8 Doc/whatsnew/3.15.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,14 @@ Deprecated
Removed
=======

ctypes
------

* The undocumented function :func:`!ctypes.SetPointerType`.
Use ``ptr.set_type(cls)`` instead.
(Contributed by Bénédikt Tran in :gh:`133866`.)


typing
------

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The undocumented function :func:`!ctypes.SetPointerType`. Use
``ptr.set_type(cls)`` instead. Patch by Bénédikt Tran.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.