1
"""This is an example that uses the (prototype) Logic Object Space. To run,
2
you have to set USE_GREENLETS in pypy.objspace.logic to True and do:
4
$ py.py -o logic uthread.py
6
newvar creates a new unbound logical variable. If you try to access an unbound
7
variable, the current uthread is blocked, until the variable is bound.