[issue27420] Docs for os.link - say what happens if link already exists

New submission from Niall Mansfield: In os.link(source, link_name) Change Create a hard link pointing to source named link_name. to Create a hard link pointing to source named link_name. If link_name already exists, OSError is raised. ---------- assignee: docs@python components: Documentation messages: 269572 nosy: docs@python, python-bugs-uit priority: normal severity: normal status: open title: Docs for os.link - say what happens if link already exists type: enhancement versions: Python 2.7 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27420> _______________________________________

Irit Katriel <iritkatriel@yahoo.com> added the comment: There is a general note at the top of the module: "Note: All functions in this module raise OSError (or subclasses thereof) in the case of invalid or inaccessible file names and paths, or other arguments that have the correct type, but are not accepted by the operating system." So there seems to have been a decision not state this separately for each function in the module. ---------- nosy: +iritkatriel resolution: -> wont fix stage: -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue27420> _______________________________________

Irit Katriel <iritkatriel@yahoo.com> added the comment: There is a general note at the top of the module: "Note: All functions in this module raise OSError (or subclasses thereof) in the case of invalid or inaccessible file names and paths, or other arguments that have the correct type, but are not accepted by the operating system." So there seems to have been a decision not state this separately for each function in the module. ---------- nosy: +iritkatriel resolution: -> wont fix stage: -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue27420> _______________________________________
participants (2)
-
Irit Katriel
-
Niall Mansfield