Is PY patching a problem (esp. on Windows)
Steve Holden
sholden at holdenweb.com
Thu Jan 16 18:39:42 EST 2003
"Dennis Reinhardt" <DennisR at dair.com> wrote in message
news:zQAV9.95$TW3.13205669 at newssvr17.news.prodigy.com...
> > Just remove all your pyc files as part of the update/install process.
> That is another work-around for PY <-> PYC out of date.
>
> >You shouldn't ship pyc's anyway.
> The scenario I constructed was the simplest possible update, PY files
inside
> a ZIP file. In such case, I think the PYC needs to be shipped in order to
> overwrite what is on the user system.
>
That won't fl;y if the Python version isn't compatible: the .pyc file format
changes witht he virtual machine bytecodes, you know.
> In general, yes, it is highly desirable to ship PY or PYC files, but not
> both.
>
?
> > I occasionally go through and wipe out all my py[co] files
> I find I do it often just to reduce file clutter in my development
> directories. It would sure be nice to have a way to avoid generating them
> in the first place.
regards
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/pwp/
Bring your musical instrument to PyCon! http://www.python.org/pycon/
More information about the Python-list
mailing list