Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Open
pyjsorg opened this Issue · 0 comments

1 participant

@pyjsorg
Owner
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: http://code.google.com/p/pyjamas/issues/detail?id=702 (March 15, 2012 12:44:51)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.