Skip to content

SyntaxWarning due to comparison of literals using is #122

@tirkarthi

Description

@tirkarthi

elif encoding is 'bytes':

This happens during setup.py installation in python 3.8

build/bdist.linux-x86_64/egg/cryptoconditions/crypto.py:33: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif encoding is 'bytes':

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions