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
The zencoding package is placed in one of my plugin folders. Importing zen_actions and zen_core works fine. The problem arises when either of this packages try to import zencoding.filters. So I spent the better part of yesterday trying to figure out what's going in. I latter discover some magic going on in filters.init.py. Don't fully understand it or why it's needed, but it's cause import problems. In fact, I can't import zencoding.filters. Strange and unusual since I don't have this problem with any other python package. I suspect the magic going on in filters.init.py is going to break my python packages.
Also in zen_actions.py, why are you import zencoding to get zen_core when both zen_core and zen_actions are in the same package? You are doing:
from zencoding import zen_core as zen_coding
from zencoding import html_matcher
when you could just do
import zen_core as zen_coding
import html_matcher
Anyway this import problems are cause problem in my application. Do I need to do a global import somewhere to avoid these problems? Am I missing something?
The text was updated successfully, but these errors were encountered:
The zencoding package is placed in one of my plugin folders. Importing zen_actions and zen_core works fine. The problem arises when either of this packages try to import zencoding.filters. So I spent the better part of yesterday trying to figure out what's going in. I latter discover some magic going on in filters.init.py. Don't fully understand it or why it's needed, but it's cause import problems. In fact, I can't import zencoding.filters. Strange and unusual since I don't have this problem with any other python package. I suspect the magic going on in filters.init.py is going to break my python packages.
Also in zen_actions.py, why are you import zencoding to get zen_core when both zen_core and zen_actions are in the same package? You are doing:
from zencoding import zen_core as zen_coding
from zencoding import html_matcher
when you could just do
import zen_core as zen_coding
import html_matcher
Anyway this import problems are cause problem in my application. Do I need to do a global import somewhere to avoid these problems? Am I missing something?
The text was updated successfully, but these errors were encountered: