/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
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
.
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
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
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
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
, 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
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
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
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
.
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
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
, 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
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
').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
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
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
)
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
. 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
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
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
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
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
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
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
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
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
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
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://svn.zope.org
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 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
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
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
,
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
!
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
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
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
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
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
.
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
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
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
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
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
58 matches
Mail list logo