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
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
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
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
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
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
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
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
.), 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
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
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
11 matches
Mail list logo