You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to lack of __iter__ implementation, Python is attempting to iterate over _Callable when possible. It's generally an undesired behavior, given the purposes of the _Callable class.
You can easily reproduce the issue:
[*__import__("lambdas")._]
Implementation
That should be a no-brainer to fix and write tests for.
class _Callable:
__iter__ = None
The text was updated successfully, but these errors were encountered:
Problem
Due to lack of
__iter__
implementation, Python is attempting to iterate over_Callable
when possible. It's generally an undesired behavior, given the purposes of the_Callable
class.You can easily reproduce the issue:
Implementation
That should be a no-brainer to fix and write tests for.
The text was updated successfully, but these errors were encountered: