Re: Collection: weak error prompt drives beginner crazy

2016-04-04 Thread Ned Batchelder
On Monday, April 4, 2016 at 7:31:38 AM UTC-4, animalize wrote: > An example, the file-name is conflict with library-name in stdlib or > installed library. > > There is a file uuid.py that only has two lines: > > import uuid > print(uuid.uuid4()) > > Run uuid.py, output on Python 3.5.1

Re: Collection: weak error prompt drives beginner crazy

2016-04-04 Thread Joel Goldstick
On Mon, Apr 4, 2016 at 7:24 AM, animalize wrote: > An example, the file-name is conflict with library-name in stdlib or > installed library. > > There is a file uuid.py that only has two lines: > > import uuid > print(uuid.uuid4()) > > Run uuid.py, output on Python 3.5.1: > > Traceback