<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
<font size="-1">Hi,<br>
<br>
I'm new to Python so might have the wrong end of the stick,
however I noted that although the py3k porting documentation (e.g.
at <a class="moz-txt-link-freetext" href="http://docs.python.org/dev/py3k/howto/pyporting.html">http://docs.python.org/dev/py3k/howto/pyporting.html</a>) says that
both python 2.6 and 2.7 support use of b"xxx" style literals,
there's no mention of it in any of the 2.6.x documentation for
literals (e.g.
<a class="moz-txt-link-freetext" href="http://docs.python.org/release/2.6.7/reference/lexical_analysis.html#id7">http://docs.python.org/release/2.6.7/reference/lexical_analysis.html#id7</a>).<br>
<br>
I found a closed bug in the issue tracker
(<a class="moz-txt-link-freetext" href="http://bugs.python.org/issue1865">http://bugs.python.org/issue1865</a>) which appears to originally
have covered this issue but the version was changed to 2.7 before
it was resolved (although it's also not fixed in 2.7's version at
<a class="moz-txt-link-freetext" href="http://docs.python.org/release/2.7/reference/lexical_analysis.html#id7">http://docs.python.org/release/2.7/reference/lexical_analysis.html#id7</a>,
but is fixed in 2.7.1 and 2.7.2).<br>
<br>
It looks like the solution used for 2.7.1+ would be appropriate
for the older versions, since there do not appear to be other
substantial changes to this part of the documentation between
these versions.<br>
<br>
Regards,<br>
Sam.<br>
--<br>
Sam Thompson.<br>
<br>
<br>
</font>
</body>
</html>