[Patches] [ python-Patches-1754339 ] struni: Bytes support for TextIOWrapper.write()
SourceForge.net
noreply at sourceforge.net
Mon Jul 16 21:50:22 CEST 2007
Patches item #1754339, was opened at 2007-07-15 11:54
Message generated for change (Comment added) made by gvanrossum
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1754339&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 3000
>Status: Closed
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: Christian Heimes (tiran)
Assigned to: Nobody/Anonymous (nobody)
Summary: struni: Bytes support for TextIOWrapper.write()
Initial Comment:
The patch fixes support for bytes in TextIOWrapper.write(). It also fixes some unit test like test_uu, too.
----------------------------------------------------------------------
>Comment By: Guido van Rossum (gvanrossum)
Date: 2007-07-16 15:50
Message:
Logged In: YES
user_id=6380
Originator: NO
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1754339&group_id=5470
More information about the Patches
mailing list