Commit c67dbd4
authored
Add some gc safety around _mysql__fetch_row (PyMySQL#348)
Users of gc.get_referrers() could cause a SystemError to be raised if this function is running in a different python thread.1 parent 18163d7 commit c67dbd4
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1373 | 1373 | | |
1374 | 1374 | | |
1375 | 1375 | | |
1376 | | - | |
1377 | | - | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
1378 | 1383 | | |
| 1384 | + | |
1379 | 1385 | | |
1380 | 1386 | | |
1381 | 1387 | | |
| |||
0 commit comments