Skip to content

None is passed to the ext handler #1

Open
@bbjubjub2494

Description

@bbjubjub2494

When a Packer instance has an ext handler and it is passed None, it passes it to said handler instead of turning it into "\xc0" like it should. Same when None is inside an array. This doesn't happen when unpacking, when there is no handler, or with any other value AFAICT.

I reproduced it on Travis on all Pythons: https://travis-ci.org/lourkeur/libmpack-python/builds/229764123

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