• Kevin Modzelewski's avatar
    dict.copy, obj.__dict__, str.split(max_split=) · 0ba7e94f
    Kevin Modzelewski authored
    With these changes, the optparse test successfully runs!
    It outputs a slightly different thing for us, since it
    looks at the str of obj.__dict__, which for us is currently
    an AttrWrapper.
    
    I think this case is benign, so I'm hopeful that we'll be able
    to keep __dict__ as an AttrWrapper and not as a full dict
    (which would require deoptimizing that object and/or tracking
    the existence of that dict to see if we can reoptimize).
    I'm not sure if we'll be able to, but there's only one way to find out.
    0ba7e94f
dict.cpp 10.2 KB