demandimport: make sqlite3 non-lazy

Summary:
IPython has fallback code for `import sqlite3`. Make it non-lazy so IPython can
detect missing sqlite3 (on our Windows distribution) and continue working.

Reviewed By: ikostia

Differential Revision: D16897722

fbshipit-source-id: f7d312e10b9806498a03ce0788d436f6d72ddae8
This commit is contained in:
Jun Wu 2019-08-19 12:24:48 -07:00 committed by Facebook Github Bot
parent b5cc850992
commit e2a7b872ba

View File

@ -61,6 +61,7 @@ ignore = [
"_thread", # For RLock
"_scandir", # for IPython
"collections.abc", # for IPython - pickleshare
"sqlite3", # for IPython to detect missing sqlite
]
_pypy = "__pypy__" in sys.builtin_module_names