On Sun, 2012-02-05 at 18:39 +0100, Pascal Chambon wrote:
> - what's up with the two __builtin__.py and pyjslib.py modules of 
> pyjs/src/pyjs sources ? __builtin__.py looks much bigger and featureful 
> (ex. it might be able to solve extended slicing problems), but it's only 
> used in DICT implementation, why ?

The dict implementation differs to much from the proto implementation to
use the same pyjslib.py. So I had to come up with a different one and
since most of the stuff is like __builtin__ i named it such. There are
approaches in __builtin__.py that cannot be used in pyjslib.py. I've not
finished the dict implementation (yet), and haven't been able to check
which 'backports' are possible. Per design the dict implementation is
way more pythonic, but also slower.



Reply via email to