pulumi/sdk/python/lib
Luke Hoban 965d23ba2a
[sdk/python] Ensure Output objects are not iterable (#7288)
Although `Output` objects can never correct support iteration, Python will see the implementation of `__getitem__` and try to iterate the object, leading to an infinite loop.  To prevent this, we need to explicitly implement `__iter__` and make it return a `TypeError` to prevent iteration (and offer a useful error message).

Fixes #5028.
2021-06-15 09:25:24 +10:00
..
pulumi [sdk/python] Ensure Output objects are not iterable (#7288) 2021-06-15 09:25:24 +10:00
test [sdk/python] Ensure Output objects are not iterable (#7288) 2021-06-15 09:25:24 +10:00
test_with_mocks Skip flaky python test (#7035) 2021-05-12 09:29:13 -07:00
setup.py [sdk/python] - Fix python lint errors (#6872) 2021-04-26 08:56:15 -07:00