Skip to content

Python 3.14: ConfigParser InvalidWriteError when creating ~/.goad/goad.ini #510

Description

@mhdbaselar

GOAD fails on Python 3.14 when creating ~/.goad/goad.ini:

configparser.InvalidWriteError: Cannot write key ...; contains delimiter :

goad/config.py stores comment lines as ConfigParser keys. Python 3.14
rejects those keys because they contain :.

Suggested fix in create_config_file():

config = configparser.ConfigParser(allow_no_value=True, delimiters=("=",))

This allows GOAD to write the existing semicolon-prefixed comment lines.

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