This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve21
Recipients georg.brandl, steve21
Date 2008-12-01.04:38:37
SpamBayes Score 4.7673828e-07
Marked as misclassified No
Message-id <>
$ python3.0
Python 3.0rc3 (r30rc3:67312, Nov 22 2008, 21:38:46)
>>> import shutil
>>> shutil.copyfile('/tmp/f', '/tmp/f')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/a/lib/python3.0/", line 47, in copyfile
    raise Error("`%s` and `%s` are the same file" % (src, dst))
shutil.Error: `/tmp/f` and `/tmp/f` are the same file

The Python 3 docs at
mention that copyfile can raise IOError, but they omit to mention that
copyfile can also raise shutil.Error.

Also, just out of interest, I notice that Sphinx now supports the
':raises:' field. Are there any plans for the Python documentation to
start using it?
Date User Action Args
2008-12-01 04:38:38steve21setrecipients: + steve21, georg.brandl
2008-12-01 04:38:38steve21setmessageid: <>
2008-12-01 04:38:37steve21linkissue4478 messages
2008-12-01 04:38:37steve21create