Skip to content

docstrings.yml contains non-ASCII characters and config.py may fail to read it #185

@srhouyu

Description

@srhouyu

When the default system encoding is not UTF-8 ( My Windows is GBK ), config.py will fail to read docstrings.yml.

with open(os.path.join(__resources_path__, 'docstrings.yml')) as ymlfile:

I think encoding='utf8' can be added to open().

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