Skip to content

Dictionary keys can be forzenset  #14

@Agent-Hellboy

Description

@Agent-Hellboy
>>> l = ["Geeks", "for", "Geeks"]
>>> s=frozenset(l) 
>>> s
frozenset({'for', 'Geeks'})
>>> dict={1:'a',2:{s:'frozenset'}}
>>> from trace_dkey import trace
>>> trace(dict,p)
[]

this should return [2,s]
but this is very tricky as frozenset are ast.Call object [<ast.Call object at 0x7fafe8919d90>]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions