Re: [Zope-dev] Python 2.0

2000-07-24 Thread Jeff K. Hoffman
checked, Python 1.5.2 was the newest stable release, with 1.6 being under development. 1.7 due out by the end of the year, and Python 3000 being a redesign from the ground up. Is there a 2.0 somewhere that I don't know about? Toby Dickenson [EMAIL PROTECTED] --Jeff --- Jeff K. Hoffman

Re: [Zope-dev] Python 2.0

2000-07-24 Thread Jeff K. Hoffman
. That clears it up. Thanks. Anthony --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technology Officer mailto:[EMAIL PROTECTED] Going Virtual, L.L.C. http://www.goingv.com

[Zope-dev] default__class_init__

2000-07-19 Thread Jeff K. Hoffman
Hello, Should I call default__class_init__ on all of my Python products that care about permissions? Or are there some times when it is not required? --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technology Officer mailto:[EMAIL PROTECTED

[Zope-dev] The Application object

2000-07-17 Thread Jeff K. Hoffman
.), but need a way to do it given no references. I need something like: import AppSingleton app = AppSingleton.Instance() app.Control_Panel.blah --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technology Officer mailto:[EMAIL PROTECTED

RE: [Zope-dev] The Application object

2000-07-17 Thread Jeff K. Hoffman
__init__, or __setstate__, where we do not have a physical location in the ZODB, yet. I just need a reference to the app object. I know the answer has to be simple, but I can't find it. --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technology Officer

Re: [Zope-dev] The Application object

2000-07-17 Thread Jeff K. Hoffman
('newId', ob) # Do I need a get_transaction().abort() here? Will that not abort # the wrong transaction? app._p_jar.close() ... This gives you all kinds of benefits like undo and elimination of threading conflicts. [snip] Good stuff. Thanks, Shane. Shane --Jeff --- Jeff K

Re: [Zope-dev] adding attributes to a python product

2000-06-29 Thread Jeff K. Hoffman
have the new attribute. __setstate__ can check for the existance of new attributes, and create them with sane defaults in older versions of the instance." Thanks for any help. Hope this helps. --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technolo

Re: [Zope-dev] Unit testing an application's user interface

2000-06-29 Thread Jeff K. Hoffman
TITLEZope/TITLE /HEAD BODY BGCOLOR="#FF" The value of foo is bar. /BODY /HTML Andrew Hope this helps, --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief