Re:PyPy.js: A fast, compliant Python implementation for the web
by bzbarsky on Wednesday May 06, 2015 @02:16PM
(#9500674)
The introspection bit is because js.globals is implemented with a fancy __getattr__ but doesn't have a __dir__. In general, dir() is not reliable in the face of custom __getattr__ implementations unless the implementor goes out of the way to make it work.
[ Parent
| on HN ]