@@ -48,10 +48,9 @@ def dump(obj: Any, file: str | Path | BinaryIO) -> None:
48
48
49
49
.. warning::
50
50
51
- This feature is very early in development, which means the API is
52
- unstable and it is **not secure** at the moment. Therefore, use the same
53
- caution as you would for ``pickle``: Don't load from sources that you
54
- don't trust. In the future, more security will be added.
51
+ This feature is heavily under development, which means the API is
52
+ unstable and there might be security issues at the moment. Therefore,
53
+ use caution when loading files from sources you don't trust.
55
54
56
55
Parameters
57
56
----------
@@ -78,10 +77,9 @@ def dumps(obj: Any) -> bytes:
78
77
79
78
.. warning::
80
79
81
- This feature is very early in development, which means the API is
82
- unstable and it is **not secure** at the moment. Therefore, use the same
83
- caution as you would for ``pickle``: Don't load from sources that you
84
- don't trust. In the future, more security will be added.
80
+ This feature is heavily under development, which means the API is
81
+ unstable and there might be security issues at the moment. Therefore,
82
+ use caution when loading files from sources you don't trust.
85
83
86
84
Parameters
87
85
----------
@@ -102,10 +100,9 @@ def load(file: str | Path, trusted: bool | Sequence[str] = False) -> Any:
102
100
103
101
.. warning::
104
102
105
- This feature is very early in development, which means the API is
106
- unstable and it is **not secure** at the moment. Therefore, use the same
107
- caution as you would for ``pickle``: Don't load from sources that you
108
- don't trust. In the future, more security will be added.
103
+ This feature is heavily under development, which means the API is
104
+ unstable and there might be security issues at the moment. Therefore,
105
+ use caution when loading files from sources you don't trust.
109
106
110
107
Parameters
111
108
----------
@@ -141,10 +138,9 @@ def loads(data: bytes, trusted: bool | Sequence[str] = False) -> Any:
141
138
142
139
.. warning::
143
140
144
- This feature is very early in development, which means the API is
145
- unstable and it is **not secure** at the moment. Therefore, use the same
146
- caution as you would for ``pickle``: Don't load from sources that you
147
- don't trust. In the future, more security will be added.
141
+ This feature is heavily under development, which means the API is
142
+ unstable and there might be security issues at the moment. Therefore,
143
+ use caution when loading files from sources you don't trust.
148
144
149
145
Parameters
150
146
----------
0 commit comments