UMDLARS / dtanm

A framework to teach adversarial thinking to software developers without requiring any special security knowledge
3 stars 2 forks source link

Replace use of tempfile.mktemp() with tempfile.TemporaryFile() or tempfile.mkstemp() #106

Closed ChandlerSwift closed 3 years ago

ChandlerSwift commented 4 years ago

mktemp() is deprecated.

ChandlerSwift commented 4 years ago

Work on this started in b553ad2295d4f32d7a5b500b7796eae2084ada03.

ChandlerSwift commented 3 years ago

Update: TemporaryFile() gives a file-like object, not a path! This broke things (fixed in 01ee730aaf60a7e367775ce30f668b864181efb5). Be careful, @ChandlerSwift!