I think this about the limitation to . and .. possibly?
Message: 6
Date: Sat, 10 Nov 2018 11:00:16 +1100
From: Chris Angelico <rosuav@gmail.com>
To: python-ideas <python-ideas@python.org>
Subject: Re: [Python-ideas] Relative Imports
Message-ID:
<
CAPTjJmrtApAXib4wM6FEh-XkpU_cf5RNX2TR0VzCAGgxPPgf5A@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
On Sat, Nov 10, 2018 at 10:52 AM danish bluecheese
<danish.bluecheese@gmail.com> wrote:
??? src
??? __init__.py
??? main.py
??? test
??? __init__.py
??? test_main.py
assume the structure above. To be able to use relative imports with such
fundamental structure either i can go for sys.path hacks or could run as a
module from one further level parent.
I do not like this :D want to be able to use relational imports freely
as soon as I provide correct relational path.
Please let me know, if it is not clear on any aspect.
The main thing that's not clear here is what you're proposing. What is
the idea under discussion?
ChrisA
------------------------------
Subject: Digest Footer
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
------------------------------
End of Python-ideas Digest, Vol 144, Issue 24
*********************************************