Issue 17984: io and _pyio modules require the _io module (original) (raw)

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

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:45 admin set github: 62184
2014-07-11 14:40:31 vstinner set nosy: + vstinnermessages: +
2014-07-10 12:56:11 piotr.dobrogost set nosy: + piotr.dobrogost
2013-05-18 16:19:12 pitrou set stage: needs patchtype: behavior -> enhancementversions: - Python 2.7, Python 3.3
2013-05-15 20:15:29 benjamin.peterson set messages: +
2013-05-15 20:09:39 alex set nosy: + alexmessages: +
2013-05-15 19:50:44 benjamin.peterson set messages: +
2013-05-15 19:49:27 serhiy.storchaka create