I'm not comfortable with the subject title of this thread. I'm comfortable with the experiences and solutions proposed by Nick.
On Sat, Jun 3, 2017 at 8:16 PM, Greg Ewing <greg.ew...@canterbury.ac.nz> wrote: > Soni L. wrote: > >> How about `import self.thing` (where "self" implies same dir as the >> current .py >> > > That wouldn't provide quite the same functionality, since > currently a module alongside the main py file can be imported > from anywhere, including .py files inside a package. > > Also I think it would be confusing to have two very similar > but subtly different relative import mechanisms. > > -- > Greg > > _______________________________________________ > Python-ideas mailing list > Python-ideas@python.org > https://mail.python.org/mailman/listinfo/python-ideas > Code of Conduct: http://python.org/psf/codeofconduct/ > -- Juancarlo *Añez*
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/