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

If module is _io, use io instead #291

Merged
merged 1 commit into from Jan 15, 2023
Merged

Conversation

hoodmane
Copy link
Collaborator

Most of the io module is implemented in the private C extension module called _io. It would be friendly if Python set the module name to io to match the way it is documented but they don't.

I'm not sure how much it is desirable to add a bunch of module name redirects here. Also, perhaps it would be useful to have a configuration option that allows specifying more module redirects since reexporting classes is pretty common.

Most of the io module is implemented in the private C extension
module called _io. It would be friendly if Python set the module
name to io to match the way it is documented but they don't.
@gaborbernat gaborbernat merged commit 3ecdb42 into tox-dev:main Jan 15, 2023
@hoodmane hoodmane deleted the io-lib branch January 15, 2023 03:59
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.

None yet

2 participants