mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
bpo-44040: Update broken link in pathlib source (GH-25905)
This commit is contained in:
parent
23362f8c30
commit
96d5c7038b
@ -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…
Reference in New Issue
Block a user