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.

Author alexandre.vassalotti
Recipients
Date 2007-08-15.16:23:55
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This patch allows a str object to be used as the initial value of io.BytesIO:

  >>> x = io.BytesIO('1234')
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/home/alex/src/python.org/py3k/Lib/io.py", line 592, in __init__
      buffer += initial_bytes
  TypeError: can't concat bytes to str
History
Date User Action Args
2007-08-23 15:59:41adminlinkissue1774833 messages
2007-08-23 15:59:41admincreate