Re: context = context.new(context)

2016-03-07 Thread Tim Graham
7;t answer the question in its current form. On Thursday, February 18, 2016 at 1:16:19 PM UTC-5, John Bazik wrote: > > I'm looking at code that does this: > > context = context.new(context) > > Prior to 1.7, I assume that worked since a context was a dict. Now that >

context = context.new(context)

2016-02-18 Thread John Bazik
I'm looking at code that does this: context = context.new(context) Prior to 1.7, I assume that worked since a context was a dict. Now that it's a stack, it breaks. I could suggest they use flatten: context = context.new(context.flatten()) but that's not exactly a copy,