We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
with
1 parent 81fc5a1 commit dd4da6cCopy full SHA for dd4da6c
1 file changed
setup.py
@@ -1732,7 +1732,8 @@ def configure_ctypes(self, ext):
1732
return False
1733
1734
fficonfig = {}
1735
- exec open(ffi_configfile) in fficonfig
+ with open(ffi_configfile) as f:
1736
+ exec f in fficonfig
1737
1738
# Add .S (preprocessed assembly) to C compiler source extensions.
1739
self.compiler_obj.src_extensions.append('.S')
0 commit comments