Message282519
os.scandir() returns an iterable object that should not be used
from multiple threads. Doing so can e.g. cause one thread to
close the dirp while another thread is still using it. This is
likely to crash. Similarly, the test for (!iterator->dirp) at
the start of ScandirIterator_iternext() is only done once even
if the following loop runs two or three times because of "." or
".." entries. |
|
Date |
User |
Action |
Args |
2016-12-06 11:50:22 | arigo | set | recipients:
+ arigo |
2016-12-06 11:50:22 | arigo | set | messageid: <1481025022.67.0.209140991294.issue28883@psf.upfronthosting.co.za> |
2016-12-06 11:50:22 | arigo | link | issue28883 messages |
2016-12-06 11:50:22 | arigo | create | |
|