After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 757509 - __init__.py causes to ignore some inheritance
__init__.py causes to ignore some inheritance
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.11-GIT
Other Linux
: Normal major
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2015-11-03 05:10 UTC by c.buhtz
Modified: 2016-09-05 13:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
code to reproduce (135.15 KB, application/gzip)
2015-11-03 05:10 UTC, c.buhtz
Details

Description c.buhtz 2015-11-03 05:10:27 UTC
Created attachment 314697 [details]
code to reproduce

The problem here is that a.ABase in the inheritance tree of B is not linkable.
Even when you look at the tree for a.ABase the class B is not shown.

This depends on the existence of the __init__.py file. I don't know why.

I added sample to reproduce this.
When you delete the __init__.py everything is fine.
Comment 1 c.buhtz 2015-11-03 21:14:05 UTC
Please see https://docs.python.org/3.5/tutorial/modules.html#packages for details about how __init__.py is treated in Python.
Comment 2 c.buhtz 2015-11-15 23:53:04 UTC
Did someone tried to reproduce it?
Comment 3 c.buhtz 2015-12-12 10:13:33 UTC
No one tried?
Comment 4 Dimitri van Heesch 2015-12-13 09:47:17 UTC
Just did, could indeed reproduce it.
More investigation needed to find the root cause.
Comment 5 c.buhtz 2016-01-09 18:47:40 UTC
This was the bug I was looking for. Can reproduce it with the current git.
Comment 6 Dimitri van Heesch 2016-02-14 12:37:27 UTC
Confirmed. I've just pushed a possible fix to GitHub.
Comment 7 c.buhtz 2016-02-14 12:56:11 UTC
Thank you very much. This works for my example.
Comment 8 Kevin McBride 2016-02-14 14:30:35 UTC
Dimitri wants fixed bugs that are not yet in a release to be set to ASSIGNED.  This allows Dimitri to log fixed bugs.
Comment 9 Dimitri van Heesch 2016-09-05 13:46:22 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.12. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information 
that you think can be relevant (preferably in the form of a self-contained example).