def frame_parser(version=None, kind=0, extensions=None, protocols=None,
                 pyparser=False):
    version = get_version(version)
    Parser = FrameParser if pyparser else CFrameParser
    # extensions, protocols
    return Parser(version, kind, ProtocolError, close_codes=CLOSE_CODES)
renamed field name
dataset/ETHPy150Open quantmind/pulsar/pulsar/utils/websocket.py/frame_parser--crossover with--dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/test_base.py/SwaggerBaseTestCase.test_field_rename