Simon Forman wrote:

> Why would you want to [deep]copy a slice object?

I would guess the original poster actually wanted to copy a data structure 
which includes a slice object somewhere within it. That is a perfectly 
reasonable albeit somewhat unusual thing to want, however it doesn't work.

Similarly in Python 2.4 you cannot deepcopy functions. That has been fixed 
in Python 2.5 but I guess nobody has tried deepcopying slices before so 
they haven't been fixed.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to