Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
7bbbb916 by Cédric Krier at 2024-01-15T23:48:50+01:00
Prevent modify mutable cached value

The cached values are copied when set and copied again when returned so the
stored values can never be modified.

Closes #9558
- - - - -


2 changed files:

- trytond/trytond/cache.py
- trytond/trytond/tests/test_cache.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/7bbbb91621ab3759dfdc04de3aa1754c89ef145d

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/7bbbb91621ab3759dfdc04de3aa1754c89ef145d
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to