# HG changeset patch # User Elizabeth Myers # Date 1395547370 18000 # Sat Mar 22 23:02:50 2014 -0500 # Node ID f13039e4f335eae13b85b75307084c6d07748fdd # Parent 802ed5baffb3378f8852db0cda7434c03c139e98 platform: Add AlpineLinux support to _supported_dists. This change makes it possible to get the version of alpine that Python is running on. diff -r 802ed5baffb3 -r f13039e4f335 Lib/platform.py --- a/Lib/platform.py Sat Mar 22 20:39:08 2014 +0100 +++ b/Lib/platform.py Sat Mar 22 23:02:50 2014 -0500 @@ -265,7 +265,7 @@ _supported_dists = ( 'SuSE', 'debian', 'fedora', 'redhat', 'centos', 'mandrake', 'mandriva', 'rocks', 'slackware', 'yellowdog', 'gentoo', - 'UnitedLinux', 'turbolinux', 'arch', 'mageia') + 'UnitedLinux', 'turbolinux', 'arch', 'mageia', 'alpine') def _parse_release_file(firstline):