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
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/private/tmp/toto/venv/lib/python2.7/site-packages/flatdict.py", line 27, in __init__self.__setitem__(key, value[key])
File "/private/tmp/toto/venv/lib/python2.7/site-packages/flatdict.py", line 70, in __setitem__
value = FlatDict(value, self._delimiter)
File "/private/tmp/toto/venv/lib/python2.7/site-packages/flatdict.py", line 27, in __init__self.__setitem__(key, value[key])
[… truncated …]
File "/private/tmp/toto/venv/lib/python2.7/site-packages/flatdict.py", line 22, in __init__super(FlatDict, self).__init__()
RuntimeError: maximum recursion depth exceeded while calling a Python object
Tested with Flatdict 1.1.1 and Python 2.7.9.
If this can help you I recently released a similar library, flatkeys, and I worked around the maximum recursion depth limit by removing any recursion and using a stack instead.
The text was updated successfully, but these errors were encountered:
Test:
gives:
Tested with Flatdict 1.1.1 and Python 2.7.9.
If this can help you I recently released a similar library, flatkeys, and I worked around the maximum recursion depth limit by removing any recursion and using a stack instead.
The text was updated successfully, but these errors were encountered: