diff options
author | Peter Scheibel <scheibel1@llnl.gov> | 2024-10-21 11:44:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-21 18:44:28 +0000 |
commit | 275d1d88f40c348c1eaf07f8941592b2fa373ce6 (patch) | |
tree | b2618e9e5060cd2cb25b3dd12459580912f87ac7 /var | |
parent | a07d42d35bacf721616b45466ce1227c47cb1618 (diff) | |
download | spack-275d1d88f40c348c1eaf07f8941592b2fa373ce6.tar.gz spack-275d1d88f40c348c1eaf07f8941592b2fa373ce6.tar.bz2 spack-275d1d88f40c348c1eaf07f8941592b2fa373ce6.tar.xz spack-275d1d88f40c348c1eaf07f8941592b2fa373ce6.zip |
avoid double closing of fd in sub-processes (#47035)
Both `multiprocessing.connection.Connection.__del__` and `io.IOBase.__del__` called `os.close` on the same file descriptor. As of Python 3.13, this is an explicit warning. Ensure we close once by usef `os.fdopen(..., closefd=False)`
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions