Since x[a:b] is not basic syntax (like it once was) but simply the combination of operator.getitem and slice() I don't see the point of keeping operator.getitem.
PS. I don't know how useful the operator module really is -- in all those years it's existed I haven't really used it myself, and I'm always baffled when I see code using it. --Guido On 9/4/07, Thomas Wouters <[EMAIL PROTECTED]> wrote: > > > On 9/4/07, Georg Brandl <[EMAIL PROTECTED]> wrote: > > Are they useful enough to keep? > > operator.*slice? They're rather convenient when you don't want to bother > with creating a slice object yourself, but I'm not worried either way. > > -- > Thomas Wouters <[EMAIL PROTECTED]> > > Hi! I'm a .signature virus! copy me into your .signature file to help me > spread! > _______________________________________________ > Python-3000 mailing list > [email protected] > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/guido%40python.org > > -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
