Re: Interpreter hook during evaluation

2007-10-26 Thread ThunderBug
> I would like access to a hook inside Python that would allow me to
> register a C++ function to be called periodically during the
> evaluation of a Python script.
>
> ... so calling it
> every Python instruction would not be that bad in terms of
> performance.
>

I too could make good use of such a hook.




-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Pure Python Salsa20 Stream Cipher Implementation

2008-02-10 Thread ThunderBug
And FWIW  there already exists a pySalsa20, a ctypes wrapper for
Bernstein's eSTREAM submission.
  http://www.seanet.com/~bugbee/crypto/
-- 
http://mail.python.org/mailman/listinfo/python-list