Re: shelf membership

2007-04-01 Thread Peter Otten
Aaron Brady wrote: > can you shelve objects with membership? > > this gives you: > > TypeError: object does not support item assignment > dict 0 True > Exception exceptions.TypeError: 'object does not support item assignment' > in  ignored > > > ignored is a bit mysterious.  tx in advance. >

Re: shelf membership

2007-03-31 Thread Gabriel Genellina
En Sat, 31 Mar 2007 21:22:20 -0300, John Machin <[EMAIL PROTECTED]> escribió: > On Apr 1, 8:02 am, Aaron Brady <[EMAIL PROTECTED]> wrote: >> can you shelve objects with membership? >> >> this gives you: >> >> TypeError: object does not support item assignment >> dict 0 True >> Exception exceptio

Re: shelf membership

2007-03-31 Thread John Machin
On Apr 1, 8:02 am, Aaron Brady <[EMAIL PROTECTED]> wrote: > can you shelve objects with membership? > > this gives you: > > TypeError: object does not support item assignment > dict 0 True > Exception exceptions.TypeError: 'object does not support item assignment' > in ignored > > > ignored is a b

shelf membership

2007-03-31 Thread Aaron Brady
can you shelve objects with membership? this gives you: TypeError: object does not support item assignment dict 0 True Exception exceptions.TypeError: 'object does not support item assignment' in ignored > ignored is a bit mysterious. tx in advance. from shelve import * class MyShelf(Dbfilen