On Thursday 11 September 2003 03:03, John Barratt wrote:
> I think ghosts
> are only 'removed' after a restart,
fyi, ghosts are removed from memory using reference counting.
--
Toby Dickenson
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.
Chris Withers wrote:
/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/TAL/TALGenerator.py:870:
DeprecationWarning: Space separated attributes in i18n:attributes are
deprecated (i18n:attributes="value title"). Please use semicolon to
separate attributes (i18n:attributes="value; title").
Come on!
On Thursday 11 September 2003 08:40, Chris Withers wrote:
> Someone must have written this code!
Godefroid was working on this. There are not many other people who could have
done that either.
> What does it mean and what should it be changed to?
I think the test must be updated.
Regards,
Ste
John Barratt wrote:
docs = container.portal_catalog(meta_type='Document', ...)
for doc in docs:
obj = doc.aq_parent.unrestrictedTraverse(doc.getPath())
was_ghost = obj._p_changed is None
value = obj.attr
if was_ghost:obj._p_deactivate()
Bear in mind though, that you can only do this
On Wed, Sep 10, 2003 at 09:50:51PM -0400, Tres Seaver wrote:
> For the filesystem representation: what if we just have two files for
> templates with libraries: 'foo.html' and 'foo.html.py'? Tools will
> like that better than either of the approaches which try to preserve the
> twins as a single
Stephan Richter wrote:
What does it mean and what should it be changed to?
I think the test must be updated.
Arg! I know that!
From what to what?!
As usual with deprecation warnings, the error is next to useless...
"File None at row, column (1, 0) "
...very helpful.
Anyone have any idea where the
Michael Long wrote:
After some further investigation I have found that a product that I am
developing is causing the error to appear. The product appears to work
fine in zope. I can add it, create objects with it and the objects are
persistent. Can someone give me some advice on how to go about deb
Tres Seaver writes:
> Actually, the restricted case is the one which has the real win; the
> "free-floating" library is pretty, but not semanticaally needed. An
> added argument: a ZPT with its own private library becomes, in effect,
> a Zope3 view component; adopting such beasts will ease
Chris Withers wrote:
John Barratt wrote:
docs = container.portal_catalog(meta_type='Document', ...)
for doc in docs:
obj = doc.aq_parent.unrestrictedTraverse(doc.getPath())
was_ghost = obj._p_changed is None
value = obj.attr
if was_ghost:obj._p_deactivate()
Bear in mind though,
--On Thursday, September 11, 2003 10:08:23 -0400 "Fred L. Drake, Jr."
<[EMAIL PROTECTED]> wrote:
Tres Seaver writes:
> Actually, the restricted case is the one which has the real win; the
> "free-floating" library is pretty, but not semanticaally needed. An
> added argument: a ZPT with it
On Wed, 2003-09-10 at 23:46, Evan Simpson wrote:
> Tres Seaver wrote:
> > Actually, the restricted case is the one which has the real win; the
> > "free-floating" library is pretty, but not semanticaally needed. An
> > added argument: a ZPT with its own private library becomes, in effect,
> > a
Tres Seaver wrote:
Hmm, I'm thinking about this for the CMF. In CMF 1.3.x, a template
which has a cache manager, or a title, puts those values in a simple
'name=value'-formatted file, with extension '.properties'. Permission
mappings go in a separate file, with extension '.security'.
I wish I had
...can anyone else confirm this?
It doesn't appear to ever find any tests.
How should it be used? (just to check I'm doing the right thing...)
cheers,
Chris
PS: CC'ing Jeremy in since he's the last person to touch test.py...
___
Zope-Dev maillist -
What's the latest word on mixing new-style classes and Persistence? I'm
finding type subclassing to be extremely useful in PythonLibraries, but
so far I'm only using them for non-persistent objects. For part of what
I'm doing, though, it would be nice to be able to chuck the old
PersistentLis
[Toby Dickenson]
>> You get a ReadConflictError when loading an object if it has been
>> modified since the start of the transaction. This exception
>> therefore becomes increasingly likely as time progresses since the
>> start of the transaction.
[Chris Withers]
> What's the thing Zope Corp are t
15 matches
Mail list logo