Skip to content

py3 issue in emitter.py #118

Closed
Closed
@cmbant

Description

The code at https://github.com/yaml/pyyaml/blob/master/lib/yaml/emitter.py#L614 does not appear to be py3 compatible, giving errors like

TypeError: ord() expected string of length 1, but int found

when called on a string containing an extended character like "<".

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions