Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix python implementation pickling #91

Merged
merged 7 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/frozendict/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
c_ext = True
del _frozendict
except ImportError:
from .core import *
from ._frozendict_py import *
c_ext = False

from .version import version as __version__
Expand Down Expand Up @@ -47,8 +47,8 @@ def default(self, obj):
if c_ext:
__all__ = (frozendict.__name__, )
else:
__all__ = core.__all__
del core
__all__ = _frozendict_py.__all__
del _frozendict_py

# TODO deprecated, to remove in future versions
FrozenOrderedDict = frozendict
Expand Down
Loading