Yes this is safe. I've used this quite often to save myself the trouble
of copying lists all over the place. When I don't have a huge list to
deal with I also use:
for i in range(len(list)-1, 0, -1):
if list[i] != pretty:
del list[i]
--------------------------------------------------------------
| Robin K. Friedrich | friedric@rsoc.rockwell.com |
| Rockwell Space Operations | (713) 282-2974 |
| Houston, TX | |
--------------------------------------------------------------