The kitchen sink of Python utility libraries for doing "stuff" in a functional way. Based on the Lo-Dash Javascript library.
1.28k
stars
89
forks
source link
Unexpected difference in path behavior for set_() when accessing attribute of object #213
Closed
pveierland closed 5 months ago
Hello,
Thank you for a great library!
I came across a discrepancy when using the set_ function where using a string path and a list path behaves differently:
The expected behavior would be for
a.x
to equal{'a': {'b': 1}, 'y': {'z': 1 }}
in the end.Note that this issue does not occur when accessing e.g. a dict directly: