pytorch
285e69a9 - [package] more reliable method for determining standard library-ness (#51694)

Commit
4 years ago
[package] more reliable method for determining standard library-ness (#51694) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/51694 We implicitly extern standard library modules. Our method of determining whether a module is in the standard library is a little unreliable. In particular, I'm seeing lots of flaky errors on windows/mac CI when I start doing more complicated packaging tests. I looked into the best ways to do this, turns out there's no reliable way, so tools that need to do this generally just parse the Python docs for a listing and save it. I took `isort`'s lists and called it a day. Test Plan: Imported from OSS Reviewed By: zdevito Differential Revision: D26243751 Pulled By: suo fbshipit-source-id: 48c685cd45ae847fe986bcb9f39106e0c3361cdc
Author
suo suo
Parents
Loading