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: struni: Bytes support for TextIOWrapper.write()
Type: Stage:
Components: Library (Lib) Versions: Python 3.0
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, gvanrossum
Priority: normal Keywords: patch

Created on 2007-07-15 15:54 by christian.heimes, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
textiowrapper_bytes.patch christian.heimes, 2007-07-15 15:54 patch against py3k-struni branch r56398
Messages (2)
msg52879 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2007-07-15 15:54
The patch fixes support for bytes in TextIOWrapper.write(). It also fixes some unit test like test_uu, too.
msg52880 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2007-07-16 19:50
This looks like the wrong approach.  Instead, I'm changing uu.py to explcitly turn the bytes returned by b2a_uu() into a string.  (The alternative would be to require the output file to be opened in binary mode, which makes less sense IMO.)  The change is r56402.
History
Date User Action Args
2022-04-11 14:56:25adminsetgithub: 45201
2008-01-06 22:29:45adminsetkeywords: - py3k
versions: + Python 3.0
2007-07-15 15:54:34christian.heimescreate