Issue 18602: "_io" module names itself "io" (original) (raw)

Issue18602

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/62802

classification

Title: "_io" module names itself "io"
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.4

process

Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: amaury.forgeotdarc, benjamin.peterson, ezio.melotti, jcea, pitrou
Priority: low Keywords:

Created on 2013-07-30 19:57 by pitrou, last changed 2022-04-11 14:57 by admin.

Messages (3)
msg193953 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2013-07-30 19:57
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?
msg194676 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-08-08 13:59
Have you tried to change it and run the test suite? Maybe it breaks pickling or something similar?
msg194678 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2013-08-08 14:00
> 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.
History
Date User Action Args
2022-04-11 14:57:48 admin set github: 62802
2013-08-08 14:00:55 pitrou set messages: +
2013-08-08 13:59:48 ezio.melotti set nosy: + ezio.melottimessages: +
2013-08-03 03:47:44 jcea set nosy: + jcea
2013-07-30 19:57:56 pitrou set nosy: + amaury.forgeotdarc, benjamin.peterson
2013-07-30 19:57:47 pitrou create