Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Affix string without parameters still overwrites Affix constructor's default values #51

@aaaaalbert

Description

@aaaaalbert

I'm writing an Affix component that should have its optional_args set to some default values. When I build the stack from an Affix string with no arguments like so,

server_affix_object = AffixStackInterface("(MakeMeHearAffix)")

then MakeMeHearAffix's constructor is called with an empty list for the optional_args, thus overwriting my default values. Clearly, I can work around this and set the defaults to be active if [] is passed in place of proper optional arguments, but I would prefer that the familiar Pythonic way Just Worked (TM).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions