Hi.
Is this a feature? I do see b32encode padding the string with NULs first.
>>> b32decode(b32encode('\x00'))
Traceback (most recent call last):
File "", line 1, in ?
File "/usr/lib/python2.4/base64.py", line 228, in b32decode
last = binascii.unhexlify(hex(acc)[2:-1])
TypeError: Odd-lengt
The suggestion Skip is indeed very useful, however it does not work
when some of the item is not string, here is another try:
class UnicodeReader:
def __init__(self, f, dialect=csv.excel, encoding="utf-8", **kwds):
self.reader = csv.reader(f, dialect=dialect, **kwds)
self.encod
Patch / Bug Summary
___
Patches : 339 open ( -5) / 2857 closed (+12) / 3196 total ( +7)
Bugs: 908 open ( -8) / 5036 closed (+22) / 5944 total (+14)
RFE : 189 open ( -2) / 168 closed ( +5) / 357 total ( +3)
New / Reopened Patches
__
Trivial t