Evan Simpson wrote:
scott kaplan wrote:
Hi all, I have an odd question about acquistion, it has to do with acquiring anything that starts with an underscore. Can anyone explain this to me. (I understand w/ inheritance of names that start with one underscore the name is changed to privitize the variable, but this seems different)
It is. Acquisition doesn't work on names starting with an underscore; They're considered private.
However, you can acquire them with the aq_acquire method: x.aq_acquire('_spam') You can't do this from DTML however. Jim -- Jim Fulton mailto:jim@digicool.com Technical Director (888) 344-4332 Python Powered! Digital Creations http://www.digicool.com http://www.python.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.