[Python-Dev] PEP 376 : Changing the .egg-info structure

Dirkjan Ochtman dirkjan at ochtman.nl
Fri May 15 09:50:13 CEST 2009


On Fri, May 15, 2009 at 8:32 AM, Jeroen Ruigrok van der Werven
<asmodai at in-nomine.org> wrote:
> Agreed. Within FreeBSD's ports the installed package registration gets a MD5
> hash per file recorded. Size is less interesting though, since essentially
> this information is encapsulated within the hash. Remove one byte from the
> file and your hash is already different. And the case of a collision for
> this kind of registration is sufficiently small to need the size
> information.

Size is nice because it's much cheaper to check. I don't know if mass
uninstalls will be so common that this is actually something we have
to worry about, though.

Cheers,

Dirkjan


More information about the Python-Dev mailing list