Just a quick note while I'm reading the code and deeply enough in it:
It seems that _added_during_commit is not needed anymore. At the time
it was introduced,
http://cvs.zope.org/ZODB3/ZODB/Attic/Connection.py.diff?
r1=1.114.2.5&r2=1.114.2.6
the add() method didn't also _register its objects,
Package "depth" has no impact on performance (at least that I've
noticed). It's almost certainly not the primary reason for any given
Python program to be slow. I'd like to read that blog entry to see
if that person knows more than I do.
As far as eggs go, AFAIK, package depth is not real
Hi!
Somewhere I have red (in a blog) comparing java and python. If I
remember well the main reason to write that was the Boa (?) constructor
written by java programmers...
So: It states that Python packages should be as flat as possible (use
less names in the namespace (?)), since the name s
See the egg intro doc at http://peak.telecommunity.com/DevCenter/
PythonEggs .
Maybe the best example of using eggs as packaging units is in
TurboGears. You can see it in action by installing it.
- C
On Jan 23, 2006, at 9:32 AM, Chris Withers wrote:
Jim Fulton wrote:
2. I think a real
Jim Fulton wrote:
2. I think a real packaging system, like eggs would have helped here.
Eggs in particular would have allowed multiple versions of
zope.interface
to be installed. Zope would have gotten the version it needed and ZODB
would have gotten the version it needed. (Hm, maybe