File tree Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,6 +18,20 @@ Hypothesis 6.x
18
18
19
19
.. include :: ../RELEASE.rst
20
20
21
+ .. _v6.58.0 :
22
+
23
+ -------------------
24
+ 6.58.0 - 2022-11-19
25
+ -------------------
26
+
27
+ :func: `~hypothesis.register_random ` has used :mod: `weakref ` since :ref: `v6.27.1 `,
28
+ allowing the :class: `~random.Random `-compatible objects to be garbage-collected when
29
+ there are no other references remaining in order to avoid memory leaks.
30
+ We now raise an error or emit a warning when this seems likely to happen immediately.
31
+
32
+ The type annotation of :func: `~hypothesis.register_random ` was also widened so that
33
+ structural subtypes of :class: `~random.Random ` are accepted by static typecheckers.
34
+
21
35
.. _v6.57.1 :
22
36
23
37
-------------------
Original file line number Diff line number Diff line change 8
8
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
9
9
# obtain one at https://mozilla.org/MPL/2.0/.
10
10
11
- __version_info__ = (6 , 57 , 1 )
11
+ __version_info__ = (6 , 58 , 0 )
12
12
__version__ = "." .join (map (str , __version_info__ ))
You can’t perform that action at this time.
0 commit comments