mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
0bc787c4c0
Summary: This module previously used to handle deciding how a particular module should be imported if it had multiple versions (e.g., pure Python or native). However, as of D18819680 it was changed to always import the native C version. Lets go ahead and remove it entirely now. Using `policy.importmod` simply makes it harder for type checkers to figure out the actual module that will be used. The only functionality that `policy.importmod()` still provided was verifying that the module contained a "version" field that looked like what was expected. In practice these version numbers are not bumped often, so this doesn't really seem to provide much value in checking that we imported the correct version that we expected to be shipped with this release. Reviewed By: xavierd Differential Revision: D19958227 fbshipit-source-id: 05f1d027d0a41cf99c4aa93cb84a51e830305077 |
||
---|---|---|
.. | ||
chg | ||
hgsh | ||
python2-winbuild | ||
vim | ||
whochanges | ||
xdiff | ||
bdiff-torture.py | ||
check-code.py | ||
check-config.py | ||
check-py3-compat.py | ||
clang-format-blacklist | ||
dirstatenonnormalcheck.py | ||
editmergeps.bat | ||
editmergeps.ps1 | ||
fix-code.py | ||
git-sl | ||
hg-ssh | ||
hg-test-mode.el | ||
mercurial.el | ||
perf.py | ||
python-hook-examples.py | ||
scm-prompt.sh | ||
synthrepo.py | ||
traceprof.py | ||
zsh_completion |