[PEAK] Re: PyProtocols AdaptationFailure raises a
TypeError on Python 2.5
Phillip J. Eby
pje at telecommunity.com
Thu Jun 14 20:12:04 EDT 2007
At 01:50 AM 6/15/2007 +0200, Florent Aide wrote:
>On 6/15/07, Florent Aide <florent.aide at gmail.com> wrote:
>>Hi Phillip, Hi all,
>>
>>I am testing some interface declaration and adaptation on python 2.5
>>and when an adaption fails I get an unexpected Exception from
>>PyProtocol:
>>
>>TypeError: exceptions must be strings, classes, or instances, not
>>AdaptationFailure
>
>Sorry for answering to my own email but here is my sample code:
>
>http://paste.turbogears.org/paste/1391
The code you sent me produces the same result on both 2.4 and 2.5;
i.e. "BadKlass does not provide the required protocol".
Are you *sure* you're using r2302?
More information about the PEAK
mailing list