dsoprea / PyInotify

An efficient and elegant inotify (Linux filesystem activity monitor) library for Python. Python 2 and 3 compatible.
GNU General Public License v2.0
242 stars 73 forks source link

guarante ordering of event_names list in the event-tuples #64

Closed Elias481 closed 5 years ago

Elias481 commented 5 years ago

account for issue https://github.com/dsoprea/PyInotify/issues/41 - but do not change interface

As I encountered similiar problems as documented in issue #41 running tests and the current implementation is more expensive than it should (there can be many _get_event_names calls) I implemented this one.

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.9%) to 84.211% when pulling c912e83efbc9dd50aad263dd382679f79502949e on Elias481:fix-issue-41-guarantee-event_names-order into 288a2b01fd4a726dc68d960f8351630aee788a13 on dsoprea:master.