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

Update Python.gitignore to include .bak files created by 2to3 #1448

Closed
wants to merge 1 commit into from

Conversation

gambl
Copy link

@gambl gambl commented Mar 24, 2015

The standard Python distribution's 2to3 tool migrates code from Python 2 to Python 3.
The tool will create files with the extension '.bak' when run with -w argument, which appears to be fairly standard usage.

For example:

2to3 -w test.py

will produce:

test.py.bak

The Python distribution's 2to3 tool will create .bak files when run with -w argument, which appears to be fairly standard usage.
@arcresu
Copy link
Contributor

arcresu commented Mar 31, 2015

It seems to me that it would be a bad idea to have these .bak files hanging around indefinitely. Once you've verified that the automatic conversion was reasonable, you'd delete the files. They aren't going to keep reappearing. So thanks, but I think it's at best unnecessary and at worst encouraging a bad pattern to make this addition.

@arcresu arcresu closed this Mar 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants