Re: [Zope] zopectl does not terminate

2009-03-18 Thread Chris Withers
Tres Seaver wrote: - abort the current transaction - sync its database connection (to pick up the changed objects) I'm pretty sure the abort has done the sync for quite some time now... Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope] zopectl does not terminate

2009-03-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: Tres Seaver wrote: - abort the current transaction - sync its database connection (to pick up the changed objects) I'm pretty sure the abort has done the sync for quite some time now... Nope, see:

[Zope] Question about InvariantsValidator on a GroupForm (z3c.form)

2009-03-18 Thread Oliver Roch
Hi all, i'm having a problem getting an InvariantsValidator working on a grouped form using z3c.form. Imagine the following setup: class GroupOne(Group): fields = Fields(IMyForm).select('second_attribute', 'third_attribute') class GroupTwo(Group): fields =

Re: [Zope-dev] [zope.testbrowser] r84900

2009-03-18 Thread Christian Theune
Malthe, On Mon, 2009-03-09 at 19:57 +0300, Malthe Borch wrote: Code snippet: def open(self, url, data=None): See zope.testbrowser.interfaces.IBrowser url = str(url) This string coercion is unfortunate, because ``mechanize`` accepts a (mechanize-) request-object in

Re: [Zope-dev] [zope.testbrowser] r84900

2009-03-18 Thread Malthe Borch
2009/3/18 Christian Theune c...@gocept.com: Did this get resolved by any means? As it didn't spur any discussion at all, you might want to at least file a bug tracker issue for that problem. It has now been filed as https://bugs.launchpad.net/zope3/+bug/344680. \malthe

Re: [Zope-dev] SVN: zope.component/trunk/ Merge the 'tseaver-wo_zope_deferredimport' branch:

2009-03-18 Thread Christian Theune
Hi, On Tue, 2009-03-10 at 04:18 +0300, Dan Korostelev wrote: 2009/3/5 Martijn Faassen faas...@startifact.com: Chris Withers wrote: Martijn Faassen wrote: I think we can only make the correct determination if we get an idea of the performance implications. If it turns out the C code

Re: [Zope-dev] ZPT attributes and

2009-03-18 Thread Christian Theune
On Tue, 2009-03-10 at 10:50 -0400, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Malthe Borch wrote: 2009/3/10 Fred Drake fdr...@gmail.com: The change would need to be in zope.tal. True. I'm ambivalent; while it makes sense to me in isolation, the affect on

Re: [Zope-dev] ZPT attributes and

2009-03-18 Thread Malthe Borch
2009/3/18 Christian Theune c...@gocept.com: I'm not sure how to time the move, though.  One option would be to release a bugfix with the option as non-default and a feature release with the option as default. That's a good approach. What kind of configuration should enable it; an environment

Re: [Zope-dev] ZPT attributes and

2009-03-18 Thread Christian Theune
On Wed, 2009-03-18 at 10:55 +0300, Malthe Borch wrote: 2009/3/18 Christian Theune c...@gocept.com: I'm not sure how to time the move, though. One option would be to release a bugfix with the option as non-default and a feature release with the option as default. That's a good approach.

Re: [Zope-dev] zope.password

2009-03-18 Thread Christian Theune
On Wed, 2009-03-11 at 17:27 +0100, Martijn Faassen wrote: Hi there, Stephan Richter wrote: [snip] In my opinion going for an extra here just to avoid this is speculating a bit too much right now. Do we really have users that want to use zope.password and really don't want zope.component

Re: [Zope-dev] ZPT attributes and

2009-03-18 Thread Malthe Borch
2009/3/18 Roger Ineichen d...@projekt01.ch: This means to me that an empty value for id or name doen't start with [A-Za-z] and is invalid because is must start with [A-Za-z]. or not? Correct, but should enforce these requirements? I think ZPT should just have predictable, expected behavior,

Re: [Zope-dev] ZPT attributes and

2009-03-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roger Ineichen wrote: Hi Malthe Betreff: [Zope-dev] ZPT attributes and Currently, if an attribute expression evaluates to any value that's boolean False, it's omitted (e.g. 0, , object()). I think that's unexpected. Instead, attributes

Re: [Zope-dev] zope.password

2009-03-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian Theune wrote: On Wed, 2009-03-11 at 17:27 +0100, Martijn Faassen wrote: Hi there, Stephan Richter wrote: [snip] In my opinion going for an extra here just to avoid this is speculating a bit too much right now. Do we really have users

Re: [Zope-dev] ZPT attributes and

2009-03-18 Thread Roger Ineichen
Hi Malthe Betreff: [Zope-dev] ZPT attributes and Currently, if an attribute expression evaluates to any value that's boolean False, it's omitted (e.g. 0, , object()). I think that's unexpected. Instead, attributes should only be omitted when the expression evaluates to ``None``. I

Re: [Zope-dev] ZPT attributes and

2009-03-18 Thread Roger Ineichen
Hi Tres Betreff: Re: [Zope-dev] ZPT attributes and -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roger Ineichen wrote: Hi Malthe Betreff: [Zope-dev] ZPT attributes and Currently, if an attribute expression evaluates to any value that's boolean False, it's omitted

[Zope-dev] Zope Tests: 6 OK

2009-03-18 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Tue Mar 17 12:00:00 2009 UTC to Wed Mar 18 12:00:00 2009 UTC. There were 6 messages: 6 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Tue Mar 17 21:23:50 EDT 2009 URL:

Re: [Zope-dev] XML-RPC does not work under the paster process

2009-03-18 Thread Michael Haubenwallner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Haubenwallner wrote: When using paste.httpserver instead of twisted.wsgi server zope.publisher.xmlrpc.XMLRPCRequest.processInputs() hangs when reading 0 Bytes from the request (wsgi.input socket._fileobject object). As i found the

Re: [Zope-dev] Windows binary egg for zope.interface 3.5.1?

2009-03-18 Thread Hanno Schlichting
Hi. Chris Withers wrote: Got zope.interface 3.5.1. Any chance someone could roll and release a Windows binary egg for this? I just uploaded binary Windows eggs for Python 2.4, 2.5 and 2.6. Hanno ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope-dev] XML-RPC does not work under the paster process

2009-03-18 Thread Roger Ineichen
Hi Michael Betreff: Re: [Zope-dev] XML-RPC does not work under the paster process -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Haubenwallner wrote: When using paste.httpserver instead of twisted.wsgi server zope.publisher.xmlrpc.XMLRPCRequest.processInputs() hangs when

Re: [Zope-dev] ZPT attributes and

2009-03-18 Thread Fred Drake
On Wed, Mar 18, 2009 at 7:59 AM, Roger Ineichen d...@projekt01.ch wrote: As far as I know it is valid to skip attributes for empty values but for some attributes it is not valid to use empty values. Let's not use the term valid in this context, as it's pretty overloaded here. In the general

Re: [Zope-dev] zope.password

2009-03-18 Thread Shane Hathaway
Christian Theune wrote: I remember that at the sprint we used to identify packages which are always good. E.g. zope.interface is a declared no-brainer to add to your dependencies. The other two that keep popping up that we *might* wanna white-list are zope.schema and zope.component. To

Re: [Zope-dev] ZPT attributes and

2009-03-18 Thread Marius Gedminas
On Wed, Mar 18, 2009 at 07:31:36AM -0400, Tres Seaver wrote: Roger Ineichen wrote: Hi Malthe Betreff: [Zope-dev] ZPT attributes and Currently, if an attribute expression evaluates to any value that's boolean False, it's omitted (e.g. 0, , object()). object() is true in boolean