On Sun, 10 Oct 2010 18:36:27 -0700, Ethan Furman <et...@stoneleaf.us> wrote:
[snip]
>
> My question is more along the lines of: a mutable object was passed in 
> to func()... what style of loop could be used to turn that one object 
> into /n/ distinct objects?  A list comp won't do it, but neither will a 
> for loop, nor a while loop.

Ah.  Quite right.  So, Yes, what you want is more objects that
in some sense are copies of the original object.  This is getting
way over my head, because there are situations in which it's
hard to say what would constitute a copy of an object, such as
when the object in question is a chat session with a specific
interlocutor.

-- 
To email me, substitute nowhere->spamcop, invalid->net.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to