

InterviewSolution
Saved Bookmarks
1. |
What is the pickling?(a) It is used for object serialization(b) It is used for object deserialization(c) None of the mentioned(d) All of the mentionedThe question was asked in class test.The above asked question is from Files topic in division Regular Expressions and Files of Python |
Answer» RIGHT answer is (a) It is used for object serialization The 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. |
|