Skip to content

python: Refactor ctypes library loading and memory management - #87

Merged
hchataing merged 2 commits into
google:mainfrom
zxzxwu:improve-ctypes
Oct 23, 2026
Merged

hchataing merged 2 commits into
google:mainfrom
zxzxwu:improve-ctypes

Conversation

@zxzxwu

@zxzxwu zxzxwu commented Aug 27, 2026

Copy link
Copy Markdown
Contributor
  • Cache library loading and configure ctypes function signatures once
  • Support LIBLC3_PATH and multi-platform library search paths (.so, .dylib, .dll)
  • Use Python GC-managed buffers instead of manual libc malloc/free
  • Fix docstring typos

@zxzxwu
zxzxwu force-pushed the improve-ctypes branch 8 times, most recently from 3891d3b to b962f83 Compare September 2, 2026 07:16
- Cache library loading and configure ctypes function signatures once
- Support LIBLC3_PATH and multi-platform library search paths (.so, .dylib, .dll)
- Use Python GC-managed buffers instead of manual libc malloc/free
- Fix docstring typos
@zxzxwu

zxzxwu commented Sep 22, 2026

Copy link
Copy Markdown
Contributor Author

@hchataing

Comment thread .github/workflows/ci.yaml Outdated
@hchataing
hchataing self-requested a review October 5, 2026 12:32
@zxzxwu

zxzxwu commented Oct 23, 2026

Copy link
Copy Markdown
Contributor Author

@hchataing Please help me merge this PR, thanks 🙏

Comment thread .github/workflows/pypi.yaml Outdated
- Test python wrapper and basic_test across Linux, macOS, and Windows matrix
- Migrate optional-dependencies to dependency-groups in pyproject.toml
@hchataing
hchataing merged commit f9c127f into google:main Oct 23, 2026
15 checks passed
@zxzxwu
zxzxwu deleted the improve-ctypes branch October 23, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants