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 2013-08-08 14:00 by pitrou.

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
2013-08-08 14:00:55pitrousetmessages: + msg194678
2013-08-08 13:59:48ezio.melottisetnosy: + ezio.melotti
messages: + msg194676
2013-08-03 03:47:44jceasetnosy: + jcea
2013-07-30 19:57:56pitrousetnosy: + amaury.forgeotdarc, benjamin.peterson
2013-07-30 19:57:47pitroucreate