Skip to content

pytave dict hacking #492

Open
Open
@cbm755

Description

@cbm755

Current implementation may not work correctly if only some of the values are SymPy objects

  • confirmed
  • make test for that

Also, dicts with SymPy object values but string keys would not be helped by current implementation (?)

  • is that statement true?
  • make test for that
  • Here's one possibility:
    1. for every dict, we want to convert any keys that are SymPy objects to strings.
    2. for every dict, we want to convert any keys that are SymPy objects to sym.
  • There is also the question of what to do in the future when dicts stay as @pyobject: perhaps we ignore this until then?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions