[lxml-dev] operator.delslice() not working with 2.1beta3

jholg at gmx.de jholg at gmx.de
Mon Jun 23 17:49:46 CEST 2008


Hi,

> Actually, delslice() never worked in 2.0 and was removed from the 
> operator
> module in Py3. It's also easily replaced with operator.delitem(x, 
> slice()).
> 
> So I won't change the current behaviour.
 I've been running on some frozen 2.0alpha state for a while now so I 
probably missed

__delslice__ and cohorts going away.

 Anyhow, I should've looked into the Py3 what's new stuff rather than the 
operator module

documentation which is not yet up-to-date with regard to these 
deprecations.

 I'll use operator.delitem, then.

 Thanks for the clarification

H. 
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/lxml-dev/attachments/20080623/696bfbec/attachment.htm 


More information about the lxml-dev mailing list