Skip to content

Investigate suspicious use of object.__setattr__ #3512

@stephenworsley

Description

@stephenworsley

As mentioned here #3511 (comment) , there are a handful of cases where object.__setattr__() are used which appear dubious and could potentially be changed as part of removing Python 2 (or as part of generally improving code):

object.__setattr__(self, name, self[index])

object.__setattr__(self, name, value)

object.__setattr__(self, name, value)

object.__setattr__(self, name, value)

These could be worth investigating to see how legit they are.

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleA stale issue/pull-request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions