
Feb. 4, 2013
11:57 p.m.
On Thu, Jan 31, 2013 at 5:50 PM, Nick Coghlan <ncoghlan@gmail.com> wrote:
On Fri, Feb 1, 2013 at 5:56 AM, Eric Snow <ericsnowcurrently@gmail.com> wrote:
... or making sys an instance of another type, as someone suggested.
sys is already special cased so heavily in the interpreter initialization, making it a little more special really wouldn't bother me much :)
One benefit of this is that sys.modules could be made a [carefully done] property that wraps interp->modules, making sys.modules truly replaceable, which would simplify a number of different places where we've had to work around it. -eric