On Thu, Jan 31, 2013 at 5:50 PM, Nick Coghlan firstname.lastname@example.org wrote:
On Fri, Feb 1, 2013 at 5:56 AM, Eric Snow email@example.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.