Skip to content

AttributeError: type object 'Queue' has no attribute 'Empty'. Did you mean: 'empty'? #35

@mjfwest

Description

@mjfwest

in compat.py you are importing the Class Queue from the module Queue

    from queue import Queue as Queue

in


you are looking for the exception Queue.Empty from the module Queue not the Class Queue

This will give the exception AttributeError: type object 'Queue' has no attribute 'Empty'. Did you mean: 'empty'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions