In article <[EMAIL PROTECTED]>, Mike Kent <[EMAIL PROTECTED]> wrote: > >I figure that if instead of returning the buffer from the context >directly, I instead returned the buffer in a list, I could then change >the buffer, put it in the returned list, then I'd have access to it >back inside the context, but this seems a bit ugly. > >Does anyone have insight into the right way of doing this?
You're almost at the right approach: just create a class instance that contains a buffer attribute. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinking is expensive." --Roy Smith -- http://mail.python.org/mailman/listinfo/python-list