[Python-Dev] PEP 461 updates
Eric V. Smith
eric at trueblade.com
Sat Jan 18 02:04:47 CET 2014
On 1/17/2014 4:37 PM, Chris Barker wrote:
> For the record, we've got a pretty good thread (not this good, though!)
> over on the numpy list about how to untangle the mess that has resulted
> from porting text-file-parsing code to py3 (and the underlying issue
> with the 'S' data type in numpy...)
> One note from the github issue:
> The use of asbytes originates only from the fact that b'%d' % (20,)
> does not work.
> So yeah PEP 461! (even if too late for numpy...)
Would they use "(u'%d' % (20,)).encode('ascii')" for that? Just curious
as to what they're planning on doing.
More information about the Python-Dev