Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

connection.py, line 201, array.fromstring has renamed to frombytes in python3.2 #17

@barrybaibai

Description

@barrybaibai

("/home/user_00/.local/lib/python3.9/site-packages/gearman/connection.py", line 201, in read_data_from_socketself._incoming_buffer.fromstring(recv_buffer) AttributeError: 'array.array' object has no attribute 'fromstring' )


ref: https://docs.python.org/3/library/array.html#array.array.fromstring
New in version 3.2: fromstring() is renamed to frombytes() for clarity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions