generators not working
Open
type-bug
- Dominant language
- Python
- Stars
- 521
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 35
Description
#### ALL software version info
Software Version Info
```plaintext
python 3.11.9
param 2.2.0
```
#### Description of expected behavior and the observed behavior
should print `g`
#### Complete, minimal, self-contained example code that reproduces the issue
```python
def g():
while True: yield 'g'
import param
class P(param.Parameterized):
p = param.String(allow_refs=True)
p = P(p=g)
#print(next(g()))
print(p.p) # nothing prints
```
Contributor guide
Assessment
This issue has not been assessed yet.