hink what we're angling for is some way to register everything in a
certain directory as resources with one directive.
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
On Wed, Feb 15, 2006 at 12:44:36PM -0500, Benji York wrote:
> Paul Winkler wrote:
> >I have to explicitly register every one of my skin's 35 resources?
>
> If the 35 resources (files) are in the same directory you can use the
> resource directory ZCML directive. Or am I m
ery far), J2EE doesn't, Rails doesn't,
DJango doesn't, Subway doesn't, and *none of them envy us for it*.
Maybe they are right not to?
I know that if a user writing a script could import and call anything,
he could elevate his permissions and get access to previously-den
ong, I didn't look at everything.
It's still in need of attention from some more knowledgable folks...
even five minutes could make a difference.
-PW
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http:
On Thu, Feb 16, 2006 at 12:31:46PM -0500, Paul Winkler wrote:
> On Thu, Feb 16, 2006 at 01:19:38AM -0700, Jeff Shell wrote:
> > Am I the only person who uses apidoc to look up what can be done with
> > ZCML?
>
> I dunno if it's just me, but http://localhost:8080/++apidoc
xed-platform environments.
The StringTemplate guy has an interesting take on
templating and model/view separation:
http://www.cs.usfca.edu/~parrt/papers/mvc.templates.pdf
Particularly the stuff about the five rules implied by
strict model-view separation.
--
Paul Winkler
http://www.slinkp.com
, on the other hand, can be much much faster
than ZPT.
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
quot; directive...
I'll see if I can get to this during the pycon sprint :)
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
opens up, developers are going to
> demand more templating choices like Kid, Cheetah, Meld3, etc...
... clearsilver, stringtemplate, lxml.etree.XSLT...
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: ht
if we're voting, I'm +0.
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
On Fri, Feb 17, 2006 at 10:14:50PM -0600, whit wrote:
> Paul Winkler wrote:
> >+1. The killer moment for me with ZClasses was when I realized
> >I wanted to convert one to a filesytem Product and that meant
> >I had to literally throw away everything and start from sc
ogress on these.
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
ons, just as Zope 2 itself will be getting incrementally better
and cleaner. We'll have to address deprecation warnings at each
upgrade, but at no point will we be forced to do a complete rewrite.
And along the way, we'll be gradually getting access to more and more
nifty featur
OK, we now have two more packages separated:
http://svn.zope.org/zope.deprecation
http://svn.zope.org/zope.testing
As before, if you have existing trunk checkouts, you
may need to make clean before you can successfully update.
Local changes in those packages will also block updates.
--
Paul
FYI, this is the cause of some intermittent buildbot test failure
messages while we move stuff around. We're keeping an eye on these.
Currently looks OK.
On Mon, Feb 27, 2006 at 06:56:38PM -0600, Paul Winkler wrote:
> OK, we now have two more packages separated:
>
> http:
oday, more tomorrow.
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
On Mon, Feb 27, 2006 at 09:24:49PM -0500, Stephan Richter wrote:
> On Monday 27 February 2006 16:56, Paul Winkler wrote:
> > At pycon we have just moved zope.interface
> > into a separate project (in preparation for eggification).
> > It's now a separate project
On Sat, Mar 04, 2006 at 12:38:38AM +0100, Thomas Lotze wrote:
> What was the reason for choosing these and not choosing others?
Minimal dependencies.
We thought we should start with easier packages.
--
Paul Winkler
http://www.slinkp.com
___
Zo
se they target different audiences.
I started writing some suggested principles but I don't want
to start another cycle of repetitious debate on that topic;
I'd first rather see some more feedback on the principles you suggested
so far.
--
Paul Winkler
http://www.slinkp.com
___
your new work can
cleanly leverage the old.
Put another way, if we consider Jim's first two audiences, how do we
teach a single person to move from "i don't want to have to care" to
zope zen master / SVN contributor with minimal wasted effort along the
way?
Today I d
On Mon, Mar 06, 2006 at 05:13:57PM -0700, Jeff Shell wrote:
> On 3/6/06, Paul Winkler <[EMAIL PROTECTED]> wrote:
> > A similar app could've been written pretty quickly in Zope 3 by writing
> > a schema and using browser:addform, browser:editform, and
> > bro
le bit and
> see how we could do well in his evaluation.
You are late to the party ;-)
Granted, the title of the earlier thread could easily
get lost in the noise:
http://mail.zope.org/pipermail/zope3-dev/2006-March/018625.html
--
Paul Winkler
http://www.slinkp.com
our
environment does not necessarily imply "scripting".
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
nk/
Paste Script and Paste Templates
http://pythonpaste.org/script/developer.html#templates
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
reader can't get lost. You can notate repetition easily enough, and
make the score more compact, at the expense of requiring the reader to
mentally construct the linear model and maintain more mental state
while playing.
I have no idea whether any of that applies to ZCML, so I'll re-lu
On Thu, Mar 16, 2006 at 11:38:02AM -0500, Tres Seaver wrote:
>
eh?
http://www.google.com/search?hl=en&lr=&q=ktupema+necro+halogo&btnG=Search
"Your search - ktupema necro halogo - did not match any documents. "
--
Paul Wink
ould be doing. It is also better for marketing as you can actually
> spell out the motivation for breaking people's code, instead of just
> presenting them with terse deprecation warnings.
+1
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev
> context switches on people isn't a good idea.
+1
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
methods and the same problem w.r.t. the need to be sure to get rid of it
after tests. Maybe Jim didn't notice this one when he wrote
loggingsupport? afaict loghandler is older).
I don't really have a question. Just wondering if anybody has any
thoughts on the "one true way&quo
adder = timeit.Timer('x += [4,5,6]', 'x=[1,2,3]')
>>> extender = timeit.Timer('x.extend([4,5,6])', 'x=[1,2,3]')
>>> n = 100)
>>> slicer.timeit(n)
2.6605889797210693
>>> extender.timeit(n)
2.5256669521331787
>>>
in the above formula.
as others have observed, bugfixing is easier when you have fewer
branches to patch and test...
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
On Sun, Jun 18, 2006 at 08:30:58PM +0200, Lennart Regebro wrote:
> On 6/18/06, Paul Winkler <[EMAIL PROTECTED]> wrote:
> >+1, I'd like some way to easily know when a release is no longer
> >maintained. i.e., what's the X in the above formula.
>
> Well,
eTime('2006/01/01').timezone()
'US/Eastern'
>>> DateTime('2006/01/01').timeTime()
1136091600.0
>>> DateTime('2006-01-01').timezone()
'GMT+0'
>>> DateTime('2006-01-01').timeTime()
1136073600.0
AFAICT, this is
ing test errors caused by stale bytecode, or a test run
having the power to break your instance with the default options?
I don't see a third path.
ideas? opinions?
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
U
On Tue, Oct 10, 2006 at 08:13:23PM -0400, Jim Fulton wrote:
> Paul Winkler wrote:
> >Posting this here because the code in question lives in zope.testing...
> >
> >After accidentally nuking my mxODBCZopeDA installation simply by running
> >"bin/zopectl test&qu
> > of
> > bytecode for a py file, and a pyc file that is intended to be used
> > standalone.
>
> Isn't the existing or non-existing of a corresponding .py file a good
> indication?
No. It means one of two things, if you read the
workaround: if your forgot the '-k', the
> testrunner would just whine and halt.
Good point. Thanks, Tres.
I think Chris' idea might have merit too, but I don't really have time
to hack on testrunner.
For now, I'm just going to run tests with a wrapper script.
--
P
r-ex
use strings. Prior to the introduction of testrunner-layers-api.txt,
there wasn't much else to go on.
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
;ll update the zopewiki page with a reference to that doc.
Looks like that file is shipped with Zope 2.10.0 and 2.9.5,
but it wasn't in 2.9.4. I haven't been living on the bleeding
edge lately so I didn't see it.
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
3 had a bit
> of trouble to keep up with that. With Zope Grok, no more trouble.
This sounds like something that could stand being talked about
in public more often... I've never heard of Zope Grok :)
--
Paul Winkler
http://www.slinkp.com
_
t;>> getAdapter('moo', DateTime, None)
That doesn't work, getAdapter() doesn't have a default arg.
I think what you meant is:
>>> queryAdapter('moo', DateTime, default='xyz')
'xyz'
--
Paul Winkler
http://www.slinkp.com
ive, and that'll tell
you what module contains the schema and handler for that directive.
The handler does the work.
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/option
my mail
to get a DOS attack when the system can't start successfully so it
keeps restarting forever".
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
'd like that to be
taken care of for me :-)
supervisor normally gives up after some number of restart attempts,
which is fine with me.
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
you find and keep this integer, which is all the information
> needed to algorithmically re-obtain the sorted list.
>
> So, this would be slower than caching, but (I think) faster than re-sorting.
Doesn't it mean you need the entire canonical list in memory?
--
Paul Win
ear to me.
> In the discussion on Python 2.x and 3.x compatibility, substitute the word
> "Zope" for "Python" and think of the irony.
I'm still waiting for the announcement of Python "Five" :-)
--
Paul Winkler
http://www.slinkp.com
___
On Tue, Sep 11, 2007 at 12:49:23AM -0400, Paul Winkler wrote:
> On Sun, Sep 09, 2007 at 05:39:45PM +0100, Martin Aspeli wrote:
> > Has there been a strong statement that there won't be a Python 2.7 and
> > beyond? Will Python 2.x be actively killed off?
>
> Quite th
2.4/zc.testbrowser-1.0a1-py2.4.egg/zc/testbrowser/real.py",
line 315, in getForm
if index is None and not any([id, name, action]):
NameError: global name 'any' is not defined
This is easy to hack around, but it's probably worth documenting the
dependency...
--
Paul Winkler
ity and anything but path expressions (or even simpler,
> hardwired syntax), applied solely to a Clairty style object that the
> template data is abstracted from? This would fuse the benefits of
> Clairty (you outlined) with ZPT (good mockups, well-formedness, etc)
Something looking like Nevow
HO the current behavior is wrong. "replace" should always replace
the element, no exceptions.
(Zope 2 has the same bug, I just checked.)
Can you file a collector issue for this?
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
/ import of content?
That makes "locally" hard to define.
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Martijn Faassen wrote:
> Missing powerful query concepts
> ---
>
> Certain powerful query concepts like joins, available in a relational
> setting, are missing. I've already run into a scenario where I wanted to
> someting like this: given a bunch of version objects wit
ditch Plone for something much lighter.
I have no idea what their plans were in regard to workflow, or the
collectors, any of that. Also no idea of current status or momentum.
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zop
ing /
importing Zope 2 data - I always use the default pickle format.
It works fine and is more efficient.
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Hi Jim, just de-lurking for a moment:
On 10/24/05, Jim Fulton <[EMAIL PROTECTED]> wrote:
> I think the biggest problem with the ZPT macro approach to look and feel
> concerns are not separated. CPSSkins deals with this in it's own way.
I couldn't quite parse that. What is not separated from wh
3.
There have been proposals to add interfaces to the Python core,
but nothing has been decided yet. See for example
http://python.org/peps/pep-0245.html
which is getting a bit old (it predates zope 3).
Other projects are using zope.interfaces, too -
at least T
http://wiki.python.org/moin/PyCon2006/Sprints
I plan to attend and I would really love to sprint on further
"fivification" of zope 2.
p.s. No, I can't volunteer to do any coordination work for this. I'll
already have plenty to do preparing for my two (Five-related) talks
nging to work in the short
time slots alotted!
I was a bit surprised that both talks were accepted, I figured I'd be
trumped by presentations from better-known people, but maybe
there weren't any!
--
Paul Winkler
http://www.slinkp.com
___
re seems to be some
support for the "chunked" transfer coding, which should do the job, but
I'm not sure if/how one can currently take advantage of it.)
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@z
RESPONSE.write() implicitly sets that flag.
> If all of that is met, then it works just fine. The signal for 'end of
> data' in chunked mode is '0\r\n\r\n', which Zope properly inserts when
> appropriate.
OK. Aha, I'm now looking at medusa/producers.py and
b header + checksum and actually using those instead of hardcoding
> it all in ZServer would be very interesting.
>
> BUT, in the light of Zope 3 moving to twisted, and possibly Zope 2 at
> the time of Zope 2.11, maybe that's not worth the effort.
--
Paul Winkler
http:/
On Thu, Dec 08, 2005 at 07:31:56PM +0100, Christian Theune wrote:
> - WSGI disallows response streams
It what???
Seriously? That's a showstopper for a lot of projects.
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Z
On Thu, Dec 08, 2005 at 01:25:21PM -0500, Paul Winkler wrote:
> On Thu, Dec 08, 2005 at 07:31:56PM +0100, Christian Theune wrote:
> > - WSGI disallows response streams
>
> It what???
> Seriously? That's a showstopper for a lot of projects.
OK, no it doesn'
On Thu, Dec 08, 2005 at 02:05:55PM -0500, Jim Fulton wrote:
> Paul Winkler wrote:
> >On Thu, Dec 08, 2005 at 07:31:56PM +0100, Christian Theune wrote:
> >
> >>- WSGI disallows response streams
> >
> >
> >It what???
> >Seriously? That's a showst
ith http 1.1 chunking as
Sidnei described, and it works nicely for giving feedback as each item is
fetched or pushed. Some of these operations involve writes,
and none of them have a known output size, so I can't currently
use an IStreamIterator.
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
rs would save their data in this object. Application code
would access data through this utility."""
Does this mean we could potentially change zconfig options at
runtime? i.e. no server restart? That might be useful.
--
Paul Winkler
http://www.slinkp.com
___
On Fri, Jan 20, 2006 at 07:58:52PM +0100, Dieter Maurer wrote:
> Paul Winkler wrote at 2006-1-20 10:26 -0500:
> > ...
> >Does this mean we could potentially change zconfig options at
> >runtime?
>
> What do you mean by that?
>
> You can already now change "
nus are best understoood as a pattern!
>
I'd like to see this somewhere in the z3 wiki on zope.org,
but I don't see an obvious good place to put it.
Somewhere under User Documentation?
--
Paul Winkler
http://www.slinkp.com
_
request and a direct
browser request?
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
(snip)
> >while ZCML uses its own
> >style with minimal nesting, many attributes, and many namespaces.
>
> What? Insanity ;-)
>>> import this
(snip)
Flat is better than
or point releases. Too bad we don't have the same serendipitous
cool-looking roman numeral... "Zope III" doesn't quite do the job ;-)
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
On Tue, Feb 07, 2006 at 09:42:31PM +1100, Rob Jeschofnik wrote:
> Paul Winkler wrote:
> >"Mac OSX" in itself, on the other hand, was brilliant.
> >With one letter they managed to establish:
> >
> [...]
>
> Right... but that is a brand, not a co
On Tue, Feb 07, 2006 at 03:09:01AM -0700, Jeff Shell wrote:
> and this, which I absolutely love:
> http://www.python.org/doc/2.4/whatsnew/whatsnew24.html
+1. I think we really need something like that.
> I know that even I would care a lot less about new Python releases if
--
Pau
On Wed, Feb 08, 2006 at 11:08:57AM -0500, Stephan Richter wrote:
> Decimal is a new type and we have not yet declared it to be a rock.
What is "a rock"?
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.or
luable debugging aid.
--
Paul Winkler
http://www.slinkp.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
75 matches
Mail list logo