4 ms·
I think these flaws are fairly minor, at least you seem to be nudged towards use cases where you're not overly reliant on pickle for complex work. If readabili
by lordnacho 6y ago
I think these flaws are fairly minor, at least you seem to be nudged towards use cases where you're not overly reliant on pickle for complex work.
If readability is an issue there's a JSON version that's quite useful.
Other than that, most of the other concerns are addressable. If security matter perhaps use an encryption lib around the pickle, rather than ask for it to be built into it? As for speed, you're already using python and chances are you're not constantly pickling and unpickling?
- price 6y agoEncryption won't do you any good - encrypted messages can be forged. But let's say you meant a signature or other form of authentication. That still does you no good if you're, say, a server getting data from a client. Very few servers want to allow clients to execute arbitrary code inside them. That still leaves some situations where it can be used - but it's a major limitation on the scope of those situations.