[pypy-svn] r64973 - pypy/branch/js-refactoring/pypy/lang/js

jandem at codespeak.net jandem at codespeak.net
Sat May 2 14:51:08 CEST 2009


Author: jandem
Date: Sat May  2 14:51:08 2009
New Revision: 64973

Modified:
   pypy/branch/js-refactoring/pypy/lang/js/interpreter.py
Log:
Function.constructor should have Don't Enumerate flag, fixes FunctionObject tests


Modified: pypy/branch/js-refactoring/pypy/lang/js/interpreter.py
==============================================================================
--- pypy/branch/js-refactoring/pypy/lang/js/interpreter.py	(original)
+++ pypy/branch/js-refactoring/pypy/lang/js/interpreter.py	Sat May  2 14:51:08 2009
@@ -585,7 +585,7 @@
         
         w_FncPrototype = w_Function.Call(ctx, this=w_Function)
         w_Function.Put(ctx, 'prototype', w_FncPrototype, flags = allon)
-        w_Function.Put(ctx, 'constructor', w_Function)
+        w_Function.Put(ctx, 'constructor', w_Function, flags=allon)
         
         toString = W_ToString(ctx)
         



More information about the Pypy-commit mailing list