Skip to content

Type of get_filters functions changed from tuple to list #1249

@ffourcot

Description

@ffourcot

Hello,

I think that it is a good change since a list is easier to use at this place, but old pyroute returned before a tuple:

In [3]: IPRoute().get_filters(index=0)
Out[3]: ()

Now it's a list:

In [14]: IPRoute().get_filters(index=0)
Out[14]: []

I don't know if this is done on purpose. If yes, from my point a view, a simple "breaking change" in the changelog should be enough.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions