Skip to content

basestring is no longer supported in Python 3 #351

@julien10

Description

@julien10

Hi guys,

Here is an extract of Python 3.0's changelog:

The builtin basestring abstract type was removed. Use str instead. The str and bytes types don’t have functionality enough in common to warrant a shared base class. The 2to3 tool (see below) replaces every occurrence of basestring with str.

Could you please take care of this issue ?

if job_id is not None and isinstance(job_id, basestring):

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