-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Some objects might represent integers, and implement basic arithmetic operations with integers (+1 and //2) through https://docs.python.org/3/reference/datamodel.html#emulating-numeric-types
While they are not python numbers, they could still be paired with this library.
E.g. objects representing database columns, futurized integer results, arbitrary formula engines, etc, etc.
Simply removing the integer cast in the pairing function should do the trick.
The usage should be documented to call the pairing function with the safe=False flag, since depairing will generally be not possible.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels