3 ms·
Ahh, yes, you're right. I'm still irritated by this specific case because my code and documentation used s.encode("hex") often, and it took a while to fix them
by eesmith 9y ago
Ahh, yes, you're right.
I'm still irritated by this specific case because my code and documentation used s.encode("hex") often, and it took a while to fix them all. Especially as the original code used both str and unicode hex-encoded values, so I couldn't drop in binascii. I ended up adding a C extension function.