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 — Soft-deprecate ctypes.util.find_library · Issue #145916 · python/cpython

Soft-deprecate ctypes.util.find_library #145916

New issue
Copy link
New issue
Copy link
Closed
Closed
Soft-deprecate ctypes.util.find_library#145916
Copy link
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-ctypestype-featureA feature request or enhancementA feature request or enhancement

Description

@encukou
encukou
opened on Mar 13, 2026
Issue body actions

Feature or enhancement

See discussion: https://discuss.python.org/t/soft-deprecating-ctypes-util-find-library/106232

Linked PRs

  • gh-145916: Soft-deprecate ctypes.util.find_library #145919
Reacted by mara004

Activity

  1. encukou
    added
    type-featureA feature request or enhancementA feature request or enhancement
    topic-ctypes
    on Mar 13, 2026
  2. encukou
    added this to Ctypes issueson Mar 13, 2026
  3. picnixz
    added
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    on Mar 13, 2026
  4. encukou
    added 2 commits that reference this issue on Mar 13, 2026

    pythongh-145916: Deprecate ctypes.util.find_library

    3f36796

    gh-145916: Soft-deprecate ctypes.util.find_library (GH-145919)

    b38127f
  5. encukou
    closed this as completedon Mar 20, 2026
  6. github-project-automation
    moved this to Done in Ctypes issueson Mar 20, 2026
  7. encukou commented on Mar 20, 2026

    @encukou
    encukou
    on Mar 20, 2026
    MemberAuthor
    More actions

    Soft-deprecated. I've also closed related issues:

    • ctypes.util.find_library() should return full pathname instead of filename in linux #65241
    • ctypes.util.find_library does not respect os.add_dll_directory #111104
    • ctypes.util.find_library makes assumptions around /sbin/ldconfig and is inconsistent in its contract #112417
    • ctypes.util.find_library() does not find macOS 11+ system libraries when built on older macOS systems #88855
    • ctypes.util.find_library raises FileNotFoundError for libsecp256k1 #93094
    • ctypes.util incorrectly fails for libraries without DT_SONAME #65821
    • CDLL does not use same paths as util.find_library #62702
    • find_library("c") defers to find_msvcrt() #72469
    • find_library broken for binutils >= 2.32 / 2.34 #84916
    • Support more platforms in ctypes.find_library #142020

    These are also listed in Ctypes issues (view)

    Reacted by mara004
  8. CuriousLearner
    added a commit that references this issue on Mar 22, 2026

    Merge remote-tracking branch 'upstream/main' into fix-pythongh-138577

    2691ad9
  9. ljfp
    added a commit that references this issue on Apr 25, 2026

    pythongh-145916: Soft-deprecate ctypes.util.find_library (pythonGH-14…

    f134abd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-ctypestype-featureA feature request or enhancementA feature request or enhancement

    Projects

    • Ctypes issues
      Status
      Done
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    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.