You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.
Python dictionaries that use None as a key, cannot be serialised to transit.
The Clojure implementation in contrast, deals with nil as key without any issues.
The issue surfaced when reading and writing transit encoded EDN that works flawlessly with Clojure, but not Python. The original EDN includes maps which use nil as a key. This doesn't lead to any problems when processing the data with Clojure, but it does with Python.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Python dictionaries that use
None
as a key, cannot be serialised to transit.The Clojure implementation in contrast, deals with
nil
as key without any issues.Example and reproduction
Here is a minimal example:
It will throw this error:
Comment
The issue surfaced when reading and writing transit encoded EDN that works flawlessly with Clojure, but not Python. The original EDN includes maps which use
nil
as a key. This doesn't lead to any problems when processing the data with Clojure, but it does with Python.The text was updated successfully, but these errors were encountered: