Skip to content

Flatbuffer structs have very strict typing #8

Closed
@NicEastvillage

Description

@NicEastvillage

The recent optimizations/rewrites resulted in stricter typing, which is uncharacteristic for Python.

For example, the following

controller.throttle = 1

results in this error:

TypeError: argument 'throttle': 'int' object cannot be converted to 'PyFloat'

while this works, of course:

controller.throttle = 1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions