Re: [pypy-dev] oopspec

2006-05-03 Thread Armin Rigo
Hi Antonio, On Wed, May 03, 2006 at 01:00:28AM +0200, Antonio Cuni wrote: I'm unsure about using 'delslice': it make me think that such an operation behave exactly like the corresponding python statement, but that was not my intent: in my mind the difference between 'remove_range' and

Re: [pypy-dev] oopspec

2006-05-02 Thread Antonio Cuni
Hi Seo, Sanghyeon Seo wrote: Is there some documentation on oopspec attribute? How one may use it in the backend? I think there are no docs about the oopspec attribute. Armin wrote these lines some time ago to respond to the same question: The oopspec string tells what is the abstract

Re: [pypy-dev] oopspec

2006-05-02 Thread Armin Rigo
Hi Antonio, On Tue, May 02, 2006 at 12:01:27PM +0200, Antonio Cuni wrote: Btw, I have a doubt about oopspec, too: Armin told that the 'oopspec' specifies the abstract operation that each ll_* helper implements; does this abstract operation have to be one of standard list methods or can I

Re: [pypy-dev] oopspec

2006-05-02 Thread Antonio Cuni
Hi Armin Armin Rigo wrote: It's quite open; every piece of code using oopspec should be prepared to see names that it doesn't know about, and ignore them. So feel free to add new names. As a guideline, let's stick as far as possible to the Python name for the method or for the __xxx__ special