A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-May/111371.html below:

[Python-Dev] [Python-checkins] cpython (3.1): Fix for issue 10684: Folders get deleted when trying to change case with

[Python-Dev] [Python-checkins] cpython (3.1): Fix for issue 10684: Folders get deleted when trying to change case with [Python-Dev] [Python-checkins] cpython (3.1): Fix for issue 10684: Folders get deleted when trying to change case withÉric Araujo merwok at netwok.org
Fri May 13 17:44:00 CEST 2011
Hi,

Le 06/05/2011 11:32, ronald.oussoren a écrit :
> http://hg.python.org/cpython/rev/26da299ca88e
> summary:
>   Fix for issue 10684: Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)
> 
> -    except OSError:
> +    except OSError as exc:
>          if os.path.isdir(src):
>              if _destinsrc(src, dst):
>                  raise Error("Cannot move a directory '%s' into itself '%s'." % (src, dst))

Is this change a debugging leftover?

Regards
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4