Re: Hygenic Macros

2005-10-18 Thread David Pokorny
compiler... David Robert Kern wrote: > David Pokorny wrote: > >>Hi, >> >>Just wondering if anyone has considered macros for Python. I have one >>good use case. In "R", the statistical programming language, you can >>multiply matrices with A %*% B (

Hygenic Macros

2005-10-17 Thread David Pokorny
Hi, Just wondering if anyone has considered macros for Python. I have one good use case. In "R", the statistical programming language, you can multiply matrices with A %*% B (A*B corresponds to pointwise multiplication). In Python, I have to type import Numeric matrixmultiply(A,B) which makes

Restricted Execution on the cheap

2004-11-30 Thread David Pokorny
ion a watcher daemon that kills and restarts the email-python-runner under any of the following conditions: stdout > 50 MB email-python-runner's heap is > 50 MB email-python-runner gets stuck on a single program for more than 5 minutes If you're interested in hacking such a devic