[pypy-issue] [issue876] __builtins__ ain't modifyable in pypy, but it works in CPython 2.7.2.

Stian Andreassen tracker at bugs.pypy.org
Thu Sep 22 04:37:54 CEST 2011


New submission from Stian Andreassen <stian at tech1.org>:

__builtins__["something"] = "test"

Pypy gives:
Traceback (most recent call last):                                             
                                                                               
          
  File "<console>", line 1, in <module>                                        
                                                                               
          
TypeError: 'module' object does not support item assignment 

Python 2.7.2 have no problems doing this.

----------
messages: 3157
nosy: pypy-issue, stian
priority: bug
status: unread
title: __builtins__ ain't modifyable in pypy, but it works in CPython 2.7.2.

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue876>
________________________________________


More information about the pypy-issue mailing list