[IronPython] bytes and str in 2.7 io module

Jeff Hardy jdhardy at gmail.com
Tue Nov 9 08:32:28 CET 2010


On Mon, Nov 8, 2010 at 10:55 AM, Dino Viehland <dinov at microsoft.com> wrote:
> Ahh, yeah, we should probably have a helper method in here which will convert
> the string back to bytes rather than all of these casts to Bytes.

Turns out there already was one: PythonIOModule.GetBytes(). I'll
revert and make the changes to use it tomorrow (later today, I
guess...).

- Jeff



More information about the Ironpython-users mailing list