Sorry, I'm still being dense here.

How does Notify(context) do different things
at different times when neither the context argument
nor the global namespace environment appear
to be changing?  Don't you have to pass in
some sort of information about who to notify?

   -- Aaron Watters

On Dec 10, 6:07 am, "pamela (Google Employee)" <pamela...@gmail.com>
wrote:
> It simply adds a blip for every participant on the wave. It would
> probably be a bit more sensible if it displayed their address, but
> tutorials are not always practical. You could extend it to do that, of
> course.
>
> - pamela
>
> On Thu, Dec 10, 2009 at 2:01 PM, Aaron Watters <aaron.watt...@gmail.com> 
> wrote:
> > Looking at this function
>
> > def OnParticipantsChanged(properties, context):
> >  """Invoked when any participants have been added/removed."""
> >  added = properties['participantsAdded']
> >  for p in added:
> >    Notify(context)
>
> > Why is it calling Notify exactly the same way many
> > different times?  Changes to the local variable p should
> > not have any effect on what Notify does, no?  What am
> > I missing here?
>
> > mystified: -- Aaron Watters
> >  http://whiffdoc.appspot.com
>
> > ===
> > less is more.
>
> > --
>
> > You received this message because you are subscribed to the Google Groups 
> > "Google Wave API" group.
> > To post to this group, send email to google-wave-...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-wave-api+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-wave-api?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.


Reply via email to