Author terry.reedy
Recipients ADataGman, brett.cannon, docs@python, eric.snow, ncoghlan, terry.reedy
Date 2019-02-08.19:14:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549653261.55.0.860418125305.issue35927@roundup.psfhosted.org>
In-reply-to
Content
3.6 only gets security patches.

I cannot comment on relative imports as I never use them, but the absolute imports should work and do for me.  I just added to idlelib.idle_test a file a.py containing 'from idlelib.idle_test import htest' and it works find.  The idlelib and idle_test __init__.py files are not empty, but that should not make a difference.  In fact, many of the test_xyz modules already import from the non-test utility modules in the same directory.

The error messsage suggests that you did not put the top level package directory, 'sound', in a directory in sys.path, as you must.  What directory contains your sound package and what is your sys.path?  I suspect that this should be closed as 'not a bug'.
History
Date User Action Args
2019-02-08 19:14:23terry.reedysetrecipients: + terry.reedy, brett.cannon, ncoghlan, docs@python, eric.snow, ADataGman
2019-02-08 19:14:21terry.reedysetmessageid: <1549653261.55.0.860418125305.issue35927@roundup.psfhosted.org>
2019-02-08 19:14:21terry.reedylinkissue35927 messages
2019-02-08 19:14:21terry.reedycreate