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 terry.reedy
Recipients David.Benjamin, Todd.Rovito, asvetlov, chris.jerdonek, docs@python, ezio.melotti, orsenthil, terry.reedy
Date 2013-02-14.04:56:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360817762.4.0.28366937755.issue16278@psf.upfronthosting.co.za>
In-reply-to
Content
"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.)
History
Date User Action Args
2013-02-14 04:56:02terry.reedysetrecipients: + terry.reedy, orsenthil, ezio.melotti, asvetlov, chris.jerdonek, docs@python, Todd.Rovito, David.Benjamin
2013-02-14 04:56:02terry.reedysetmessageid: <1360817762.4.0.28366937755.issue16278@psf.upfronthosting.co.za>
2013-02-14 04:56:02terry.reedylinkissue16278 messages
2013-02-14 04:56:01terry.reedycreate