The use of asbytes originates only from the fact that b'%d' % (20,) does not work.
"""

">

(original) (raw)

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...)


-Chris

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division

NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov