[Python-checkins] bpo-44040: Update broken link in pathlib source (GH-25905)

matrixise webhook-mailer at python.org
Wed May 5 04:08:33 EDT 2021


https://github.com/python/cpython/commit/96d5c7038b06e93d20822d28ed42a2183f876857
commit: 96d5c7038b06e93d20822d28ed42a2183f876857
branch: main
author: Kevin Follstad <kfollstad at gmail.com>
committer: matrixise <stephane at wirtel.be>
date: 2021-05-05T10:08:26+02:00
summary:

bpo-44040: Update broken link in pathlib source (GH-25905)

files:
M Lib/pathlib.py

diff --git a/Lib/pathlib.py b/Lib/pathlib.py
index cf40370c049a3..94e079fffef60 100644
--- a/Lib/pathlib.py
+++ b/Lib/pathlib.py
@@ -1295,7 +1295,7 @@ def is_dir(self):
             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 @@ def is_file(self):
             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 @@ def is_block_device(self):
             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 @@ def is_char_device(self):
             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 @@ def is_fifo(self):
             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 @@ def is_socket(self):
             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



More information about the Python-checkins mailing list