Commit 1f74810
committed
fix: use actual C types for threading lock isinstance checks
threading.Lock and threading.RLock are factory functions, not types —
they can't be used in isinstance(). Use _thread.LockType and
_thread.RLock which are the actual C extension types.1 parent 86eefcf commit 1f74810
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
640 | | - | |
641 | | - | |
| 640 | + | |
642 | 641 | | |
643 | 642 | | |
644 | 643 | | |
| |||
0 commit comments