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

Re: Python policy update

On su, 2003-08-24 at 08:38, Joe Wreschnig wrote:
> On Sat, 2003-08-23 at 23:54, Donovan Baarda wrote:
> > The problem is, run pydance as any user with write permissions to
> > /usr/share/games/pydance, and the *.py's there will be compiled and
> > saved as *.pyc's using whatever version of python was used at the time.
> > When you de-install or purge pydance, the *.pyc's will be left behind.
> The only such user should be root, who shouldn't be running pydance
> anyway...

Not pydance in particular, perhaps, but this is a more general problem
with Python programs packaged in this way. My own package,
enemies-of-carlotta, has a program that root might very well want to run
(e.g., to list the users on a mailing list), and it would be bad for the
.pyc to be regenerated in this case for the wrong python version. I
haven't a solution for this right now.


Reply to: