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

Georg Brandl g.brandl at gmx.net
Sat Feb 2 18:52:11 CET 2008


Christian Heimes schrieb:
> 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?

No, but Python looks for modules with the extension ".py" and not ".py3".

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-3000 mailing list