Skip to content

Frozendict is broken on Python 3.8, warns on 3.7 #25

Closed as not planned
Closed as not planned
@Zac-HD

Description

@Zac-HD

Closing because this repo is abandoned in favor of https://github.com/Marco-Sulla/python-frozendict


Hi! FYI, the following line is emitting deprecation warnings, and will break on Python 3.8:

class frozendict(collections.Mapping):

That's because all of the abstract base classes have been moved from collections in Python 2, to collections.abc in Python 3. The warning was added in python/cpython#5460. Could you try to import from collections.abc and fall back to the existing style?

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