Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Make temp file creation Windows compatible #18

Merged
merged 2 commits into from
Jun 28, 2018

Conversation

kaste
Copy link
Contributor

@kaste kaste commented Jun 27, 2018

On Windows the temp file must be closed, otherwise mypy can't open it again.
Unfortunately, we then loose the nice to read with sugar and obviously
must call os.remove manually.

This is on top of #17 bc I had no way to test this otherwise.

On Windows the temp file must be closed, otherwise mypy can't open it again.
Unfortunately, we then loose the nice to read `with` sugar and obviously
must call `os.remove` manually.
@ambv ambv merged commit 028a697 into ambv:master Jun 28, 2018
@jamesmyatt jamesmyatt mentioned this pull request Jun 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants