omz / Pythonista-Issues

Issue tracker for Pythonista (iOS)
169 stars 14 forks source link

Python 2 to 3 conversion should update the shebang #255

Open dgelessus opened 7 years ago

dgelessus commented 7 years ago

So the newly converted code automatically runs on Python 3 and not 2. It could also be useful to add a Python 3 shebang if there wasn't one before.

zrzka commented 7 years ago

Not sure if Pythonista should interfere here. If it's not added by modernize / 2to3, I think it's perfectly ok to not add it. Power user can add it and he knows what he is doing, common user have no idea what the shebang line is. @omz WDYT?

omz commented 7 years ago

I agree with @dgelessus that it would make sense to add it, though it's probably not that important, as Py3 is the default anyway.