Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import pkg_resources only when needed #7

Merged
merged 1 commit into from
Apr 28, 2020
Merged

Conversation

quimey
Copy link

@quimey quimey commented Apr 27, 2020

Importing it is slow and might harm performance on CLI applications
that run many times for a short time.
See pypa/setuptools#510

Importing it is slow and might harm performance on CLI applications
that run many times for a short time.
See pypa/setuptools#510
@jvrsantacruz jvrsantacruz merged commit c2dba1e into Avature:master Apr 28, 2020
jvrsantacruz added a commit that referenced this pull request May 28, 2024
- Changes loader API to take paths rather than open streams
- Makes loader API public through the `register_format` function
  so library users can define their own custom loaders.
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