Skip to content

gh-145916: Soft-deprecate ctypes.util.find_library#145919

Merged
encukou merged 2 commits intopython:mainfrom
encukou:deprecate-find_library
Mar 20, 2026
Merged

gh-145916: Soft-deprecate ctypes.util.find_library#145919
encukou merged 2 commits intopython:mainfrom
encukou:deprecate-find_library

Conversation

@encukou
Copy link
Member

@encukou encukou commented Mar 13, 2026

  • Put the "Loading shared libraries" section first
    • Adjust formatting at the end of the section
  • In "Finding shared libraries", add more text about what's going on
  • Move the stub function doc for find_library into "Finding shared libraries"
    • Also move the related function, find_msvcrt. That's on the chopping block, but not removed now.

CLI review tip: you can ask Git to (un)highlight moved blocks of text:

git show --color-moved=dimmed-zebra --color-moved-ws=allow-indentation-change

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

* Put the "Loading shared libraries" section first
  * Adjust formatting at the end of the section
* In "Finding shared libraries", add more text about what's going on
* Move the stub function doc for find_library into "Finding shared libraries"
  * Also move the sister function, find_msvcrt. That's on the chopping block,
    but not removed now.

---

CLI review tip: you can ask Git to (un)highlight moved blocks of text:

   git show --color-moved=dimmed-zebra --color-moved-ws=allow-indentation-change
@encukou
Copy link
Member Author

encukou commented Mar 19, 2026

I'll merge tomorrow if there are no objections.

@encukou encukou merged commit b38127f into python:main Mar 20, 2026
28 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Mar 20, 2026
@encukou encukou deleted the deprecate-find_library branch March 20, 2026 14:00
CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull request Mar 22, 2026
* upstream/main: (1475 commits)
  Docs: replace all `datetime` imports with `import datetime as dt` (python#145640)
  pythongh-146153: Use `frozendict` in pure python fallback for `curses.has_key` (python#146154)
  pythongh-138234: clarify returncode behavior for subprocesses created with `shell=True` (python#138536)
  pythongh-140947: fix contextvars handling for server tasks in asyncio  (python#141158)
  pythonGH-100108: Add async generators best practices section (python#141885)
  pythonGH-145667: Merge `GET_ITER` and `GET_YIELD_FROM_ITER` (pythonGH-146120)
  pythongh-146228: Better fork support in cached FastPath (python#146231)
  pythongh-146227: Fix wrong type in _Py_atomic_load_uint16 in pyatomic_std.h (pythongh-146229)
  pythongh-145980: Fix copy/paste mistake in binascii.c (python#146230)
  pythongh-146092: Raise MemoryError on allocation failure in _zoneinfo (python#146165)
  pythongh-91279: Note `SOURCE_DATE_EPOCH` support in `ZipFile.writestr()` doc (python#139396)
  pythongh-146196: Fix Undefined Behavior in _PyUnicodeWriter_WriteASCIIString() (python#146201)
  pythongh-143930: Reject leading dashes in webbrowser URLs
  pythongh-145916: Soft-deprecate ctypes.util.find_library (pythonGH-145919)
  pythongh-146205: Check the errno with != 0 in close impls in select module (python#146206)
  pythongh-146171: Fix nested AttributeError suggestions (python#146188)
  pythongh-146099: Optimize _GUARD_CODE_VERSION+IP via function version symbols (pythonGH-146101)
  pythongh-145980: Add support for alternative alphabets in the binascii module (pythonGH-145981)
  pythongh-145754: Update signature retrieval in unittest.mock to use forwardref annotation format (python#145756)
  pythongh-145177: Add emscripten run --test, uses test args from config.toml (python#146160)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant