On Mon, Jun 5, 2017 at 3:55 AM, Victor Stinner <victor.stin...@gmail.com>
wrote:

> A minimum change would be to add the (empty string) at the end of sys.path
> in Python 3.7 rather than adding it at the start.
>
> It would increase Python usability since it avoids the "random has no
> randint() function" caused by a random.py file in the script directory. In
> my experience, this bug hits every developers starting to learn Python and
> it can be very strange when you get the error when trying to run IDLE.
>

But it would add the "why won't python import my file?!??!" problem, which
newbies also struggle with.

Which leaves me with no suggestion for a solution...

-CHB



-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov
_______________________________________________
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