Fixed unserialize private and protected field bug of Ruby & Python.
Authored by: andot 2009-01-18
Parent: [r514]
Child: [r516]