Skip to content

Refactoring causing RecursionError #96

Closed
@MarcoGorelli

Description

@MarcoGorelli

Hi,

I tried using Sourcery to refactor some of the pandas code, and it suggested a refactoring which caused a RecursionError:

-        for i in range(len(self)):
-            yield self[i]
+        yield from self

See pandas-dev/pandas#37581

Flagging this up in case it's useful to you

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnext releaseThis will be fixed in next release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions