PyIRC issueshttps://code.foxkit.us/IRC/PyIRC/-/issues2019-09-02T19:55:45Zhttps://code.foxkit.us/IRC/PyIRC/-/issues/10Investigate use of a library for extension discovery2019-09-02T19:55:45ZElizabeth MyersInvestigate use of a library for extension discoveryThis may be of use: https://pythonhosted.org/setuptools/pkg_resources.html#locating-plugins and would be better than the present hack in place to find extensions.
Right now there can be multiple extensions per file, which we actually ...This may be of use: https://pythonhosted.org/setuptools/pkg_resources.html#locating-plugins and would be better than the present hack in place to find extensions.
Right now there can be multiple extensions per file, which we actually use (for SASL and for altnick). Does this have to change?https://code.foxkit.us/IRC/PyIRC/-/issues/7Unit tests2019-09-02T19:55:45ZElizabeth MyersUnit testsWe need unit tests! Mocking things is probably the way to go here for anything network-based. The library should be pretty easy to write tests for.We need unit tests! Mocking things is probably the way to go here for anything network-based. The library should be pretty easy to write tests for.First releasehttps://code.foxkit.us/IRC/PyIRC/-/issues/4Allow extensions to be reloaded2019-09-02T19:55:45ZElizabeth MyersAllow extensions to be reloadedExtensions should be reloadable at runtime, but there needs to be a way to serialise their state. I am thinking a callback in the extension to serialise needed state. However, perhaps bad state is the reason reloading is being done? I do...Extensions should be reloadable at runtime, but there needs to be a way to serialise their state. I am thinking a callback in the extension to serialise needed state. However, perhaps bad state is the reason reloading is being done? I don't know how to handle this...