- Use byte-array in a couple of places instead of str
- Python3 folded IOError into OSError, so just throw OSError instead
WIP because I haven't gotten py_djb_hash()'s doctest working yet in py3
Differential D1036
WIP: cdblib: Fix py2/py3 compat demon on Apr 30 2018, 8:42 PM. Authored by
Details
WIP because I haven't gotten py_djb_hash()'s doctest working yet in py3
Diff Detail
Event Timeline
Comment Actions
Because of the wide range of inputs we allow, we can easily end up in a weird state of byte arrays or strings. So variably use ord() depending on what we need Comment Actions reverted saturday. Causing scap to fail. I think due to the data = data.encode('utf-8') on line 82. |