Hopefully this is enough context for this question.
When I subclass Acquisition.Implicit or .Explicit, I find myself
losing the foo["item"] and foo[slice:slice] syntax. __getslice__ and
__getitem__ aren't affected.
When I don't subclass Acquisition, the [] syntax works fine.
I can get them
Andy McKay wrote:
| The ideal solution would be to use an object that lives in the ZODB,
| I wonder if there is a way to keep the 'object history' empty? That
| is, keeping the counter 'packed' while retaining 'object history'
| information on all other objects.
That would work,
Jonothan Farr wrote:
I've now added the ability to set the message to be sent back to the FTP
client on FTPResponse. The patch is attached. We'll be using it and I hope
that it, or something similar, makes it into the 2.3.1.
Try submitting it to the collector. It's likely to get lost on
[EMAIL PROTECTED] wrote:
I've now added the ability to set the message to be sent back to the FTP
client on FTPResponse. The patch is attached. We'll be using it and I hope
that it, or something similar, makes it into the 2.3.1.
Please, please, please put this in the collector :-)
I'd
Hi - let me preface this message by saying that I _thought_ I knew how
acquisition worked, but now I'm starting to doubt.
A simple enough scenario:
Python 1.5.2 (#1, Sep 30 2000, 18:08:36) [GCC 2.95.3 19991030
(prerelease)] on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum,
Steve Alexander wrote:
Michael R. Bernstein wrote:
File /home/webmaven/Products/ZPatterns/DataSkins.py, line 208, in
__set_attr__ (Object: ElementWithAttributes) KeyError: (see above)
What version of ZPatterns are you using?
0.4.3b2 on Zope 2.2.0
I certainly don't have the
Itai Tavor wrote:
Hi,
I got a ZClass 'Test', with a DTML Method 'view' containing dtml-var
id, and a DTML Document 'view2' with the same line. instance/view
works. instance/view2 returns (ZDebug output):
From SimpleItem.py:
"""Direct use of the 'id' attribute is deprecated - use
I have the following form action pythonscript:
req = context.REQUEST
context.propertysheets.info.manage_changeProperties(longdesc=req.form['longdesc'])
context.commitSubtransaction()
req.RESPONSE.redirect(req['URL1']+'/edit_longdescForm')
context is a DataSkin instance. When I submit the form,
Hi!
I just encountered another problem with ZPatterns (well not exactly with ZPatterns
but the way I use it.. ;-)
I have some Specialist with a normal rack which stores data persistently in the ZODB.
Everytime I am creating a new object I want to create an object of another specialist
on the