You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally noticed here: #90, and now I can reproduce it.
The AttributeError keeps popping up, for example in del:
File "/home/to7m/.local/lib/python3.9/site-packages/inotify/adapters.py", line 79, in __del__
os.close(self.__inotify_fd)
AttributeError: 'Inotify' object has no attribute '_Inotify__inotify_fd'
On my system, the following code reproduces the problem consistently:
from multiprocessing import Process
from inotify.adapters import Inotify
from time import sleep
def proc():
inotify_obj = Inotify()
sleep(60)
process_count = 1000
for _ in range(process_count):
Process(target=proc).start()
It may be necessary to increase process_count on other systems to expose the bug.
The text was updated successfully, but these errors were encountered:
OS: Arch Linux
Python version: 3.9.1
Originally noticed here: #90, and now I can reproduce it.
The AttributeError keeps popping up, for example in del:
On my system, the following code reproduces the problem consistently:
It may be necessary to increase
process_count
on other systems to expose the bug.The text was updated successfully, but these errors were encountered: