mirror of
https://github.com/python/cpython.git
synced 2025-09-15 05:06:12 +00:00
bpo-44040: Update broken link in pathlib source (GH-25905) (GH-25910)
(cherry picked from commit 96d5c7038b
)
Co-authored-by: Kevin Follstad <kfollstad@gmail.com>
This commit is contained in:
parent
b19ec7f9df
commit
ce4fee210b
1 changed files with 6 additions and 6 deletions
|
@ -1295,7 +1295,7 @@ class Path(PurePath):
|
|||
if not _ignore_error(e):
|
||||
raise
|
||||
# Path doesn't exist or is a broken symlink
|
||||
# (see https://bitbucket.org/pitrou/pathlib/issue/12/)
|
||||
# (see http://web.archive.org/web/20200623061726/https://bitbucket.org/pitrou/pathlib/issues/12/ )
|
||||
return False
|
||||
except ValueError:
|
||||
# Non-encodable path
|
||||
|
@ -1312,7 +1312,7 @@ class Path(PurePath):
|
|||
if not _ignore_error(e):
|
||||
raise
|
||||
# Path doesn't exist or is a broken symlink
|
||||
# (see https://bitbucket.org/pitrou/pathlib/issue/12/)
|
||||
# (see http://web.archive.org/web/20200623061726/https://bitbucket.org/pitrou/pathlib/issues/12/ )
|
||||
return False
|
||||
except ValueError:
|
||||
# Non-encodable path
|
||||
|
@ -1363,7 +1363,7 @@ class Path(PurePath):
|
|||
if not _ignore_error(e):
|
||||
raise
|
||||
# Path doesn't exist or is a broken symlink
|
||||
# (see https://bitbucket.org/pitrou/pathlib/issue/12/)
|
||||
# (see http://web.archive.org/web/20200623061726/https://bitbucket.org/pitrou/pathlib/issues/12/ )
|
||||
return False
|
||||
except ValueError:
|
||||
# Non-encodable path
|
||||
|
@ -1379,7 +1379,7 @@ class Path(PurePath):
|
|||
if not _ignore_error(e):
|
||||
raise
|
||||
# Path doesn't exist or is a broken symlink
|
||||
# (see https://bitbucket.org/pitrou/pathlib/issue/12/)
|
||||
# (see http://web.archive.org/web/20200623061726/https://bitbucket.org/pitrou/pathlib/issues/12/ )
|
||||
return False
|
||||
except ValueError:
|
||||
# Non-encodable path
|
||||
|
@ -1395,7 +1395,7 @@ class Path(PurePath):
|
|||
if not _ignore_error(e):
|
||||
raise
|
||||
# Path doesn't exist or is a broken symlink
|
||||
# (see https://bitbucket.org/pitrou/pathlib/issue/12/)
|
||||
# (see http://web.archive.org/web/20200623061726/https://bitbucket.org/pitrou/pathlib/issues/12/ )
|
||||
return False
|
||||
except ValueError:
|
||||
# Non-encodable path
|
||||
|
@ -1411,7 +1411,7 @@ class Path(PurePath):
|
|||
if not _ignore_error(e):
|
||||
raise
|
||||
# Path doesn't exist or is a broken symlink
|
||||
# (see https://bitbucket.org/pitrou/pathlib/issue/12/)
|
||||
# (see http://web.archive.org/web/20200623061726/https://bitbucket.org/pitrou/pathlib/issues/12/ )
|
||||
return False
|
||||
except ValueError:
|
||||
# Non-encodable path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue