(the BTrees tests are
kinda very dense), I am not too keen to go touch this, but I think this
should read:
def _p_resolveConflict(self, old, s1, s2):
s1['value'] += s2['value'] - old['value']
return s1
Martijn Pieters, up to his armpits in conflict resolution code
Tim Peters wrote:
You haven't seen this fail, you're _deducing_ that it must fail, right?
Deducing indeed...
Don't overlook this other Length method:
def __getstate__(self):
return self.value
That is, when a Length instance is asked for its state, it returns an
integer.
/ as was required before.
Should I file a collector item on this?
/RPC2/ was never requered before; that URI is a convention used by Frontier
(the first server to implement XML-RPC) and possibly other XML-RPC
implementations, but never by Zope.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL
all
lists this morning.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org/
-
___
Zope-Dev maillist - [EMAIL
lists still uses the old mailman version (see my
reply to the original message). This will be switched over in due time
showing the full list again. Sorry about the inconvenience.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators
mailman version. These lists will be migrated as well, and the page will be
switched to show the new mailman version lists list (try saying that 20
times fast).
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http
PROTECTED]
(forwarded to [EMAIL PROTECTED]). I have seen numerous 'increase website traffic'
spams explicitly mentioning /Examples URLs around the net.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org
of the directly-HTML-generating
python code to be shot without trial.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org
available.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org/
-
___
Zope-Dev maillist - [EMAIL PROTECTED]
http
at night of course.
Mea Culpa!
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org/
-
___
Zope-Dev maillist
cvs.zope.org now runs on ViewCVS 0.9.2, and I enabled CVSGraph (watch out,
big images!) and database query support. Head on over and play around with
the new look and features!
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators
Sorry for the spam that snuck through; we had memory problems on the mail
server and the spam handling facilities were temporarily off-line.
--
Martijn Pieters
| Software Engineer mailto:mj;zope.com
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org
directory should not be configurable through the web. Rather, use
an environment variable. Only one directory is needed, as files that need to
be accessible can be copied or symlinked.
--
Martijn Pieters
| Software Engineer mailto:mj;zope.com
| Zope Corporation http://www.zope.com/
| Creators
on
large files, I would need considerable justification for not using sorted
ranges. If you use Zope 2.4, then you are probably experiencing one of the
above mentioned bugs.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope
recommended!
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org/
-
___
Zope-Dev maillist - [EMAIL PROTECTED
as 'not a bug'?
Together with the autoquoting changes, I tightened Exception messages; data
from REQUEST is quoted where I could reasonably suspect REQUEST data was
used.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope
sounding 'hacker alert' alarm bells suggests to me that you dont really
believe that ;-)
Again, the wide scope of DTML use would make such bells warble prematurely
all too often. The normal, recommended fix for the general weakness is to
always use HTML quote.
--
Martijn Pieters
| Software Engineer
to exploit the weakness,
not in normal operation of the site.
I'll leave any decisions on wether or not this stays in the current release
cycles or moves to 2.7 to Jim Fulton. He is unfortunately on cvacation until
next week.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope
that is more generaly
configurable and useable.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org/
-
___
Zope-Dev
through other ways than
string methods.
Because of size of the change and the impact on existing DTML code, well
release betas of Zope 2.5 and 2.6 soon to facilitate wider testing. For
those following CVS, please test the changes rigorously and let me know what
you find.
--
Martijn Pieters
On Thu, Aug 01, 2002 at 10:46:44AM -0400, Martijn Pieters wrote:
I am about to land some big changes in the way DTML deals with data taken
from the REQUEST object when accessed implicitly, in both the Zope Trunk
and the Zope 2.5 branch. These changes could potentially break existing
Zope
that breakage only occurs when REQUEST data actually contains
possibly dangerous markup, and your site was vulnerable in those areas that
now break. Disabeling the tainting will leave you vulnerable.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http
can test for a specific list method.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org/
-
___
Zope-Dev
On Thu, Jul 11, 2002 at 04:10:33PM -0400, Shane Hathaway wrote:
Python scripts provide a special function, same_type(), for this
purpose. Example:
if same_type(s, ''):
s = [s]
Much better than my hacked-up solution. :p
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED
On Thu, Apr 25, 2002 at 06:02:19PM +0200, Lennart Regebro wrote:
I want a *good* mail program. :-/
I can recommend Mutt. ;)
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org
. With the flexibility and dynamic runtime nature of Python, i wonder
how hard it would be to update a running server.
Head over to [EMAIL PROTECTED] and help out then; the effort to build a new
zope.org is already well under way.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED
, doesn't it ? Or will there be
another way ?
No, the validation methods take into account that class members of an
implementation will have a self-referential first argument. Detecting if an
implementation is a class is trivial.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED
as the windows problem is resolved.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org/
-
___
Zope-Dev maillist
, the changes are in 2.5.0b3 as well (check the CHANGES.txt file when in
doubt :)).
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org
attached the versions
for a Zope 2.4.x installation, just drop them in the correct places in your
current Zope setup.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org
CVS as a tarball. Just go to
http://cvs.zope.org/Zope/lib/python/RestrictedPython and use the link at the
bottom.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org
var by hand beforehand, I believe.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org/
-
___
Zope-Dev maillist
patches
and bug reports, especially if they are this detailed. Unfortunately, the
bug collector is down right now (Ken Manheimer is working very hard on a
replacement), but any suggestions are certainly still welcome, preferably to
the mailinglists.
--
Martijn Pieters
| Software Engineer mailto
investigating as to what
causes this.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org/
-
___
Zope-Dev maillist
on the Zope.org error page has long been
overdue for removal, especially since classic is now down. I have removed
the auto-generated link to it.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org
as to be expected; uninformed and unintelligent. And those
are the posts that get score 3 and up, I never read Slashdot posts below
that.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org
.
There is already a proposal for this:
http://dev.zope.org/Wikis/DevSite/Proposals/EncryptedUserfolderPasswords
You could, of course, create a counter proposal..
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http
back on the default, which is the path of the Version object
itself.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org
Collector at:
http://classic.zope.org:8080/Collector
Thanks!
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org
: ...
or something I think, but there isn't.
As soon as you press the 'join' button, Zope will send a 'Set-Cookie'
header.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org
On Fri, Jun 08, 2001 at 09:36:53AM -0400, Evan Simpson wrote:
From: Martijn Pieters [EMAIL PROTECTED]
REQUEST['SCRIPT_NAME'] is the root of the Zope server. In a pure ZServer
environment, this is '/'. In a situation where the Zope server is running
behind another webserver
On Fri, Jun 08, 2001 at 09:42:00AM -0400, Andreas Jung wrote:
On Fri, Jun 08, 2001 at 09:36:53AM -0400, Evan Simpson wrote:
From: Martijn Pieters [EMAIL PROTECTED]
REQUEST['SCRIPT_NAME'] is the root of the Zope server. In a pure
ZServer
environment, this is '/'. In a situation where
geeks think... The patent did not have anything to do
with Zope or Python at all. It didn't even have anything to do with
computers, unless you were about to dump your old 486 on the scapheap..
I reported the email to spamcop, to be garbage collected.
--
Martijn Pieters
| Software Engineer mailto
On Fri, Apr 20, 2001 at 07:43:54AM +0200, Martijn Pieters wrote:
So, the Zope 2.3 series has its own branch, called zope-2_3-branch. To
check out from that branch, add '-d zope-2_3-branch' to your checkout
command (I use the short 'co' for it):
% cvs -z7 -d :pserver:[EMAIL PROTECTED]:/cvs
, and the file is there. It has been
since 2.3.1 CVS - though the 2.3.1 tarball doesn't seem to have the module
either...
No it hasn't. It is in the trunk CVS, the 2.3 branch does not have the
WebDAV locks feature. Are you sure your CVS checkout is a branch checkout?
--
Martijn Pieters
| Software Engineer
the trunk! We will *very* soon be switching the trunk to requiring Python
2.1, and as you discovered, new features in the trunk will not be found in
current releases. That's why we use this system..
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http
of the netatalk package, more info at
http://rsug.itd.umich.edu/~tombeau/netatalk/) and I pealed of all the
layers. I attached a gzipped copy of the file (no tarbal needed, it is
only one file after all).
Hope this helps!
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital
dn't solve the problem in this
situation.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org/
-
___
Zope-Dev maillist
k
that either the 2.3.x line will switch to Python 2.1 now (and 2.3.3 is to be
released soon) or that no more development on the 2.3.x line will occur.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
. Currently the
page is so flat that it's even hard to tell which paragraph applies to which
Hotfix.
Have a look at http://www.zope.org/Products/Zope/hotfixes, I think it is
exactly what you need.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http
cares about editing the URL. :0
The correct URL is:
http://www.zope.org/Products/Zope
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org
out from under Ethan's feet..
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org/
-
___
Zope-Dev maillist
-Dev
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org/
-
___
Zope-Dev maillist - [EMAIL PROTECTED]
http
stancehome
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org/
-
___
Zope-Dev maillist - [EMAIL PROTE
?
What are you using the variable for?
If you want to reach the var, import or Extensions directories, use
INSTANCE_HOME, if you want to reach a Products directory, use both
variables.
On Debian systems, Zope is by default installed as a seperate
INSTANCE_HOME and SOFTWARE_HOME system.
--
Martijn
crap/b
b tal:replace="ui/sn"crap/b
b tal:replace="ui/cn"crap/b
/div
It will be much more readable, and it removes a layer of interpretation
too.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators
and I consider that as a bug. Could you someone file
a Collector issue?
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org
release ;-)
Probably because the fix was checked in *after* the 2.3.1b1 release. Steve
was pointing out tthat the fix is on the 2.3 branch, which means it will
be in the next 2.3 series release (likely to be 2.3.1).
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations
and locking extensively; but you said No WYSIWYG.. :)
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org
/
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org/
-
___
Zope-Dev maillist - [EMAIL PROTECTED]
http
On Mon, Feb 12, 2001 at 02:27:24PM +, Toby Dickenson wrote:
On Mon, 12 Feb 2001 10:27:02 +0100, Martijn Pieters [EMAIL PROTECTED]
wrote:
The ZODB will invalidate and force a retry on one of the connections.
Chris's code is threadsafe and will result in unique, sequential values
drop down to the
level of the python product (Possibly running in a different thread - or
something :( )
Have a look at: Control Panel - Debug Information. There is a 'Profiling'
tab that explains what you have to do to switch it on.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL
with the python interpreter. Read the documentation that comes
with the source distribution.
You can of course always add the line yourself.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org
with the python interpreter. Read the documentation that comes
with the source distribution.
You can of course always add the line yourself.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org
.
With bind bailing out, Zope.org won't accept new connections. Before the
refusal of connections, mail didn't work either, so all Tracker, Zope.org
registartion and review activities were broken.
bayMountain is working to resolve the problems.
--
Martijn Pieters
| Software Engineer mailto
Order or Delivery Note I create.
So,
1. views are not inherited, from one base class to a sub class?
2. Property Sheets do not mix up the properties defined in each class of
the class hierarchy, making able to edit them all in the same view?
Best regards, Erny
--
Martijn Pieters
or a decendant of HiperDom can be
used outside of Zope as an XML templating system, tough. I can't give you
anything more definite than that though, certainly no dates.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope
that...
Have you tried W3C's Amaya? I haven't tired it myself, but it should work
if you supply your own DTD that allows the DTML tags within a HTML page.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http
and other commercial software, and our services also come with
a price tag.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org
many arguments, am I
right?
I 'fixed' my version of the file ut someone with more nouse will need to check this
out.
Would this be better reported in the collector?
Reporting to the Collector is a good idea, especially if you can reproduce
the problem.
--
Martijn Pieters
| Software Engineer
talks to Zope via ZServer.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org/
-
___
Zope maillist - [EMAIL
://www.zope.org/Resources/MailingLists
I copied this reply there as well, so people can give you answers right
away.
Hope this helps!
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org
Doesn't every Zope site use ZServer? These statements always confuse me.
When I ./start zope aren't I starting ZServer?
You can also use PCGI to start a single threaded Zope without ZServer.
This used to be the only way in the olden days. Not many people use it
anymore.
--
Martijn Pieters
On Sat, Jan 20, 2001 at 04:33:44PM +0300, Oleg Broytmann wrote:
Little bug - if there is no items in a folder - there is no
"Import/Export" button. :) I have to create a dummy item to import a zexp.
How about clicking on the Import tab?
--
Martijn Pieters
| Software Engine
On Sat, Jan 20, 2001 at 08:46:54PM +0100, Martijn Pieters wrote:
On Sat, Jan 20, 2001 at 04:33:44PM +0300, Oleg Broytmann wrote:
Little bug - if there is no items in a folder - there is no
"Import/Export" button. :) I have to create a dummy item to import a zexp.
How abou
to your users and provided an
easy way to change a feature that they didn't like. I still use Office '95
at home 'cos that *^*ing paperclip proved so annoying ;-)
You *do* know you can switch the paperclip off, don't you? ;)
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital
.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org/
-
___
Zope maillist - [EMAIL PROTECTED]
http
of the
corrupted one, Zope still wouldn't start. I finally discovered that deleting
the .index file was what it took.
Ah, so there isn't a mechanism that detects invalid .index files. Maybe
this should be reported to the COllector, I am sure Jim can come up with a
solution.
--
Martijn Pieters
descision was made for you by using browser
sniffing (which isn't very reliable as many people use filtering proxies
these days).
Netscape 4 is just way broken. I suspect that is also why Netscape
sometimes doesn't render a page.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED
nal Method/DTML Method (whatever you prefer) called
currentPhoto or something that does the calculation for you and return the
correct object to the caller.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://ww
the same frame size. Many a
website at my previous employer had it's frames designed to acommodate for
this (especially when using bordelress frames).
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org
pane, the navigation menus will update. All JavaScript source
comments are in english, that's they way I worked.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org
idfferent section of the site, or when you
are using your browsers history function.
When a visitor with JavaScript switched off visits the site, navigation
still works. Only the highlighting will cease to support visitors in
keeping tab on where in the site they are.
--
Martijn Pieters
you need to fix that
too, by changing line 104 to read:
manage_editCatalogerForm=HTMLFile('dtml/editCatalogerForm', globals())
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org
,
goofy=regex.compile('[^a-zA-Z0-9_]').search
8--
Bingo. I checked this one in, and another for the new CatalogPathAwareness
mixin.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http
On Thu, Jan 11, 2001 at 10:26:18AM +, Chris Withers wrote:
Martijn Pieters wrote:
But because _v_* variables don't get pickled, another thread will never
see them.
Hmm, is there any situation where a single request can be handled by
more than one thread?
Nope.
--
Martijn
TER"
nbsp;
blah blah blah...
Are you sure your RewriteRule handles trailing slashes properly? I seem to
recall something about that... 't has been a while since I used PCGI.
--
Martijn Pieters
|
se a while ago?
http://www.zope.org/Members/mj/AllProds
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://ww
On Wed, Jan 10, 2001 at 04:13:49PM +, Chris Withers wrote:
Martijn Pieters wrote:
Erm. The ExtensionClass.stx documentation hints at a ComputedAttribute
class (but as an example of how you could use an ExtensionClass). The
current C implementation of ComputedAttribute is not, as far
ou inherit it from.
So:
class Foo:
def __setattr__(self, name, value):
# Whatever
pass
class Bar(Foo):
def __setattr__(self, name, value):
Foo.__setattr__(self, name, value)
# More whatever
--
Martijn Pieters
| Software Engineer mai
of protection).
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org/
-
___
Zope-Dev maillist - [EMAIL
.
But because _v_* variables don't get pickled, another thread will never
see them. If you want non-persisting (volatile) variables shared between
threads, you'll have to devise your own mechanism for assuring the
thread-safety of those variables.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL
On Mon, Jan 08, 2001 at 10:38:22PM +0100, Dieter Maurer wrote:
Martijn Pieters writes:
On Mon, Jan 08, 2001 at 10:10:34AM +, Chris Withers wrote:
You wouldn't need to have index_html = None if it is inherited, since
the inherited idnex_html would be used before one is acquired
What woudl you like to see when you click on manage?
What would you lceints liek to see?
If you check out Zope 2.3 from CVS now, you'll see that a great many
changes have been made to the Zope Management Interface, included some of
the changes you listed, like sorting.
--
Martijn Pieters
management access to your Zope server will be
able to install arbitrary products on your server and gain access to the
file system.
There is a strict dividing line between the file system and the ZMI,
allowing installation through the web interface will cross that line with
one giant step.
--
Martijn
What woudl you like to see when you click on manage?
What would you lceints liek to see?
If you check out Zope 2.3 from CVS now, you'll see that a great many
changes have been made to the Zope Management Interface, included some of
the changes you listed, like sorting.
--
Martijn Pieters
management access to your Zope server will be
able to install arbitrary products on your server and gain access to the
file system.
There is a strict dividing line between the file system and the ZMI,
allowing installation through the web interface will cross that line with
one giant step.
--
Martijn
index_html = None. DTML Methods and HiperDom templates do this as well,
for example.
--
Martijn Pieters
| Software Engineer mailto:[EMAIL PROTECTED]
| Digital Creations http://www.digicool.com/
| Creators of Zope http://ww
Or you could define a __getattr__ that does a lookup in a list for
explicetly acquired attributes:
_acquired = ('index_html', 'fred')
def __getitem__(self, key):
if key in self._acquired:
return self.aq_acquire(key)
raise AttributeError, name
--
Martijn
On Fri, Jan 05, 2001 at 12:22:32PM +, Chris Withers wrote:
Martijn Pieters wrote:
You could use ComputedAttribute for that:
class MyClass(Acquisition.Explicit):
# The following attribute is acquired transparently
def _acquired_your_attribute(self):
return
301 - 400 of 520 matches
Mail list logo