Skip to content

Uncertainty parsing considerations #5

@MichaelTiemannOSC

Description

@MichaelTiemannOSC

Following up on hgrecco/pint#1797:

When interfacing with RESTful APIs, it can happen that we need to translate uncertain quantities to/from strings.

I, too, had the idea of simplifying the task of parsing '+/-' as unicode "±" but decided not to because the Python tokenization library treats unknown characters as ERRORTOKEN, which did not seem like a place to go.

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