β
Correct Answer: (A)
it is used for object serialization
Explanation: pickle is the standard mechanism for object serialization. pickle uses a simple stack-based virtual machine that records the instructions used to reconstruct the object. this makes pickle vulnerable to security risks by malformed or maliciously constructed data, that may cause the deserializer to import arbitrary modules and instantiate any object.
Explanation by: Mr. Dubey
pickle is the standard mechanism for object serialization. pickle uses a simple stack-based virtual machine that records the instructions used to reconstruct the object. this makes pickle vulnerable to security risks by malformed or maliciously constructed data, that may cause the deserializer to import arbitrary modules and instantiate any object.
Discussion
Question Analytics
485
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
87%
Success Rate