[Python-Dev] re: Tutorial: Brief Introduction to the Standard Libary (original) (raw)

Arthur ajsiegel at optonline.net
Wed Dec 3 23:05:55 EST 2003


Greg writes:

The result of all this is that I don't think I've ever used copy() or deepcopy(). Whenever I've need to copy something I've always used something type-specific such as list[:] or dict.copy(), or written my own copying function.

What is fundamentally wrong with copy(list) as an alternative to list[:]?

Guess I am feeling invincible. Worst case, I can be told that I need to read a tutorial ;),

Art



More information about the Python-Dev mailing list