[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Correct location of .py and .pyc files



Terry Hancock writes:
> On Monday 17 November 2003 09:22 am, Florent Rougon wrote:
> > Josselin Mouette <josselin.mouette@ens-lyon.org> wrote:
> > > Le dim 16/11/2003 à 11:34, Matthias Klose a écrit :
> > >> There is no reason why /usr/share/<module> should be disallowed.
> > >
> > > That depends on whether .pyo files really are architecture-independent.
> > > At least the generated files are different on different architectures.
> > 
> > Do you have a reference for this? I googled a little bit but did not
> > find any reliable source for this information. In fact, the Python (2.3)
> > tutorial implies the contrary (for the current optimizer, not as an
> > atemporal guarantee, though):
> 
> The auxilliary files that Python generates such as .pyc / .pyo
> are not intended to be relied on to be portable. This is
> not so much a problem with architectures, but it is a very
[...]

you miss the point. the question is about difference between
architectures within the same python version.



Reply to: