divaltor commented on code in PR #77020:
URL: https://github.com/apache/airflow/pull/77020#discussion_r4660260833
##########
task-sdk/src/airflow/sdk/execution_time/supervisor.py:
##########
@@ -1805,6 +1820,9 @@ def wait(self) -> int:
self._monitor_subprocess()
finally:
self.selector.close()
+ if self._gc_frozen:
+ gc.unfreeze()
Review Comment:
Yeah, thanks for finding this too. I ran tests locally with Python 3.13 so
this is why it didn't catch it, I was waiting for workflow approval from
maintainers so full tests could run.
In
[3.12](https://github.com/python/cpython/blob/v3.12.13/Modules/gcmodule.c#L426-L434)
they're introduced permanent GC, but few built-in types weren't tracking in GC
and they're fixed it in
[3.13](https://github.com/python/cpython/blob/v3.13.7/Objects/object.c#L2512-L2518).
Thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]