Skip to content

Use NamedTemporaryFile instead of .inTer1, 2, 3#19

Merged
dniloash merged 5 commits intodniloash:masterfrom
epn09:temp_file
Nov 17, 2025
Merged

Use NamedTemporaryFile instead of .inTer1, 2, 3#19
dniloash merged 5 commits intodniloash:masterfrom
epn09:temp_file

Conversation

@epn09
Copy link
Copy Markdown
Contributor

@epn09 epn09 commented Nov 10, 2025

Currently the library uses .inTer1, .inTer2, .inTer3 as temporary intermediate files. However, it causes problems when multiple programs using pywinter are run in parallel in the same working directory. I think that using NamedTemporaryFile is better.

@dniloash
Copy link
Copy Markdown
Owner

You right, this could be better. thanks

delete_on_close is not valid parameter for NamedTemporaryFile
edit elif condition style for Geo01
Avoid temp files accumulation
Copy link
Copy Markdown
Owner

@dniloash dniloash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Temp Files modification

@dniloash dniloash merged commit fc3e36c into dniloash:master Nov 17, 2025
@epn09 epn09 deleted the temp_file branch November 18, 2025 22:36
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