Yes, I don't think it's relevant to optimize install/uninstall code in Python. In the whole PEP 376 proposal, the only part that will need care will be the code that browses sys.path. On Fri, May 15, 2009 at 9:50 AM, Dirkjan Ochtman <dirkjan at ochtman.nl> wrote: > 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 > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: http://mail.python.org/mailman/options/python-dev/ziade.tarek%40gmail.com > -- Tarek Ziadé | http://ziade.org
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4