[Python-checkins] CVS: python/dist/src/Lib string.py,1.46,1.47

Gerrit Holl gerrit.holl at pobox.com
Tue Feb 22 17:01:16 EST 2000
<quote name="Fredrik Lundh" date="951251424">
> Gerrit Holl <gerrit.holl at pobox.com> wrote:
> > > -- python 1.6 will have *two* different string types.
> > >
> > > -- python 1.6 will have lots of sequence types (at
> > >    least one more than 1.5.2!)
> >
> > If types will eventually be classes, I think it would not be hard to
> > add one method to all SequenceTypes.
> 
> bzzt.  how the heck do *you* know if any given class
> in *my* program is used as a sequence?

It's not a sequence type, it's used as a sequence.
I meant to add one methos to all types inherited from SequenceType.

> or did you mean that *I* have to do that?
> 
>     "btw, now that you've installed 1.7, your old sequence
>     classes no longer work.  you have to make sure they all
>     inherit from AbstractSequence.  if you're using old C
>     types, you're SOL"

Do sequence classes even exists before 1.7?

> hello?

Maybe I misses something, but As I Understand It, Python does not yet
support type/class integration. I must have missed something.

I was in Aachen today. I seem to have missed a lot!

sorry, I slept,
Gerrit.

-- 
Comparison Python GUI's: http://www.nl.linux.org/~gerrit/gui.html
Please comment!




More information about the Python-list mailing list