[Python-Dev] PEP 461: Adding % formatting to bytes and bytearray -- Final, Take 3

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 27 23:10:21 CET 2014


R. David Murray wrote:
> I've done the 'landmark' thing as well, in the string context; that can be
> very useful when doing incremental test driven development.  (Granted, you
> could do that with __bytes__;

Can't you do it more easily just by wrapping ascii()
around the argument? That seems sufficient for debugging
purposes to me.

-- 
Greg


More information about the Python-Dev mailing list