diff -uNrp a/Lib/platform.py b/Lib/platform.py
--- a/Lib/platform.py	2019-12-21 15:00:32.420000000 +0800
+++ b/Lib/platform.py	2019-12-21 15:07:14.292000000 +0800
@@ -353,6 +353,8 @@ def linux_distribution(distname='', vers
         return distname,version,id
     etc.sort()
     for file in etc:
+        if os.path.islink('/etc/'+file):
+            continue
         m = _release_filename.match(file)
         if m is not None:
             _distname,dummy = m.groups()
