Martin Aspeli | 1 Nov 2009 04:30
Picon

Re: proposal: Custom schema properties

Adam Groszer wrote:
> Hello,
> 
> After quickly glancing over plone.behavior it seems more like
> something to extend a schema, and does it solve the problem of "new
> properties -- new schema -- change everything around it"?
> 
> What I need is to be able to change schema properties per site. And
> skipping the need to fix the forms or whatever concerned with that
> changed schema.

I'm not sure I really understand your problem (from reading the original 
email), but I maybe offer a few suggestions.

plone.behavior is a way to create re-usable chunks of functionality. A 
behavior may or may not include a schema with form fields, and/or an 
adapter factory. When the behaviour is "enabled" for an instance (how it 
is enabled is application-specific: in Plone/Dexterity we list enabled 
behaviours against each content type), it will be possible to adapt an 
instance to the behaviour interface, and to look up the schema interface 
for form rendering, say.

There is also a package called plone.autoform, which provides a base 
class for z3c.form-type forms and enables schemata to be self-describing 
(e.g. "this field goes before that field", or "this field is only shown 
if the user has this permission"). plone.autoform interprets these 
"schema hints" to set up a suitable form.

Now, in Dexterity (a content type framework for Plone) we use 
plone.autoform in such a way that standard add/edit forms are 
(Continue reading)

Zope Tests Summarizer | 1 Nov 2009 13:59
Picon

Zope Tests: 7 OK, 1 Failed

Summary of messages to the zope-tests list.
Period Sat Oct 31 13:00:00 2009 UTC to Sun Nov  1 13:00:00 2009 UTC.
There were 8 messages: 8 from Zope Tests.

Test failures
-------------

Subject: FAILED (failures=1) : Zope-2.12-alltests Python-2.4.6 : Linux
From: Zope Tests
Date: Sat Oct 31 21:51:55 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-October/012931.html

Tests passed OK
---------------

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Sat Oct 31 21:45:54 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-October/012928.html

Subject: OK : Zope-2.11 Python-2.4.6 : Linux
From: Zope Tests
Date: Sat Oct 31 21:47:55 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-October/012929.html

Subject: OK : Zope-2.12 Python-2.4.6 : Linux
From: Zope Tests
Date: Sat Oct 31 21:49:55 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-October/012930.html

(Continue reading)

Andreas Jung | 1 Nov 2009 14:09

Re: Zope Tests: 6 OK, 2 Failed

Am 31.10.09 18:53, schrieb Tres Seaver:
> Zope Tests Summarizer wrote:
> > Summary of messages to the zope-tests list.
> > Period Fri Oct 30 13:00:00 2009 UTC to Sat Oct 31 13:00:00 2009 UTC.
> > There were 8 messages: 8 from Zope Tests.
>
>
> > Test failures
> > -------------
>
> > Subject: FAILED (failures=1) : Zope-2.12-alltests Python-2.4.6 : Linux
> > From: Zope Tests
> > Date: Fri Oct 30 21:52:06 EDT 2009
> > URL: http://mail.zope.org/pipermail/zope-tests/2009-October/012923.html
>
> I can't reproduce this failure when running the Acquisition 2.12.4 tests
> with Python 2.4 on my machine.
>
I can reproduce this error with Python 2.4 on 64 bit Linux.

However I would not care much about it since 2.4 is basically unsupported.

I am going one step further and propose to support officially only
Python 2.6
(and inofficially Python 2.5). Why? Right now it is possible writing
Zope 2.12
compatible add-ons that might use Python 2.6 feature. Another using running
Zope w/ Python 2.5 or 2.4 will not be able to run this particular
add-on. So I am inclined to limit the official support to Python 2.6 only.

(Continue reading)

Martijn Pieters | 1 Nov 2009 14:43
Gravatar

Re: Zope Tests: 6 OK, 2 Failed

2009/10/31 Tres Seaver <tseaver <at> palladion.com>:
> I can't reproduce this failure when running the Acquisition 2.12.4 tests
> with Python 2.4 on my machine.

This is python 2.4 on 64-bit linux. I bet it's because of:

  typedef int Py_ssize_t;

and sys.maxint overflows to -1 with that definition. I suspect that
all open-ended slicing ops in Python C extensions are borken in python
2.4, because it doesn't have Py_ssize_t.

--

-- 
Martijn Pieters
_______________________________________________
Zope-Dev maillist  -  Zope-Dev <at> zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Lennart Regebro | 2 Nov 2009 08:37
Favicon

A note on the PyCon Program committee.

I was on the PyCon-PC this and last year. Unfortunately, I had less
time this year, and the workload was higher, and the time shorter, so
they were forced to have many meetings in the middle of the night, my
time. So I spend way too little time on it. That pretty much meant
that the only other guy doing Zope on the program PC is Brandon, and
he is a busy guy too.

The result of this was that yesterday it looked like almost no Zope
talks would be accepted, because during the last weeding out of talks
(there was WAY too many really good talks this year) they all ended up
in different groups, and got voted out. This is mainly because those
who did the grouping didn't understand that talks about to various
Zope-related technologies like Repoze, BFG and the component
architecture are at least somewhat related, so they ended up in
different groups, and then they don't understand why things like
component architectures are important, so the talks get voted out.

I was unfortunately on a Plane during the last meeting yesterday, back
home from the PloneConf, so I wasn't on that meeting, but what I
gather from todays emails and the stats on the talks site, the
situation has been ameliorated, so there will be at least some Zope
talks, I think. But it was a close call.

What to do? Easy: We need more people from the Zope community on the
PyCon program committee. Next year, when the talks for 2011 gets
decided, there seriously have to be more Zope people in the PC,
especially people in US timezone and involved with or closely
following all the new things that's happening. The Zope community is
pushing a lot of the development in the Python world and is continuing
to be the source of much innovation, we shouldn't let that run out in
(Continue reading)

Zope Tests Summarizer | 2 Nov 2009 13:59
Picon

Zope Tests: 7 OK, 1 Failed

Summary of messages to the zope-tests list.
Period Sun Nov  1 13:00:00 2009 UTC to Mon Nov  2 13:00:00 2009 UTC.
There were 8 messages: 8 from Zope Tests.

Test failures
-------------

Subject: FAILED (failures=1) : Zope-2.12-alltests Python-2.4.6 : Linux
From: Zope Tests
Date: Sun Nov  1 20:52:01 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012939.html

Tests passed OK
---------------

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Sun Nov  1 20:46:01 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012936.html

Subject: OK : Zope-2.11 Python-2.4.6 : Linux
From: Zope Tests
Date: Sun Nov  1 20:48:01 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012937.html

Subject: OK : Zope-2.12 Python-2.4.6 : Linux
From: Zope Tests
Date: Sun Nov  1 20:50:01 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012938.html

(Continue reading)

Chris McDonough | 2 Nov 2009 14:44
Favicon
Gravatar

Re: A note on the PyCon Program committee.

Lennart Regebro wrote:
> The result of this was that yesterday it looked like almost no Zope
> talks would be accepted, because during the last weeding out of talks
> (there was WAY too many really good talks this year) they all ended up
> in different groups, and got voted out. This is mainly because those
> who did the grouping didn't understand that talks about to various
> Zope-related technologies like Repoze, BFG and the component
> architecture are at least somewhat related, so they ended up in
> different groups, and then they don't understand why things like
> component architectures are important, so the talks get voted out.

It would be unfortunate if talks about the framework that seems to generate the 
majority of traffic on the various RSS planets, and has arguably the largest 
*committer* community was omitted due to reviewer fiat.

> I was unfortunately on a Plane during the last meeting yesterday, back
> home from the PloneConf, so I wasn't on that meeting, but what I
> gather from todays emails and the stats on the talks site, the
> situation has been ameliorated, so there will be at least some Zope
> talks, I think. But it was a close call.

Excellent, thank you, thank you, Lennart.

> What to do? Easy: We need more people from the Zope community on the
> PyCon program committee. Next year, when the talks for 2011 gets
> decided, there seriously have to be more Zope people in the PC,
> especially people in US timezone and involved with or closely
> following all the new things that's happening. The Zope community is
> pushing a lot of the development in the Python world and is continuing
> to be the source of much innovation, we shouldn't let that run out in
(Continue reading)

Chris Withers | 2 Nov 2009 17:03
Picon

Re: Zope Tests: 6 OK, 2 Failed

Andreas Jung wrote:
> I am going one step further and propose to support officially only
> Python 2.6

I thought that was Zope 2.13 with Zope 2.12 as a transition?

> (and inofficially Python 2.5). Why? Right now it is possible writing
> Zope 2.12
> compatible add-ons that might use Python 2.6 feature. Another using running
> Zope w/ Python 2.5 or 2.4 will not be able to run this particular
> add-on. So I am inclined to limit the official support to Python 2.6 only.

I'm +0 on this, fwiw...

Chris

--

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk
_______________________________________________
Zope-Dev maillist  -  Zope-Dev <at> zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Hanno Schlichting | 2 Nov 2009 17:34
Picon
Gravatar

Re: Zope Tests: 6 OK, 2 Failed

On Sun, Nov 1, 2009 at 2:09 PM, Andreas Jung <lists <at> zopyx.com> wrote:
> I am going one step further and propose to support officially only
> Python 2.6
> (and inofficially Python 2.5). Why? Right now it is possible writing
> Zope 2.12
> compatible add-ons that might use Python 2.6 feature. Another using running
> Zope w/ Python 2.5 or 2.4 will not be able to run this particular
> add-on. So I am inclined to limit the official support to Python 2.6 only.

+1

For Plone 4 we will only support Python 2.6 and already make use of
2.6 features in a number of places.

Hanno
_______________________________________________
Zope-Dev maillist  -  Zope-Dev <at> zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Charlie Clark | 2 Nov 2009 19:49
Picon

Re: A note on the PyCon Program committee.

Am 02.11.2009, 14:44 Uhr, schrieb Chris McDonough <chrism <at> plope.com>:

> It's "who you know", not "what you know" unfortunately, even in open  
> source, as
> much as we like to believe in meritocracy.

Arguably even more so in open source - egos matter. Anyway we did some  
evangelizing of BFG at the Plone Conference and I'm going to do my best to  
make sure the Zope is better represented at next year's Europython.

Charlie
--

-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
_______________________________________________
Zope-Dev maillist  -  Zope-Dev <at> zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Gmane