b"" destroys ability to use python2.5 #21

pyjsorg opened this Issue Apr 27, 2012 · 0 comments


None yet
1 participant

pyjsorg commented Apr 27, 2012

def getstate(self):
    Return the current state of the decoder.

    This must be a (buffered_input, additional_state_info) tuple.
    buffered_input must be a bytes object containing bytes that
    were passed to decode() that have not yet been converted.
    additional_state_info must be a non-negative integer
    representing the state of the decoder WITHOUT yet having
    processed the contents of buffered_input.  In the initial state
    and after reset(), getstate() must return (b"", 0).
    return (b"", 0)

Original issue: (March 15, 2012 12:44:51)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment