python-csp icon indicating copy to clipboard operation
python-csp copied to clipboard

Context managers

Open snim2 opened this issue 13 years ago • 0 comments

From old Google Code repo:

Russel had an idea for a new bit of python-csp syntax that would work like this:

with Par() as PAR:
     P
     Q
     R

where P, Q and R are instances of CSPProcess.

Needs a bit of thought re. implementation.

snim2 avatar Oct 03 '12 18:10 snim2