[PATCH] Re: offlineimap.version is no more.

Thomas Schwinge thomas at schwinge.name
Tue Jan 25 18:10:03 GMT 2011


Hallo!

On Tue, 25 Jan 2011 18:57:00 +0100, Nicolas Sebrecht <nicolas.s-dev at laposte.net> wrote:
> On Tue, Jan 25, 2011 at 12:22:26PM +0100, Thomas Schwinge wrote:
> > Apparently some folks still had a stale offlineimap/version.pyc file?
> 
> I wonder if we shouldn't remove all the *.pyc files while building from
> the makefile.

I'm not sure I understand correctly -- you mean removing all *.pyc files
before rebuilding anything else?

Doing so would defeat (one of) make's main purposes: only rebuild the
parts that need to be rebuilt (because their source files are more recent
than the transformed (compiled) ones).

On the other hand, make notoriously has a problem with disappearing
source files -- whereas the transformed files stay in place.  Which is
the issue we've seen here.  I think the appropriate fix is to take care
to remove any generated files when removing a source file.


Grüße,
 Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110125/7c360bf1/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list