[Python-3000] [Python-ideas] Namespaces are one honking great idea -- let's do more of those!

Christian Heimes lists at cheimes.de
Sat Feb 2 22:15:59 CET 2008


Georg Brandl wrote:
> No, but Python looks for modules with the extension ".py" and not ".py3".

Python should still use the .py, .pyc and .pyo extensions for Python
3.0. I'm proposing a different extension for entry points to programs -
the Python file that starts a program and contains the if __name__ ==
"__main__" magic.

Do you suggest to drop the py extension and use py3 for all python files?

Christian



More information about the Python-3000 mailing list