2009-09-20 20:46:17 Nirbheek Chauhan napisał(a): > On Sun, Sep 20, 2009 at 11:57 PM, Arfrever Frehtes Taifersar Arahesis > <arfre...@gentoo.org> wrote: > > There is a difference between Python scripts and Python modules. > > > > Yes, I'm well aware of the difference between them. > > [snip] > > Python modules shouldn't have shebang. Python modules are intended to > > be imported from Python scripts or other Python modules. Any shebang > > in a Python module is ignored, when this module is imported using 'import' > > statement. > > > > You forget that the search path for both installs is different, and > hence modules installed for python-3 cannot be found/used by scripts > using python-2; which results in the dependency hell; which was the > basis for my whole argument.
When both Python 2 and Python 3 are installed, then Python modules, which support both Python 2 and Python 3, are automatically installed for both Python 2 and Python 3. -- Arfrever Frehtes Taifersar Arahesis
signature.asc
Description: This is a digitally signed message part.