jfhbrook / pyee

A rough port of Node.js's EventEmitter to Python with a few tricks of its own
https://github.com/jfhbrook/public
MIT License
371 stars 39 forks source link

Refactor import paths #88

Closed jfhbrook closed 2 years ago

jfhbrook commented 3 years ago

This PR refactors import paths so that I will eventually not have to do ImportError checks inside __init__.py. Basically, things like this:

from pyee import TwistedEventEmitter

are deprecated in favor of:

from pyee.twisted import TwistedEventEmitter

Closes #87.

jfhbrook commented 2 years ago

fI made this change already elsewhere. Derf.