Changeset 399f02e in sasmodels


Ignore:
Timestamp:
May 25, 2016 2:41:35 PM (9 years ago)
Author:
bmaranville <brian.maranville@…>
Parents:
4d8e0bb (diff), 9b71c30 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge 9b71c308baffcc13205c7e2d87e5e36f14a74ced into 4d8e0bbc5f6ee67809ded1ae0b47bcf2f870a160

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kerneldll.py

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