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

"_io" module names itself "io" #62802

Open
pitrou opened this issue Jul 30, 2013 · 3 comments
Open

"_io" module names itself "io" #62802

pitrou opened this issue Jul 30, 2013 · 3 comments
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@pitrou
Copy link
Member

pitrou commented Jul 30, 2013

BPO 18602
Nosy @jcea, @amauryfa, @pitrou, @benjaminp, @ezio-melotti

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2013-07-30.19:57:47.852>
labels = ['type-bug', 'library']
title = '"_io" module names itself "io"'
updated_at = <Date 2013-08-08.14:00:55.149>
user = 'https://github.com/pitrou'

bugs.python.org fields:

activity = <Date 2013-08-08.14:00:55.149>
actor = 'pitrou'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2013-07-30.19:57:47.852>
creator = 'pitrou'
dependencies = []
files = []
hgrepos = []
issue_num = 18602
keywords = []
message_count = 3.0
messages = ['193953', '194676', '194678']
nosy_count = 5.0
nosy_names = ['jcea', 'amaury.forgeotdarc', 'pitrou', 'benjamin.peterson', 'ezio.melotti']
pr_nums = []
priority = 'low'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue18602'
versions = ['Python 3.4']

@pitrou
Copy link
Member Author

pitrou commented Jul 30, 2013

In Modules/_io/_iomodule.c, the name field of the module struct is initialized to "io" rather than "_io". The change should intuitively be harmless, but perhaps there's a reason why it is like that?

@pitrou pitrou added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Jul 30, 2013
@ezio-melotti
Copy link
Member

Have you tried to change it and run the test suite? Maybe it breaks pickling or something similar?

@pitrou
Copy link
Member Author

pitrou commented Aug 8, 2013

Have you tried to change it and run the test suite? Maybe it breaks
pickling or something similar?

Yeah, it came to me that it may break pickle. The test suite may not
pick it, though.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants