Bizarre error from help()

Ben Finney bignose+hates-spam at benfinney.id.au
Tue Aug 9 23:48:31 EDT 2005


Roy Smith <roy at panix.com> wrote:
> I've got a directory where I keep all sorts of little snippets of
> python code for testing.  When I start up python in that directory,
> I get the error I reported.  It turns out, I've got a file called
> "string.py" in it [...]
> 
> something in the help system must be doing an "import string".

All hail the coming of PEP 328:

    <URL:http://www.python.org/peps/pep-0328.html>

-- 
 \                "The best ad-libs are rehearsed."  -- Graham Kennedy |
  `\                                                                   |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list