.. include:: crossreferences.asc .. |title| replace:: Implement Security, Distribution and Persistence .. |wp| replace:: WP12 .. |start| replace:: 18 .. |p1| replace:: PBF .. |m1| replace:: 12 .. |p2| replace:: STRAKT .. |m2| replace:: 12 .. |p3| replace:: |e| .. |m3| replace:: |e| .. |p4| replace:: |e| .. |m4| replace:: |e| .. |p5| replace:: |e| .. |m5| replace:: |e| .. |p6| replace:: |e| .. |m6| replace:: |e| .. include:: wp-toptable.asc .. include:: wp-tablebegin.asc **Objectives** Research and validate the flexibility of PyPy by building key middleware features into the language itself. .. include:: wp-tableend.asc .. include:: wp-tablebegin.asc **Description of work** **Task 1** Analyze and implement security models at the language level. Implement the "RExec" restricted execution model. (It was removed from the official Python implementation because it was too hard to maintain.) **Task 2** Analyze and implement distributed execution models at the language level. Implement network-transparent execution of Python programs. (Typical libraries require programs to be aware of the remote execution model.) **Task 3** Analyze and implement persistence at the language level. Implement an orthogonally persistent object space for Python programs. (Persistence is never fully orthogonal without advanced language support.) .. include:: wp-tableend.asc .. include:: wp-tablebegin.asc **Deliverables** - D12.1 A PyPy version which supports secure restricted execution of arbitrary Python programs - D12.2 A PyPy version which supports distributed execution of arbitrary Python programs - D12.3 A PyPy version which supports persistent execution of arbitrary Python programs .. include:: wp-tableend.asc .. include:: wp-tablebegin.asc **Milestones and Expected Result** - M4 Validation of the flexibility of PyPy with respect to key middleware requirements .. include:: wp-tableend.asc