Chris Billington wrote:
I wonder how mercurial gets around the fact that its own imports might be shadowed by whatever's in the current working directory.

The cwd is only added to sys.path in the interactive interpreter,
not when you run "python something.py". So it's not usually a
problem for applications implemented in Python.

--
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/

Reply via email to