Skip to content

Commit f16c432

Browse files
committed
Replace backlink refs with weakrefs
- includes links to filesystem, patcher and parent dir - in most places the filesystem is assumed (asserted) to exist
1 parent b49f7f0 commit f16c432

13 files changed

+309
-128
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The released versions correspond to PyPI releases.
66

77
### Changes
88
* added more support for PyPy 3
9+
* _Caution:_ many back-link references have been replaced by weak references;
10+
this may have unwanted consequences (crashes) for some untested workflows
911

1012
### Infrastructure
1113
* added PyPy 3.11 to CI, added PyPy builds for all OSes
@@ -14,6 +16,8 @@ The released versions correspond to PyPI releases.
1416
### Fixes
1517
* fixed a problem with `readable` raising an error on a file object.
1618
(see [#1265](https://github.com/pytest-dev/pyfakefs/issues/1265))
19+
* avoid memory accumulation in consecutive tests by using weak references
20+
(see [#1267](https://github.com/pytest-dev/pyfakefs/issues/1267))
1721

1822
## [Version 6.0.0](https://pypi.python.org/pypi/pyfakefs/6.0.0) (2025-12-21)
1923
Removes some deprecated functionality, removes support for Python < 3.10.

0 commit comments

Comments
 (0)