• Guido van Rossum's avatar
    Address SF #451547. The approach is a bit draconian: any object that · b0a98e9c
    Guido van Rossum yazdı
    is pickled as a global must now exist by the name under which it is
    pickled, otherwise the pickling fails.  Previously, such things would
    fail on unpickling, or unpickle as the wrong global object.  I'm
    hoping that this won't break existing code that is playing tricks with
    this.
    
    I need a volunteer to do this for cPickle too.
    b0a98e9c
pickle.py 26.5 KB