[Python-ideas] Python-ideas Digest, Vol 144, Issue 24

Alex Shafer ashafer01 at gmail.com
Fri Nov 9 19:22:57 EST 2018


I think this about the limitation to . and .. possibly?

>
> Message: 6
> Date: Sat, 10 Nov 2018 11:00:16 +1100
> From: Chris Angelico <rosuav at gmail.com>
> To: python-ideas <python-ideas at python.org>
> Subject: Re: [Python-ideas] Relative Imports
> Message-ID:
>         <
> CAPTjJmrtApAXib4wM6FEh-XkpU_cf5RNX2TR0VzCAGgxPPgf5A at mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> On Sat, Nov 10, 2018 at 10:52 AM danish bluecheese
> <danish.bluecheese at 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 at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
>
>
> ------------------------------
>
> End of Python-ideas Digest, Vol 144, Issue 24
> *********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20181109/332f663b/attachment.html>


More information about the Python-ideas mailing list