Skip to content

pystring_fast_new should probably be an unsafe fn #177

@davidhewitt

Description

@davidhewitt

The is_ascii parameter to pystring_fast_new is used to skip encoding utf8 properly and could lead to nasty data corruption if the string actually is not ascii. This should almost certainly be unsafe fn given users have to uphold the invariant.

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