events
events copied to clipboard
Python Event Handling the C# Style
I'm trying to catch some event coming from a .NET application DLL. I don't see how I can use this library to do that. Any suggestions?
I am trying to use Events in combination with pynsist to build a build a windows installer: https://pynsist.readthedocs.io/en/latest/index.html However, pynsist only consumes `wheel` files as packages (which I see as...
When `__getattr__` raises an EventsException for a missing attribute, it breaks `getattr(obj, name, default)`. Simple test that reproduces it: ```python class TestGetattr(TestBase): def test_getattr(self): events = Events(('on_event', )) assert getattr(events,...
Hi there, has anybody an simple example how I write a pytest-Test which checks if an event is correctly fired? I've looked in tests of this repo but to be...
in one codeblock
### Expected Behavior I expect calling any non existing method will raise an Exception. Flask do this, Eve does not. Is this a bug or is the change in behaviour...
I added the population of the `__dict__` variable with `__events__` (if present), when the `Events` class is instantiated. I did this as I noticed an issue where events could be...
`setup.py test` is deprecated since setuptools 41.5.0: https://setuptools.pypa.io/en/latest/history.html#v41-5-0 setuptools 72.0.0 removed support for deprecated `setup.py test` command: https://setuptools.pypa.io/en/stable/history.html#v72-0-0 > The test command has been removed. Users relying on ‘setup.py test’...