GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-133866: remove deprecated and undocumented function `ctypes.SetPointerType` by picnixz · Pull Request #133869 · python/cpython

Conversation

@picnixz

@picnixz picnixz commented May 11, 2025 •
edited by github-actions Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
  • Issue: Remove deprecated and undocumented function ctypes.SetPointerType #133866

📚 Documentation preview 📚: https://cpython-previews--133869.org.readthedocs.build/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
picnixz added 3 commits May 11, 2025 09:59
@picnixz
remove
6aa52cd
@picnixz
Merge remote-tracking branch 'upstream/main' into cleanup/315/ctypes-…
ae2ddc4
…set-pointer-type-133866
@picnixz
remove ctypes.SetPointerType
f5b3ec0
@bedevere-app bedevere-app Bot added the awaiting core review label May 11, 2025
@bedevere-app bedevere-app Bot mentioned this pull request May 11, 2025
Remove deprecated and undocumented function ctypes.SetPointerType #133866
Closed
@picnixz
update NEWS
89ed00a
@picnixz

picnixz commented May 11, 2025

Copy link
Copy Markdown
Member Author

Let's discuss on the issue if we can also remove the C interface as Kumar wanted.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@picnixz
Merge branch 'main' into cleanup/315/ctypes-set-pointer-type-133866
1dd753f
picnixz
picnixz commented May 11, 2025
View reviewed changes
Comment thread Doc/whatsnew/3.15.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

picnixz added 2 commits May 11, 2025 11:19
@picnixz
Update Doc/whatsnew/3.15.rst
a4c6700
@picnixz
Merge branch 'main' into cleanup/315/ctypes-set-pointer-type-133866
fa6a897
encukou
encukou reviewed May 12, 2025
View reviewed changes

@encukou encukou left a comment

Copy link
Copy Markdown
Member

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.

Could you also remove the note from Doc/deprecations/pending-removal-in-3.15.rst?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread Doc/whatsnew/3.15.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@picnixz

picnixz commented May 15, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

Could you also remove the note from Doc/deprecations/pending-removal-in-3.15.rst?

Are the docs for 3.14 served from the main branch or the 3.14 branch? if it's from the main branch, we need to preserve the file.

Note: I think we cannot delete them because they are built from the main branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

picnixz
picnixz commented May 15, 2025
View reviewed changes
Comment thread Misc/NEWS.d/next/Library/2025-05-11-10-01-48.gh-issue-133866.g3dHP_.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@picnixz @encukou
Apply suggestions from code review
0f7ecfe
Co-authored-by: Petr Viktorin <[email protected]>
picnixz
picnixz commented May 16, 2025
View reviewed changes
Comment thread Doc/whatsnew/3.15.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Misc/NEWS.d/next/Library/2025-05-11-10-01-48.gh-issue-133866.g3dHP_.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

picnixz added 2 commits May 16, 2025 13:29
@picnixz
Apply suggestions from code review
270bc1c
@picnixz
Merge branch 'main' into cleanup/315/ctypes-set-pointer-type-133866
438c2a0
@picnixz
picnixz requested a review from encukou May 20, 2025 10:56
@encukou

encukou commented May 29, 2025

Copy link
Copy Markdown
Member

3.14 docs are built from the 3.14 branch. There are also 3.15 (dev) docs, though I see they don't yet always appear in the switcher.
Anyway, pending-removal-in-3.15.rst also lists some other API that's already gone; it'll need another cleanup pass.

Thank you for removing this!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@encukou
encukou merged commit cafbcd6 into python:main May 29, 2025
@bedevere-app bedevere-app Bot removed the awaiting core review label May 29, 2025
@mhsmith

mhsmith commented May 29, 2025

Copy link
Copy Markdown
Member

This PR appears to have broken the Lint check on the main branch: https://github.com/python/cpython/actions/runs/15324974930.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@encukou

encukou commented May 30, 2025

Copy link
Copy Markdown
Member

Indeed, a lint check was quietly added while this was on review.

Anyway, Victor fixed it before I got to your comment :)

mhsmith and picnixz reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@picnixz
picnixz deleted the cleanup/315/ctypes-set-pointer-type-133866 branch May 30, 2025 13:52
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
@picnixz @Pranjal095
pythongh-133866: remove deprecated and undocumented function `ctypes.…
50c18b4
…SetPointerType` (pythonGH-133869)
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
@picnixz @taegyunkim
pythongh-133866: remove deprecated and undocumented function `ctypes.…
6869492
…SetPointerType` (pythonGH-133869)
gostak-dd pushed a commit to gostak-dd/cpython that referenced this pull request Jun 2, 2026
@picnixz @gostak-dd
pythongh-133866: remove deprecated and undocumented function `ctypes.…
3b2f3ad
…SetPointerType` (pythonGH-133869)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@encukou encukou Awaiting requested review from encukou

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@picnixz @encukou @mhsmith
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.