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

intersphinx: Simplify _fetch_inventory() #13208

Closed

Conversation

AA-Turner
Copy link
Member

Purpose

The streams-based interfaces in intersphinx and sphinx.util.inventory are clever, but also complex and prevent using methods of compression that don't support incrememntal decoding. This PR only affects _fetch_inventory(), refactoring to read all inventory content from disk or an HTTP request at once.

References

A

@AA-Turner
Copy link
Member Author

Wrong branch!

@AA-Turner AA-Turner closed this Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant