Skip to content

crash when tring to replace None value in a list #92

@martinResearch

Description

@martinResearch

a={}
dpath.util.new(a, ['b'], [])
dpath.util.new(a, ['b',3], 5)
dpath.util.new(a, ['b',1,"c"], 5)

creates error invalid literal for int() with base 10: 'c' lin 32 oin path.py ( result.append([path[-1], cur[int(path[-1])].class]))

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions