[IronPython] bytes and str in 2.7 io module
jdhardy at gmail.com
Tue Nov 9 05:41:37 CET 2010
On Mon, Nov 8, 2010 at 8:16 PM, Dino Viehland <dinov at microsoft.com> wrote:
> Vernon wrote:
> Make sure to check the Python 3 bindings as well. We don't want to loose
> ground going in that direction, since IPy already has Python 3's best
> feature -- all strings are Unicode. Maybe the equivalent of "if
> sys.version >= '3':" should be buried in the helper so that that wheel
> will not need to be re-invented in the future. Just a thought.
> We do this elsewhere but it requires flowing a CodeContext in everywhere if
> it’s not already flowed in or held onto by the object. If we centralize
> this is one function though we can just remove the extra allowed conversion
> when going to 3k.
That's pretty much what I plan to do :)
More information about the Ironpython-users