mirror of
https://github.com/django/django.git
synced 2025-01-19 06:43:15 +00:00
8e838d9c86
This also fixes a possible data eviction race condition between setting and getting a key. Another thread could remove the key before get_and_set() accesses it again. In this case, now the default value will be returned instead of None.