Commits

Guido van Rossum  committed e091e9d

Whoops! Add a missing 'instantiated = 1' to load_inst(); otherwise it
would still try to call the class...

  • Participants
  • Parent commits 6c59498
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Lib/pickle.py

             try:
                 value = _EmptyClass()
                 value.__class__ = klass
+                instantiated = 1
             except RuntimeError:
                 # In restricted execution, assignment to inst.__class__ is
                 # prohibited