rb-site fails to detect memcache when installed from an egg
Review Request #843 — Created April 28, 2009 and submitted
rb-site fails to detect the "memcache" module when memcache is installed as an egg. Something about imp.find_module does not honor sys.path_hooks and doesn't use the zipimporter. This appears to be true in 2.4, 2.5, and 2.6.
Ran "rb-site install", now properly detects memcache installation.
-
That's good to know, and really annoying. We do a bunch of these checks in reviewboard/admin/checks.py, too, and I haven't seen anyone hit these issues... Hmm... I think doing an import is fine. I was just going to avoid actually importing, but if we need to, that's fine.
-
Python 2.4, I believe, will grumble loudly about this, because it doesn't provide default arguments. This should be more like: __import__(name, {}, {}, [])