4 Mar
2000
4 Mar
'00
1:17 a.m.
ZPublisher will try the following methods to traverse an object, in this order:
[etc] One subtlety to be aware of is that __getitem__ seems to be called *after* acquisition is given a crack for reasons that elude me. Since I've never been able to get an explanation of how to use __getattr__ without blowing up the acquisition machinery, this makes __bobo_traverse__ the only foolproof way that I know of for hooking traversal. Someone please correct me if I am wrong. -jfarr ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hi! I'm a signature virus. Copy me into your .sig to join the fun! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~