Roundup Tracker - Issues

Message4313

Author cmeerw
Recipients cmeerw
Date 2011-06-21.20:57:18
Message-id <1308689839.66.0.484069926125.issue2550707@psf.upfronthosting.co.za>
In-reply-to
__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.
History
Date User Action Args
2011-06-21 20:57:19cmeerwsetrecipients: + cmeerw
2011-06-21 20:57:19cmeerwsetmessageid: <1308689839.66.0.484069926125.issue2550707@psf.upfronthosting.co.za>
2011-06-21 20:57:19cmeerwlinkissue2550707 messages
2011-06-21 20:57:19cmeerwcreate