[libcxx-commits] [PATCH] D70991: [libc++][test] Replace platform.linux_distribution by distro.linux_distribution

Aaron Puchert via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 3 16:37:54 PST 2019


aaronpuchert added a comment.

An alternative would be to assume that any distribution new enough to have Python 3.8 also has `/etc/os-release`, so we fall back to parsing that if `platform.linux_distribution` isn't there. Or the other way around: we check for `/etc/os-release` and fall back to `platform.linux_distribution`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70991/new/

https://reviews.llvm.org/D70991





More information about the libcxx-commits mailing list