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.

classification
Title: io and _pyio modules require the _io module
Type: enhancement Stage: needs patch
Components: IO Versions: Python 3.4
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: alex, benjamin.peterson, hynek, piotr.dobrogost, pitrou, serhiy.storchaka, stutzbach, vstinner
Priority: normal Keywords:

Created on 2013-05-15 19:49 by serhiy.storchaka, last changed 2022-04-11 14:57 by admin.

Messages (5)
msg189295 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-05-15 19:49
io and _pyio modules don't usable without the _io module. In particular when 2.7 build without unicode. Why we have a Python implementation if it can't be used as a fallback when a C implementation is not available?
msg189296 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2013-05-15 19:50
Well, we at least need some C level _fileio.
msg189297 - (view) Author: Alex Gaynor (alex) * (Python committer) Date: 2013-05-15 20:09
I don't see why we need some C level _fileio, the os module has everythign we need.
msg189298 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2013-05-15 20:15
Patches welcome, of course!
msg222752 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014-07-11 14:40
Serhiy implemented the FileIO class in pure Python: see the issue #21859 (patch under review).
History
Date User Action Args
2022-04-11 14:57:45adminsetgithub: 62184
2014-07-11 14:40:31vstinnersetnosy: + vstinner
messages: + msg222752
2014-07-10 12:56:11piotr.dobrogostsetnosy: + piotr.dobrogost
2013-05-18 16:19:12pitrousetstage: needs patch
type: behavior -> enhancement
versions: - Python 2.7, Python 3.3
2013-05-15 20:15:29benjamin.petersonsetmessages: + msg189298
2013-05-15 20:09:39alexsetnosy: + alex
messages: + msg189297
2013-05-15 19:50:44benjamin.petersonsetmessages: + msg189296
2013-05-15 19:49:27serhiy.storchakacreate