shutil _isindir

D

David Hoese

I was about to submit a bug report, but while testing I have figured out
that my specific problem has been solved in Python 2.7 (server that I
was using had 2.6 on it). You can see the differences here:

2.6: http://hg.python.org/cpython/file/b9a95ce2692c/Lib/shutil.py
2.7: http://hg.python.org/cpython/file/d30482d51c25/Lib/shutil.py

You'll notice that in move(), there is now a check for the same file,
which if they're not the same file you don't get unexpected deleted
files. If you still think I should submit a bug report let me know and
provide me with the test case...or just submit the bug yourself.

-Dave

P.S. Sorry for the original poor subject line, was a place holder
that I forgot to change.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top