On Tue, Jan 29, 2013 at 11:34:31AM -0800, Junio C Hamano wrote:
> John Keeping <j...@keeping.me.uk> writes:
> > Changes since v1:
> > - Set 3.1 as the minimum Python 3 version
> > - Remove the section on Unicode literals - it just adds confusion and
> > doesn't apply to the current code; we can deal with any issues if they
> > ever arise.
> > ...
> > + - We use the 'b' prefix for bytes literals. Note that even though
> > + the Python documentation for version 2.6 does not mention this
> > + prefix it is supported since version 2.6.0.
> Do we still need to single out the 'b' prefix? Even if it were
> necessary, I'd like to see it toned down a bit to make it clear that
> most of the time you can write strings as strings without having to
> worry about the "is it unicode string or a string string" mess.
> - When you must make distinction between Unicode literals and
> byte string literals, it is OK to use 'b' prefix. Even though
Yeah, that's better.
I want to include it because if you look in the Python documentation
then you'll be misled into thinking that it's not available on 2.6 and
we will be supporting that for a while since it is the version included
in RHEL 6.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html