Re: [Zope-dev] Python 2.0

2000-07-24 Thread Jeff K. Hoffman
h. I had looked on python.org and found nothing, but this explains why. That clears it up. Thanks. > Anthony --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technology Officer mailto:[EMAIL PROTECTED] Going Virtua

Re: [Zope-dev] Python 2.0

2000-07-24 Thread Jeff K. Hoffman
ge collection? Huh? What? Last I 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 > [EMA

[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

RE: [Zope-dev] The Application object

2000-07-17 Thread Jeff K. Hoffman
latile. Each instance of MyClass should have its own instance of myAttr2; a class attribute would not give the desired semantics. I wish it were that easy. Thanks, --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technology Officer mailto:[EMA

RE: [Zope-dev] The Application object

2000-07-17 Thread Jeff K. Hoffman
stance of a ZClass. Therefore, I need to get at Control_Panel. Hope this helps. Now I'm going to try Shane's wacky __of__ idea. :-) --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technology Officer

Re: [Zope-dev] The Application object

2000-07-17 Thread Jeff K. Hoffman
On Mon, 17 Jul 2000, Shane Hathaway wrote: > "Jeff K. Hoffman" wrote: > > > Do I need to commit or abort even if I don't make changes to the > > application object? The only thing I need it for is to get to the > > Control_Panel; I am instantiating Z

Re: [Zope-dev] The Application object

2000-07-17 Thread Jeff K. Hoffman
e undo and elimination of > threading conflicts. [snip] Good stuff. Thanks, Shane. > Shane --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technology Officer mailto:[EMAIL PROTECTED] Going Virtual, L.L.C. http://www.g

RE: [Zope-dev] The Application object

2000-07-17 Thread Jeff K. Hoffman
But, this does not work from methods like __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

[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] Unit testing an application's user interface

2000-06-29 Thread Jeff K. Hoffman
thon (www.python.org) Content-Length: 607 Content-Type: text/html Zope The value of foo is bar. ____________ >>> > Andrew Hope this helps, --Jeff --- Jeff K. Hoffman

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

2000-06-29 Thread Jeff K. Hoffman
instances of that product will not 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