On 23Nov2014 10:15, Mitch Raful wrote:
Thanks for the replies.
No worries.
My concern was as the for loop keeps sending
objects into the do_something() function which uses the same reference name
other_object and that the previously instantiated other_objected would be
mutated if the functio
On Nov 23, 2014 8:48 AM, "Mitch Raful" wrote:
>
> Thanks for the replies. My concern was as the for loop keeps sending
objects into the do_something() function which uses the same reference name
other_object and that the previously instantiated other_objected would be
mutated if the function was
On Sun, Nov 23, 2014 at 11:07 AM, Dave Angel wrote:
> Please don't top-post. Trim the quoted portion to the parts you're
> responding to, and put your response immediately after (each) section you're
> commenting on.
>
I this the correct formatting and in plain text?
> Also, you're posting in
On 11/23/2014 01:05 PM, Mitch Raful wrote:
On Sun, Nov 23, 2014 at 11:07 AM, Dave Angel wrote:
Please don't top-post. Trim the quoted portion to the parts you're
responding to, and put your response immediately after (each) section you're
commenting on.
I this the correct formatting and i
Thanks for the replies. My concern was as the for loop keeps sending
objects into the do_something() function which uses the same reference name
other_object and that the previously instantiated other_objected would be
mutated if the function wasn't finished. Or do all languages keep each
call t
Please don't top-post. Trim the quoted portion to the parts you're
responding to, and put your response immediately after (each) section
you're commenting on.
Also, you're posting in html. That's not always a problem, but it often
is, depending on the vagaries of your email program. Just te
On 11/22/2014 09:28 PM, Mitch Raful wrote:
If I have code similar to this:
for object in objects:
do_something(object)
def do_something(obj):
other_object = Class( obj.property)
other_object.method( arg1, arg2)
do_stuff here with other_object
if problem:
p
On 23/11/14 02:28, Mitch Raful wrote:
If I have code similar to this:
for object in objects:
do_something(object)
def do_something(obj):
other_object = Class( obj.property)
other_object.method( arg1, arg2)
do_stuff here with other_object
if problem:
print(
On Sat, Nov 22, 2014 at 09:28:35PM -0500, Mitch Raful wrote:
> If I have code similar to this:
>
> for object in objects:
> do_something(object)
>
> def do_something(obj):
> other_object = Class( obj.property)
> other_object.method( arg1, arg2)
>
> do_stuff here with other_obje
If I have code similar to this:
for object in objects:
do_something(object)
def do_something(obj):
other_object = Class( obj.property)
other_object.method( arg1, arg2)
do_stuff here with other_object
if problem:
print( obj.property )
My concern is that the for l
10 matches
Mail list logo