Message4313
__builtins__ is used incorrectly in roundup/instance.py, see http://
docs.python.org/library/__builtin__.html:
CPython implementation detail: Most modules have the name __builtins__
(note the 's') made available as part of their globals. The value of
__builtins__ is normally either this module or the value of this
modules’s __dict__ attribute. Since this is an implementation detail,
it may not be used by alternate implementations of Python.
Instead of using __builtins__['open'] it should use __builtin__.open
Note that this issue prevents roundup from working under pypy. |
|
Date |
User |
Action |
Args |
2011-06-21 20:57:19 | cmeerw | set | recipients:
+ cmeerw |
2011-06-21 20:57:19 | cmeerw | set | messageid: <1308689839.66.0.484069926125.issue2550707@psf.upfronthosting.co.za> |
2011-06-21 20:57:19 | cmeerw | link | issue2550707 messages |
2011-06-21 20:57:19 | cmeerw | create | |
|