Bengt Richter wrote:
Sorry for jumping in with a largely irrelevant comment. I didn't look
at the code, just sought to illustrate the 6/18 thing further, in a kneejerk
reaction.
Though BTW FWIW the visual sequence of glyphs representing the data was more a
str output
than repr, I guess:
>>> repr("C\x01\x02\x10'\x83")
'"C\\x01\\x02\\x10\'\\x83"'
>>> str("C\x01\x02\x10'\x83")
"C\x01\x02\x10'\x83"
Actually, both of those have an additional repr() call
courtesy of the Python interactive console. The output
of str() on that string is unprintable, but the above
representation has already been repr()ed by Python for
consumption by fragile hyoo-mans...
-Peter
--
http://mail.python.org/mailman/listinfo/python-list