Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tempfile.mkstemp for safer temp file creation #106

Merged
merged 3 commits into from
Jan 9, 2021
Merged

Use tempfile.mkstemp for safer temp file creation #106

merged 3 commits into from
Jan 9, 2021

Conversation

ergoithz
Copy link
Contributor

Few fixes:

  • Use tempfile.mkstemp for safer in_temp file creation, as it's safer and handles filename collisions.
  • Small cleanup.

@mpenkov mpenkov changed the title Use tempfile.mkstemp for safer in_temp file creation Use tempfile.mkstemp for safer temp file creation Jan 9, 2021
@mpenkov mpenkov merged commit 2959991 into piskvorky:master Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants