Hacker News new | ask | show | jobs
by bretthartshorn 4386 days ago
PythonJS implements __getattr__. See these regression tests: https://github.com/PythonJS/PythonJS/blob/master/regtests/cl...

https://github.com/PythonJS/PythonJS/blob/master/regtests/cl...

__getattr__ and __getattribute__ are implemented in the special __get__ function defined in: https://github.com/PythonJS/PythonJS/blob/master/pythonjs/ru...