File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,15 @@ Among other things, `cloudpickle` supports pickling for **lambda functions**
1515along with ** functions and classes defined interactively** in the
1616` __main__ ` module (for instance in a script, a shell or a Jupyter notebook).
1717
18- ** ` cloudpickle ` uses ` pickle.HIGHEST_PROTOCOL ` by default ** : it is meant to
19- send objects between processes running the ** same version of Python** .
18+ Cloudpickle can only be used to send objects between the ** exact same version
19+ of Python** .
2020
2121Using ` cloudpickle ` for ** long-term object storage is not supported and
22- discouraged.**
22+ strongly discouraged.**
23+
24+ ** Security notice** : one should ** only load pickle data from trusted sources** as
25+ otherwise ` pickle.load ` can lead to arbitrary code execution resulting in a critical
26+ security vulnerability.
2327
2428
2529Installation
You can’t perform that action at this time.
0 commit comments