Steven Bethard wrote:
> If you feel really strongly about this though, you might consider
> writing up a PEP. It's been contentious enough that there's not much
> chance of getting a change without one.
No strong feelings here, and I'm sure greater minds than me have
already hashed this over sufficiently.
It's just that, when I have an object, and am wondering how I can clear
it, I tend to look what methods it has first and go to google looking
for "idioms" second.
Perhaps "clear" method could be added that raises
PedagogicException("Use del lst[:], stupid!")?
*ducks*
--
http://mail.python.org/mailman/listinfo/python-list