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

2021-04-25 Thread Irit Katriel


Irit Katriel  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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2016-06-30 Thread Niall Mansfield

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com