durusmail: quixote-users: Quixote changing object type, from list to _QuoteWrapper
Quixote changing object type, from list to _QuoteWrapper
2003-01-27
2003-01-27
2003-01-27
2003-01-27
2003-01-27
2003-01-27
2003-01-27
Quixote changing object type, from list to _QuoteWrapper
Neil Schemenauer
2003-01-27
On Mon, Jan 27, 2003 at 02:11:42PM +0100, Nicola Larosa wrote:
> If the PTL is of the [html] type, which is what I use in all the rest of the
> application, I get a:
>
> TypeError: unindexable object

The htmltext object does not implement __getitem__, etc.  It probably
should but there are usually nicer ways to get the desired behavior.

> because Quixote changes the type of the interface["services"] list to:
>
> 

I don't think so.  Can you show me some code?  I don't understand the
attachment.  Normally the _QuoteWrapper object should be hidden (it's
only used for implementing the % operator).

  Neil

reply