_Reported by kwhitefo, Sep 21, 2010_ _What steps will reproduce the problem?_ 1. Download source: hg clone https://python-csp.googlecode.com/hg/ python-csp 2. Open `python-csp/csp/builtins.py` 3. Look at the `GenerateFloats` function: ``` python @forever def GenerateFloats(outchan, increment=0.1): """ readset = writeset = """ counter = 0 while True: outchan.write(counter * epsilon) counter += 1 yield ``` `epsilon` should be increment. There is also a bug in `guards.py`: `__doc__` is not writeable on the last line: ``` python Barrier.__doc__ = """ """ ``` I'm using python 2.6: ``` whitefoot@elektra:~/python-csp/python-csp$ python Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15) [GCC 4.4.1] on linux2 on Xubuntu: whitefoot@elektra:~/python-csp/python-csp$ cat /proc/version Linux version 2.6.31-22-generic (buildd@roseapple) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) ) #65-Ubuntu SMP Thu Sep 16 15:48:58 UTC 2010 ```
Activity