Skip to content

Incorrect information about option default_encoding of ConfigObj #256

@northbear

Description

@northbear

This parameter is always set either to 'None' or to an explicitly defined value.
The docs says If its value is None, then sys.defaultencoding is used instead. In the first place the module 'sys' doesn't provide none property none function with name defaultencoding. It has only function sys.getdefaultencoding(). In the second, it the value set to 'None' explicitly, the data actually are written with encoding ascii despite a default encoding provided by sys is utf-8:

Image

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