Hi Yicong, On 16 May 2015 at 07:42, Yicong Huang <hengha....@gmail.com> wrote: > I quite agree with you that cfii is very powerful and should not include in > sandbox. > However, could we consider include a small subset of cffi?
No. Anything that cffi enables lets you read random memory, or write random memory, or call random places, where "random" is defined as "can be freely controlled by the Python code". For example, if you want a have a Python callback that accepts a "char *" string, you can then then a <cdata 'char *'> object and use it to read and write arbitrary memory anywhere (by reading and writing chars at a large offset from this pointer object). A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev