File: RLock-around-send-8adf0487b887f378.yaml

package info (click to toggle)
python-requests-mock 1.12.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 656 kB
  • sloc: python: 2,339; makefile: 162
file content (8 lines) | stat: -rw-r--r-- 364 bytes parent folder | download
1
2
3
4
5
6
7
8
---
fixes:
  - |
    In some multithreading situations the mocker might try and replace an
    already patched object from a different thread. To make this thread safe we
    will put a lock around the mocker so that only one thread can work with the
    mocker at any time. This has to be a reentrant lock as the same thread can
    go through it multiple times.