[New-bugs-announce] [issue26817] Docs for StringIO should link to io.BytesIO

Thomas Guettler report at bugs.python.org
Thu Apr 21 09:31:25 EDT 2016

New submission from Thomas Guettler:

I think a warning at the top of StringIO docs is needed.

And it should link to io.BytesIO.

Maybe even deprecate StringIO and cStringIO in Python2?

StringIO docs: https://docs.python.org/2/library/stringio.html

io.BytesIO docs: https://docs.python.org/2/library/io.html#io.BytesIO

I would like to see this at the top of StringIO:

Please use io.BytesIO and io.StringIO since this module is not supported in Python3

assignee: docs at python
components: Documentation
messages: 263917
nosy: docs at python, guettli
priority: normal
severity: normal
status: open
title: Docs for StringIO should link to io.BytesIO
versions: Python 2.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list