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.

Title: docs for os.symlink(src, dst) doesn't mention exceptions
Type: behavior Stage:
Components: Documentation Versions: Python 3.0, Python 2.6, Python 2.5
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: dgardner, georg.brandl
Priority: normal Keywords:

Created on 2008-01-11 23:46 by dgardner, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit dgardner, 2008-01-11 23:46
Messages (3)
msg59762 - (view) Author: David Gardner (dgardner) Date: 2008-01-11 23:46
the docs for os.symlink at:
don't mention if the function raises an exception if there was a file
permission failure.
msg59763 - (view) Author: David Gardner (dgardner) Date: 2008-01-11 23:48
the output of looks like:
<type 'instance'>
(13, 'Permission denied')
[Errno 13] Permission denied
msg59812 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-01-12 10:54
Most of the os functions don't specify that they raise OSError in the
case of invalid or inaccessible paths.

I've now added a general note to that effect in r59930.
Date User Action Args
2022-04-11 14:56:29adminsetgithub: 46134
2008-01-12 10:54:08georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg59812
2008-01-11 23:53:09christian.heimessetpriority: normal
assignee: georg.brandl
nosy: + georg.brandl
versions: + Python 2.6, Python 3.0
2008-01-11 23:48:31dgardnersetmessages: + msg59763
2008-01-11 23:46:32dgardnercreate