Message165629
Patch updated.
- SameFileError is now derived from EnvironmentError.
- Fixed documentation.
- Fixed test method name.
I investigated this patch:
- shutil.copyfile() and shutil.copy() raises SameFileError if source and destination are same file.
- shutil.move() never raises SameFileError. shutil.move() may raise exception if source and dest are same file, but it depends on underlying implementation of platform. Linux and Windows don't raise exception in this case.
- I am opposed to change shutil.move() to raise SameFileError, because such incompatible change can break existing applilcations. |
|
Date |
User |
Action |
Args |
2012-07-16 16:03:22 | ishimoto | set | recipients:
+ ishimoto, nnorwitz, anthonybaxter, zooko, pitrou, tarek, eric.araujo, BreamoreBoy, gennad, hynek |
2012-07-16 16:03:22 | ishimoto | set | messageid: <1342454602.04.0.694031244146.issue1492704@psf.upfronthosting.co.za> |
2012-07-16 16:03:21 | ishimoto | link | issue1492704 messages |
2012-07-16 16:03:21 | ishimoto | create | |
|