Lazy imports with regular syntax in pure Python.

2 Open Issues Need Help Last updated: Jun 20, 2025

Open Issues Need Help

View All on GitHub

AI Summary: Investigate and resolve thread-safety issues in the `defer_imports` Python library. This involves debugging the current implementation to identify why it fails in multithreaded environments (specifically CPython with free-threading and PyPy3.9), and either fixing the code to be thread-safe or clearly documenting the limitations and adding a prominent warning to the README.

Complexity: 4/5
bug help wanted

Lazy imports with regular syntax in pure Python.

Python

AI Summary: The task is to redesign the configuration API of the `defer_imports.ast_rewrite` module to improve its usability for both libraries and applications. This involves addressing potential misuses of the current API, ensuring proper uninstall behavior, and considering compatibility with various project structures (single-file, multi-file libraries, and large applications with vendored dependencies). The goal is to create a more robust and flexible API that prevents unintended consequences while maintaining its usefulness for different use cases.

Complexity: 4/5
help wanted

Lazy imports with regular syntax in pure Python.

Python