[issue22128] patch: steer people away from codecs.open
Antoine Pitrou
report at bugs.python.org
Wed Aug 6 04:43:37 CEST 2014
Antoine Pitrou added the comment:
> I don't think it's useful to tell people:
> * use codecs.open() on Python 2.4, 2.5, 2.6
> * use io.open() on Python 2.7 (io is too slow on 2.6 to be a real alternative to codecs.open())
> * use open() on Python 3.4+
Instead we can tell them to use io.open() on all versions from 2.7 and upwards.
2.6 is dead and won't receive any documentation updates anyway.
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22128>
_______________________________________
More information about the Python-bugs-list
mailing list