def set_bigcharset(self, ctx):
        raise NotImplementationError("_sre.py: set_bigcharset, array not implemented")
        # <BIGCHARSET> <blockcount> <256 blockindices> <blocks>
        char_code = self.char
        count = ctx.peek_code(1)
        ctx.skip_code(2)
        if char_code < 65536:
            block_index = char_code >> 8
            # NB: there are CODESIZE block indices per bytecode
            a = array.array("B")
            a.fromstring(array.array(CODESIZE == 2 and "H" or "I",
                    [ctx.peek_code(block_index // CODESIZE)]).tostring())
            block = a[block_index % CODESIZE]
            ctx.skip_code(256 // CODESIZE) # skip block indices
            block_value = ctx.peek_code(block * (32 // CODESIZE)
                    + ((char_code & 255) >> (CODESIZE == 2 and 4 or 5)))
            if block_value & (1 << (char_code & ((8 * CODESIZE) - 1))):
                return self.ok
        else:
            ctx.skip_code(256 // CODESIZE) # skip block indices
        ctx.skip_code(count * (32 // CODESIZE)) # skip blocks
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/_sre.py/_CharsetDispatcher.set_bigcharset/original