<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#330033">
<div class="moz-cite-prefix">On 1/14/2014 2:38 PM, Nick Coghlan
wrote:<br>
</div>
<blockquote
cite="mid:CADiSq7dV07StRpiU3b6Dq6wAagEJhjRgBawU8fWcPQicsLmyVQ@mail.gmail.com"
type="cite">
<p dir="ltr">I think Brett has the right idea: we shouldn't try to
accept numbers for %s in binary interpolation. If we limit it to
just buffer exporters and objects with a __bytes__ method then
the problem goes away.</p>
<p dir="ltr">The numeric codes all exist in Python 2, so the
porting requirement to the common 2/3 subset will be to update
the cases of binary interpolation of a number with %s to use an
appropriate numeric formatting code instead.</p>
</blockquote>
+1<br>
</body>
</html>