In fsspec/core.py , the OpenFile and OpenFiles context managers have resource-leak bugs when errors occur…
In fsspec/core.py , the OpenFile and OpenFiles context managers have resource-leak bugs when errors occur…: a task in harness-adapters: Agentic coding environments (Harbor dataset). Work in /workspace . Submit your fix in Python source files under fsspec/core.py . Preserve the other public…
The task
Work in `/workspace`. Submit your fix in Python source files under `fsspec/core.py`. Preserve the other public behavior. The environment is offline; dependencies are preinstalled. Grading runs the relevant repository tests in a fresh environment, using your submitted source files.
Part of harness-hub/harness-adapters.