Changes in / [399f02e:4d8e0bb] in sasmodels


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kerneldll.py

    r9b71c30 r7e16db7  
    198198        source = generate.convert_type(source, dtype) 
    199199        fd, filename = tempfile.mkstemp(suffix=".c", prefix=tempfile_prefix) 
    200         with open(filename, "w") as file: 
     200        with os.fdopen(fd, "w") as file: 
    201201            file.write(source) 
    202         os.close(fd) 
    203202        compile(source=filename, output=dll) 
    204203        # comment the following to keep the generated c file 
Note: See TracChangeset for help on using the changeset viewer.