pulumi/sdk/python
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
..
cmd [sdk/python] Warn when a secret config is read as a non-secret (#7078) 2021-05-18 15:00:30 -07:00
dist Fix windows build 2020-12-07 15:58:30 -08:00
lib [sdk/python] Ensure Output objects are not iterable (#7288) 2021-06-15 09:25:24 +10:00
stubs Fix bug in semver usage by enabling typechecking (#6833) 2021-04-21 15:48:57 -04:00
.gitignore add .venv/ to python .gitignore to ignore when using PIPENV_VENV_IN_PROJECT=1 2019-06-19 12:43:04 -07:00
.pylintrc Support remote components in Python (#5375) 2020-09-30 14:09:20 -07:00
Makefile Remote component py SDK (#6715) 2021-04-15 14:49:51 -04:00
Pipfile [sdk/python] Fix linting errors due to missing types files (#7257) 2021-06-09 19:14:59 +03:00
mypy.ini Fix bug in semver usage by enabling typechecking (#6833) 2021-04-21 15:48:57 -04:00
python.go Avoid double-quailfying venv folder path (#6599) 2021-03-24 15:51:46 -04:00
python_test.go Update pip/setuptools/wheel in virtual environment (#5042) 2020-07-23 13:33:09 -07:00
shim_unix.go Add copyright notice 2020-12-07 14:17:45 -08:00
shim_windows.go Add copyright notice 2020-12-07 14:17:45 -08:00