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

Python version of emacs-pager #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Python version of emacs-pager #6

wants to merge 3 commits into from

Conversation

gkeramidas
Copy link

It was easier for me to write a Python version that ensures the temp file is always deleted, even if we just happen to exit the scope where it gets opened because of an exception.

Giorgos Keramidas and others added 3 commits March 18, 2015 22:02
Using the "with tempfile() as f" construct ensures that the
temp file is not left around, even if we exit the scope that
uses it because of a keyboard interrupt or other exception.
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

1 participant