[docs] [issue16278] os.rename documentation slightly inaccurate
Todd Rovito
report at bugs.python.org
Thu Feb 14 13:39:28 CET 2013
Todd Rovito added the comment:
Thanks Terry and Chris you guys have supplied great feedback. I will work on the issue and try to get a new patch updated by end of the weekend (2/18/13).
Sent from my iPhone
On Feb 13, 2013, at 11:56 PM, "Terry J. Reedy" <report at bugs.python.org> wrote:
>
> Terry J. Reedy added the comment:
>
> "directory name.Yet a" needs spaces after '.'.
>
> The text is decent English and clear enough sentence by sentence, but the reality and hence the text as a whole is confusing.
>
> I wonder if it would be possible to make a little table
>
> dest
> ----
> Src file empty-dir non-empty-dir
> ---- -----------------------------------------
> file | | |
>
> dir
>
> with the behavior for each combination indicated, 'success' or 'OSError', with two lines prefixed with Unix, Win where they differ. Then the differences would be much more obvious.
>
> (A separate issue: Patch says that Windows currently raises a different error in one situation. I think it would be better -- in a future version -- if that were caught and reraised as OSError also.)
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue16278>
> _______________________________________
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16278>
_______________________________________
More information about the docs
mailing list