tcalmant / ipopo

iPOPO: a Service-Oriented Component Model for Python
https://ipopo.readthedocs.io/
Apache License 2.0
69 stars 28 forks source link

Error in when normalizing path of some modules #107

Closed tcalmant closed 4 years ago

tcalmant commented 4 years ago

Seems like some DLL-based modules (.pyd) don't have a __path__ set. This causes a TypeError exception in pelix.framework.normalize_path.

The proposed solution is to just check if __path__ is set before updating it.

(Issue encountered with Python 3.7)