Conversation
|
Thanks for the report @mnesarco 🙂 Would it be possible for you to share the code that triggered this error? Or the project Git URL directly? I'd like to know why the |
|
From what I found, it seems that |
|
Anyway, in practice if some dynamically built objects have their |
|
@pawamoy What I do is basically: |
|
I see, thanks, that's what I wanted to know. I suppose some of these compiled objects are mistakenly given a module instance as |
|
WDYT of these log messages? |
Excellent! thank you. |
For reviewers
Description of the change
module_pathproperty returns ModuleType in some scenarios whereself.obj.__module__has aModuleTypevalue, this causes bugs because other functions assume it returns a string with the name of the module.It is not clear to me why
self.obj.__module__isModuleTypesometimes andstrother times.