Re: [Python-Dev] Objecttype of 'locals' argument in PyEval_EvalCode

2006-11-29 Thread Guido van Rossum
This seems a bug. In revision 36714 by Raymond Hettinger, the restriction that locals be a dict was relaxed to allow any mapping. On 11/29/06, Daniel Trstenjak [EMAIL PROTECTED] wrote: Hi all, I would like to know the definition of the 'locals' object given to PyEval_EvalCode. Has 'locals'

Re: [Python-Dev] Objecttype of 'locals' argument in PyEval_EvalCode

2006-11-29 Thread Armin Rigo
Hi, On Wed, Nov 29, 2006 at 07:39:25AM -0800, Guido van Rossum wrote: This seems a bug. In revision 36714 by Raymond Hettinger, the restriction that locals be a dict was relaxed to allow any mapping. Mea culpa, I thought I reviewed this patch at the time. Fixed in r52862-52863. A bientot,

Re: [Python-Dev] Objecttype of 'locals' argument in PyEval_EvalCode

2006-11-29 Thread python
[Guido van Rossum] This seems a bug. In revision 36714 by Raymond Hettinger, the restriction that locals be a dict was relaxed to allow any mapping. [Armin Rigo] Mea culpa, I thought I reviewed this patch at the time. Fixed in r52862-52863. Armin, thanks for the check-ins. Daniel, thanks