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

Tempfile #31

Merged
merged 2 commits into from
Apr 1, 2014
Merged

Tempfile #31

merged 2 commits into from
Apr 1, 2014

Conversation

dimatura
Copy link
Contributor

@dimatura dimatura commented Apr 1, 2014

Using 'temp.png' and 'temp.txt' in the TextClip may cause race conditions when multiple scripts are in the same directory. The tempfile module in the standard library provides a secure and portable way to create temporary files that avoids this problem.

@Zulko
Copy link
Owner

Zulko commented Apr 1, 2014

Thanks ! I didn't know about this module. Makes life easier indeed.

Zulko added a commit that referenced this pull request Apr 1, 2014
@Zulko Zulko merged commit 14d638e into Zulko:master Apr 1, 2014
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.

None yet

2 participants