Re: [Zope3-dev] server error in apidoc (encoding pb)

2007-01-17 Thread Christophe Combelles
Dmitry Vasiliev a écrit : Christophe Combelles wrote: Did someone have a look on this error ? Is it a trivial thing, or a local configuration problem, or is it reproduceable? (I write in utf-8, and I put # -*- coding: utf-8 -*- in my interfaces.py) You must use unicode docstrings. The

[Zope3-dev] Re: SVN: zope.app.annotation/ Add zope.app.annotation as a top-level package.

2007-01-17 Thread Baiju M
Philipp von Weitershausen wrote: Baiju M wrote: Log message for revision 72044: Add zope.app.annotation as a top-level package. Changed: A zope.app.annotation/ A zope.app.annotation/branches/ A zope.app.annotation/tags/ A zope.app.annotation/trunk/ -=- Is it really necessary to

[Zope3-dev] wildcard adapter

2007-01-17 Thread Chris Withers
Hi All, I was wondering if someone could give me a definitive explanation of what the following means: adapter for=* ISomething * ... ...means? Is the following equivalent: provideAdapter(...,adapts=(None,ISomething,None),...) ? If it is, then which of the following should I use

Re: [Zope3-dev] wildcard adapter

2007-01-17 Thread Martin Aspeli
Chris Withers wrote: Hi All, I was wondering if someone could give me a definitive explanation of what the following means: adapter for=* ISomething * ... ...means? Is the following equivalent: provideAdapter(...,adapts=(None,ISomething,None),...) No, but this

Re: [Zope3-dev] Re: zope.tal.xmlparser.XMLParser() dislikes unicode

2007-01-17 Thread Andreas Jung
--On 16. Januar 2007 14:12:46 +0100 Martijn Faassen [EMAIL PROTECTED] wrote: I am replying to the three proposals. First I have to kick the proposal of Tres (UTF-8 storage). We want unicode as internal representation for any kind of ZPT (both text/html and text/xml). Supporting unicode

Re: [Zope3-dev] wildcard adapter

2007-01-17 Thread Marius Gedminas
On Wed, Jan 17, 2007 at 06:37:52AM -0800, Martin Aspeli wrote: Chris Withers wrote: I was wondering if someone could give me a definitive explanation of what the following means: adapter for=* ISomething * ... ...means? Is the following equivalent:

Re: [Zope3-dev] Re: zope.tal.xmlparser.XMLParser() dislikes unicode

2007-01-17 Thread Chris Withers
Martijn Faassen wrote: That's what I do too... See my post elsewhere in the thread for an example of why this is Not Good. Luckily Twiddler is still less than version 1.0 ;-) When someone reports it as a bug, I'll fix it. cheers, Chris -- Simplistix - Content Management, Zope Python

Re: [Zope3-dev] Idea: Failure to lookup adapters

2007-01-17 Thread Chris Withers
Stephan Richter wrote: My major concern is speed here. Any debug handling will make the registry slower; I am using adapters very heavily in my code and any slow-down of one lookup would be multiplied many times. + sys.maxint. cheers, Chris -- Simplistix - Content Management, Zope Python

[Zope3-dev] Re: SVN: zope.app.annotation/ Add zope.app.annotation as a top-level package.

2007-01-17 Thread Philipp von Weitershausen
Baiju M wrote: Philipp von Weitershausen wrote: Baiju M wrote: Log message for revision 72044: Add zope.app.annotation as a top-level package. Changed: A zope.app.annotation/ A zope.app.annotation/branches/ A zope.app.annotation/tags/ A zope.app.annotation/trunk/ -=- Is it really

Re: [Zope3-dev] Re: zope.tal.xmlparser.XMLParser() dislikes unicode

2007-01-17 Thread Dieter Maurer
Martijn Faassen wrote at 2007-1-16 23:19 +0100: Dieter Maurer wrote: Martijn Faassen wrote at 2007-1-15 15:44 +0100: I would say refusing to guess and bailing out with an error message is better in this case. I disagree with you. Logically, parsing an encoded XML document consists

Re: [Zope3-dev] Re: zope.tal.xmlparser.XMLParser() dislikes unicode

2007-01-17 Thread Dieter Maurer
Andreas Jung wrote at 2007-1-17 17:48 +0100: ... So Martijn's and my proposal remain. They are not very different. In the end the behavior is almost identical. But I will adopt your suggestion to remove the preamble when storing the data internally (basically to avoid a possible encoding

[Zope3-dev] Re: wildcard adapter

2007-01-17 Thread Philipp von Weitershausen
Chris Withers wrote: Hi All, I was wondering if someone could give me a definitive explanation of what the following means: adapter for=* ISomething * ... ...means? Is the following equivalent: provideAdapter(...,adapts=(None,ISomething,None),...) ? Yes. If it is, then which

[Zope3-dev] Re: wildcard adapter

2007-01-17 Thread Philipp von Weitershausen
Martin Aspeli wrote: Chris Withers wrote: Hi All, I was wondering if someone could give me a definitive explanation of what the following means: adapter for=* ISomething * ... ...means? Is the following equivalent: provideAdapter(...,adapts=(None,ISomething,None),...) No,

[Zope3-dev] Re: Idea: Failure to lookup adapters

2007-01-17 Thread Philipp von Weitershausen
Stephan Richter wrote: On Monday 15 January 2007 14:25, Sidnei da Silva wrote: 'We've tried to look up an adapter for (ISomething, ITheOther) but none was found' 'Found an adapter for IFoo, which is a base class for the IBar interface requested. No adapter has been found for the

Re: [Zope3-dev] Re: SVN: zope.app.annotation/ Add zope.app.annotation as a top-level package.

2007-01-17 Thread Benji York
Philipp von Weitershausen wrote: I suggest we come up with a prioritized list instead of alphabetical. +1 Baiju M wrote: We can eggify all packages except those in Spring cleanup proposal [1] Sure, we *can*, but I think it's a lot of work and we don't necessarily have to do all of them.

Re: [Zope3-dev] Re: zope.tal.xmlparser.XMLParser() dislikes unicode

2007-01-17 Thread Andreas Jung
--On 17. Januar 2007 22:49:11 +0100 Dieter Maurer [EMAIL PROTECTED] wrote: Andreas Jung wrote at 2007-1-17 17:48 +0100: ... So Martijn's and my proposal remain. They are not very different. In the end the behavior is almost identical. But I will adopt your suggestion to remove the