Skip to content

api breakage use_ipython vs include_ipy #1120

@laf0rge

Description

@laf0rge

Daer cmd2 developers,

I'm the author of a python program that uses cmd2. Users have recently reported breakage as the following commit breaks API compatibility, apparently without any attention to backards or forward compatibility:

commit 2397280cad072a27a51f5ec1cc64908039d14bd1
Renamed use_ipython keyword parameter of cmd2.Cmd.__init__() to include_ipy.

How are application developers supposed to deal with this? Check for the cmd2 version at runtime and then call cmd2.Cmd.init() with different kwargs?

I appreciate that the new name may be more appropriate than the old one, but changes like this make the life of application developoers using cmd2 definitely harder. It might be worth considering this for similar future situations.

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