Skip to content

[Regression] Can no longer retrieve None without raw=True #167

@NovaNekmit

Description

@NovaNekmit

It used to work with a previous version, but doesn't work anymore.

None can still be put inside, but getting it out (without raw) will get stuck ie here.

Not sure what would be best, there are couple options:

  • Use an exception instead of "special return values" to signal no object
  • Use an unique object internally in place of None, ie NO_OBJECT = object()
  • Add raw=False to put and raise an warning when None inside unless it is set (to notify developers)
  • Leave as is and hope developers notice this API change and find out to use raw by themselves

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions