[Zope3-dev] zc.testbrowser.real depends on python 2.5

2007-10-23 Thread Paul Winkler
/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 ___ Zope3

Re: [Zope3-dev] Re: What does python 3000 mean for zope?

2007-09-11 Thread Paul Winkler
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 the opposite, Guido proposed last year

Re: [Zope3-dev] Re: What does python 3000 mean for zope?

2007-09-10 Thread Paul Winkler
. 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 ___ Zope3-dev mailing list Zope3-dev@zope.org

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Paul Winkler
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

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Paul Winkler
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

Re: [Zope3-dev] Re: Can an adapter find out what name it was registered for?

2006-11-28 Thread Paul Winkler
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/options/zope3-dev/archive%40mail

Re: [Zope3-dev] Re: adapter registration - sort of works :-S

2006-11-16 Thread Paul Winkler
, 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 ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3

Re: [Zope3-dev] PyCon 2007 web frameworks panel

2006-10-31 Thread Paul Winkler
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 ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http

Re: [Zope3-dev] Re: another layers quicky?

2006-10-17 Thread Paul Winkler
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

Re: [Zope3-dev] layers can't be new style classes?

2006-10-17 Thread Paul Winkler
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

Re: [Zope3-dev] Re: zope.testing.testrunner: issue with remove_stale_bytecode

2006-10-13 Thread Paul Winkler
. For now, I'm just going to run tests with a wrapper script. -- 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

Re: [Zope3-dev] zope.testing.testrunner: issue with remove_stale_bytecode

2006-10-11 Thread Paul Winkler
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 in a zope 2.9 instance, I quickly concluded

Re: [Zope3-dev] zope.testing.testrunner: issue with remove_stale_bytecode

2006-10-11 Thread Paul Winkler
, 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 thread carefully. -- Paul Winkler http://www.slinkp.com

[Zope3-dev] zope.testing.testrunner: issue with remove_stale_bytecode

2006-10-10 Thread Paul Winkler
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 Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail

Re: [Zope3-dev] Re: SVN: Zope3/branches/3.3/ Fixed issue 525: DateWidget ru-format

2006-06-28 Thread Paul Winkler
').timeTime() 1136091600.0 DateTime('2006-01-01').timezone() 'GMT+0' DateTime('2006-01-01').timeTime() 1136073600.0 AFAICT, this is a feature, not a bug. -- Paul Winkler http://www.slinkp.com ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http

Re: [Zope-dev] Re: [Zope3-dev] Re: Stable / Development branches?

2006-06-18 Thread Paul Winkler
of that branch is? Maybe some kind of matrixy-thingy? +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. as others have observed, bugfixing is easier when you have fewer branches to patch and test... -- Paul Winkler http://www.slinkp.com

Re: [Zope-dev] Re: [Zope3-dev] Re: Stable / Development branches?

2006-06-18 Thread Paul Winkler
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, it's 2 versions, so far. I.e, current release

[Zope3-dev] Re: [z3-five] Re: Patch for testbrowser.py

2006-04-21 Thread Paul Winkler
) slicer.timeit(n) 2.6605889797210693 extender.timeit(n) 2.5256669521331787 adder.timeit(n) 1.9388060569763184 -- Paul Winkler http://www.slinkp.com ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive

[Zope3-dev] Testing logs

2006-04-12 Thread Paul Winkler
. 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 to deal with this stuff properly. -- Paul Winkler http

Re: [Zope3-dev] Re: [Zope-CMF] Fighting the Zope 2.9 testrunner

2006-03-22 Thread Paul Winkler
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

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-16 Thread Paul Winkler
On Thu, Mar 16, 2006 at 11:38:02AM -0500, Tres Seaver wrote: zcml:ktupema_necro_halogo eh? http://www.google.com/search?hl=enlr=q=ktupema+necro+halogobtnG=Search Your search - ktupema necro halogo - did not match any documents. -- Paul Winkler http://www.slinkp.com

Re: [Zope3-dev] what is ZCML?

2006-03-13 Thread Paul Winkler
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-lurk now. -- Paul Winkler

Re: [Zope3-dev] Re: A Take on the Hello World Acid Test - from Mandatory Viewing

2006-03-09 Thread Paul Winkler
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

Re: [Zope3-dev] Mandatory Viewing!

2006-03-07 Thread Paul Winkler
on features that do not exist anywhere else in the python world, which I think was a bad design mistake. btw, I must note that TTW != scripting. Scripting does not mandate working through the web, and using a browser as (part of) your environment does not necessarily imply scripting. -- Paul

Movies, audiences, wasted effort, was Re: [Zope3-dev] The vision thing

2006-03-06 Thread Paul Winkler
contributor with minimal wasted effort along the way? Today I don't know if there's a clear coherent story to be told there, even for zope 2. If there was... wow, that would be a great. Sorry if I haven't really said anything new. -- Paul Winkler http://www.slinkp.com

Re: Movies, audiences, wasted effort, was Re: [Zope3-dev] The vision thing

2006-03-06 Thread Paul Winkler
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 browser:schemadisplay. It would be interesting

[Zope3-dev] Notice: zope.interface is now a separate project

2006-02-27 Thread Paul Winkler
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

[Zope3-dev] Re: [Zope-dev] Re: Two visions

2006-02-27 Thread Paul Winkler
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 features. -- Paul Winkler http://www.slinkp.com

[Zope3-dev] Notice: zope.testing and zope.deprecation are now separate packages

2006-02-27 Thread Paul Winkler
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

[Zope3-dev] Re: Notice: zope.testing and zope.deprecation are now separate packages

2006-02-27 Thread Paul Winkler
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://svn.zope.org

[Zope3-dev] Notice: zope.i18nmessageid is now a separate package

2006-02-27 Thread Paul Winkler
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

Re: [Zope3-dev] Re: Zope 3 web root

2006-02-18 Thread Paul Winkler
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 scratch. Never again. now, if you

Re: [Zope3-dev] Brainstorming about browser pages

2006-02-17 Thread Paul Winkler
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: http://mail.zope.org/mailman/options/zope3-dev

Re: [Zope-dev] Re: [Zope3-dev] Re: merge zope-dev and zope3-dev?

2006-02-17 Thread Paul Winkler
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

Re: [Zope3-dev] Zope 3 web root

2006-02-16 Thread Paul Winkler
, he could elevate his permissions and get access to previously-denied parts of the system. What I'm finding increasingly dubious is the idea that a person who's not allowed access to the whole zodb should be allowed to write code at all. /OT -- Paul Winkler http://www.slinkp.com

Re: [Zope3-dev] One namespace for ZCML

2006-02-16 Thread Paul Winkler
. 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://mail.zope.org/mailman/options/zope3

Re: [Zope3-dev] One namespace for ZCML

2006-02-16 Thread Paul Winkler
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++ is 404 on a fresh 3.2

Re: [Zope3-dev] Re: Re: tal:define=... considered harmful?

2006-02-16 Thread Paul Winkler
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 ___ Zope3-dev mailing list

Re: [Zope3-dev] Re: Re: tal:define=... considered harmful?

2006-02-16 Thread Paul Winkler
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

[Zope3-dev] Re: Last chance to comment on Simplify skinning

2006-02-16 Thread Paul Winkler
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

Re: [Zope3-dev] Re: Last chance to comment on Simplify skinning

2006-02-15 Thread Paul Winkler
to explicitly register every one of my skin's 35 resources? This is a significant burden. I do that a lot more often than I create new products. I think what we're angling for is some way to register everything in a certain directory as resources with one directive. -- Paul Winkler http

Re: [Zope3-dev] Re: Last chance to comment on Simplify skinning

2006-02-15 Thread Paul Winkler
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 missing something? Only

Re: [Zope3-dev] Indirection Reporter

2006-02-13 Thread Paul Winkler
the component architecture. It will show what decision it made and which ZCML directive caused it to make that choice. I haven't the foggiest idea how that would be implemented, but if you could make it work, wow that would be cool. Both as a learning tool and as an invaluable debugging aid. -- Paul

Re: [Zope3-dev] Sum of Decimals

2006-02-08 Thread Paul Winkler
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.org Unsub: http

Re: [Zope3-dev] Selecting a code name

2006-02-07 Thread Paul Winkler
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 codename. As I understand it, people are discussing things like

Re: [Zope3-dev] Re: Selecting a code name

2006-02-07 Thread Paul Winkler
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 -- Paul Winkler http

Re: [Zope3-dev] Re: xmlrpc:view (and jsonrpc:view)

2006-01-30 Thread Paul Winkler
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

Re: [Zope3-dev] Re: Deploying WSGI Apps with Zope 3.2+

2006-01-30 Thread Paul Winkler
ZCML uses its own style with minimal nesting, many attributes, and many namespaces. What? Insanity ;-) import this (snip) Flat is better than nested. (snip) Namespaces are one honking great idea -- let's do more of those! ;-) -- Paul Winkler http://www.slinkp.com

Re: [Zope3-dev] Re: ZCML bad ;-)

2006-01-22 Thread Paul Winkler
! 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 ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http

Re: [Zope3-dev] RFC: ZConfig and other formats for ZCML

2006-01-20 Thread Paul Winkler
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 zconfig options at runtime (you can modify

Re: [Zope3-dev] RFC: Make HTTP streaming of large data simpler

2005-12-20 Thread Paul Winkler
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

Re: [Zope3-dev] Re: Twisted Publisher and Zope 2

2005-12-08 Thread Paul Winkler
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 Zope3-dev

Re: [Zope3-dev] Re: Twisted Publisher and Zope 2

2005-12-08 Thread Paul Winkler
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 showstopper for a lot of projects. Uh, what is the it/that that you

Re: [Zope3-dev] RFC: Make HTTP streaming of large data simpler

2005-12-06 Thread Paul Winkler
. 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://www.slinkp.com ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman

Re: [Zope3-dev] RFC: Make HTTP streaming of large data simpler

2005-12-05 Thread Paul Winkler
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@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Re: [Zope3-dev] RFC: Make HTTP streaming of large data simpler

2005-12-05 Thread Paul Winkler
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 I see that happens in chunked_producer. Thanks for the info. -- Paul Winkler http://www.slinkp.com

Re: [Zope-dev] Re: [Zope3-dev] RFC: Reunite Zope 2 and Zope 3 in the source code repository

2005-11-24 Thread Paul Winkler
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 ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman

Re: [Zope3-dev] fssync and export/import for Zope 3

2005-10-11 Thread Paul Winkler
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