[Cython] command to only parse cython statements ?
Sebastien Binet
seb.binet at gmail.com
Wed Jun 10 19:20:01 CEST 2009
hi,
On Wednesday 10 June 2009 18:02:56 Robert Bradshaw wrote:
> > hum... maybe I am not tackling this from the correct angle (perhaps
> > that a
> > simple buffer of strings filled while the last entry is not
> > the_empty_string
> > would do as I quick hack...)
>
> The way ipython does it is to require a new empty line to "leave" an
> indentation block--maybe you could do the same. (Or maybe you could
> even hook this in with ipython).
attached is my hack. feel free to steal it...
there are probably many improvements to be performed.
cheers,
sebastien.
--
#########################################
# Dr. Sebastien Binet
# Laboratoire de l'Accelerateur Lineaire
# Universite Paris-Sud XI
# Batiment 200
# 91898 Orsay
#########################################
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icython.py
Type: text/x-python
Size: 5707 bytes
Desc: not available
Url : http://codespeak.net/pipermail/cython-dev/attachments/20090610/2839a547/attachment.py
More information about the Cython-dev
mailing list