Skip to content

Python 3 incorrectly reports __iter__ atribute. #11869

@JacobSmall

Description

@JacobSmall

Dynamo version

2.11

Operating system

Win 10

What did you do?

Ran this graph (remove the .txt extension), which passes a single item of various data types into both the Python 2 and Python 3 engine, to test if the object contains an __iter__ attribute.
Python Iter attr issue.dyn.txt

What did you expect to see?

Consistent results in Python 2 and Python 3, showing a 'false' result for most code.

What did you see instead?

Incorrect results for the Python 3 engine for strings and geometry, as shown in this gif:
Python Iter attr issue

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