Georg Brandl wrote:
> I would prefer a "python3" alias analogous to the current "python" alias,
> at least as long as Python 2.x is still in wide use.
> 
> Having to type "python3.0" explicitly strikes me as unnecessarily verbose.

+1

> As for module file name extensions, what speaks against allowing (not
> mandating) "py3" for Python 3.x modules?

File extensions are only important on Windows. Or does anybody know a
system which starts scripts based on the extension like Windows does?

I see two ways to solve the program for Windows:

*  register additional file extensions for each Python version
   like .py26, .pyw26 (for pythonw.exe), .py30 etc.

* Write a wrapper for Windows which inspects the first line of
  a script, searches for "#! ... python2.6" or "#!python26" and
  starts the right interpreter.

Christian

_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to