Skip to content
  • Martin von Zweigbergk's avatar
    py3: use array.array.{to,from}bytes() on py3 · 854637e3d2d0
    Martin von Zweigbergk authored
    array.array.{to,from}string() still exists on py3, but they're
    deprecated and generate warnings.
    
    I've put the compat function in compat.pt for now. We can move into a
    dedicated pycompat.py if we end up with a lot of py3 compat stuff.
    854637e3d2d0