summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py2/IPython/testing/ipunittest.py
diff options
context:
space:
mode:
authorgrigoriypisar <[email protected]>2026-06-19 18:12:40 +0300
committergrigoriypisar <[email protected]>2026-06-19 18:48:44 +0300
commitf22cb4f1cf790cf78e6f371b74760591d731c096 (patch)
treef8900f14d00a76f9915105885f78994ef6de856a /contrib/python/ipython/py2/IPython/testing/ipunittest.py
parenta97476cf18fa23f84909e72697c1e3921345e455 (diff)
fixed Yield generation in switch
Now the Switch can put into result a Yield without receiving a Yield from the input, which causes the DQ compute actor to hang if: * All the input channels have run out of space * There is an empty buffer in all output channels. In this case, terminating the TaskRunner call with the status of PendingInput causes it to hang. #### Fixed Yield generation logic in switch operator ✎ - Replaced deprecated status tracking with explicit finish flag for better control flow - Updated yield and finish detection logic to properly handle stream termination conditions - Simplified state management by removing redundant status assignments and improving conditional checks - Ensured correct yield generation based on stream completion status rather than outdated flags <a href="https://nda.ya.ru/t/qa0kX64r7DqvtN"><font size="2">Autodescription by Yandex Code Assistant</font></a> commit_hash:ff476352ebe39ac6796cd501c62bbb1a178bd2fd
Diffstat (limited to 'contrib/python/ipython/py2/IPython/testing/ipunittest.py')
0 files changed, 0 insertions, 0 deletions