Title: Name error in GenerateFloats · Issue #19 · futurecore/python-csp · GitHub
Open Graph Title: Name error in GenerateFloats · Issue #19 · futurecore/python-csp
X Title: Name error in GenerateFloats · Issue #19 · futurecore/python-csp
Description: Reported by kwhitefo, Sep 21, 2010 What steps will reproduce the problem? Download source: hg clone https://python-csp.googlecode.com/hg/ python-csp Open python-csp/csp/builtins.py Look at the GenerateFloats function: @forever def Genera...
Open Graph Description: Reported by kwhitefo, Sep 21, 2010 What steps will reproduce the problem? Download source: hg clone https://python-csp.googlecode.com/hg/ python-csp Open python-csp/csp/builtins.py Look at the Gene...
X Description: Reported by kwhitefo, Sep 21, 2010 What steps will reproduce the problem? Download source: hg clone https://python-csp.googlecode.com/hg/ python-csp Open python-csp/csp/builtins.py Look at the Gene...
Opengraph URL: https://github.com/futurecore/python-csp/issues/19
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Name error in GenerateFloats","articleBody":"_Reported by kwhitefo, Sep 21, 2010_\n\n_What steps will reproduce the problem?_ \n1. Download source: hg clone https://python-csp.googlecode.com/hg/ python-csp \n2. Open `python-csp/csp/builtins.py`\n3. Look at the `GenerateFloats` function:\n\n``` python\n@forever\ndef GenerateFloats(outchan, increment=0.1):\n \"\"\"\n readset =\n writeset = \n \"\"\"\n counter = 0\n while True:\n outchan.write(counter * epsilon)\n counter += 1\n yield\n```\n\n`epsilon` should be increment.\n\nThere is also a bug in `guards.py`: `__doc__` is not writeable on the last line: \n\n``` python\nBarrier.__doc__ = \"\"\"\n\"\"\"\n```\n\nI'm using python 2.6:\n\n```\nwhitefoot@elektra:~/python-csp/python-csp$ python\nPython 2.6.4 (r264:75706, Dec 7 2009, 18:45:15) \n[GCC 4.4.1] on linux2\non Xubuntu:\nwhitefoot@elektra:~/python-csp/python-csp$ cat /proc/version\nLinux 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\n```\n","author":{"url":"https://github.com/snim2","@type":"Person","name":"snim2"},"datePublished":"2012-10-03T18:59:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/19/python-csp/issues/19"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dfb75742-ebde-6898-5140-a8bac0754adb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A9D2:35620A:40B5E6:5CB6C7:6A4CA274 |
| html-safe-nonce | 84046d4e68cebfe537d5abd10df45ebe1fd335e44b12970b6777e204b3d90cfc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUQyOjM1NjIwQTo0MEI1RTY6NUNCNkM3OjZBNENBMjc0IiwidmlzaXRvcl9pZCI6IjIxNDU0NDA4Mzg3ODMzNzgwMzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 81a09ca31b6c9725fb2a8f67bd0ebb3ac82bd50a26a0a618802a0c7ec942f7e7 |
| hovercard-subject-tag | issue:7331103 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/futurecore/python-csp/19/issue_layout |
| twitter:image | https://opengraph.githubassets.com/24bdc285d21763a711d59836e3c58ded96b1fd46824683047f2f0dd0c12809d5/futurecore/python-csp/issues/19 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/24bdc285d21763a711d59836e3c58ded96b1fd46824683047f2f0dd0c12809d5/futurecore/python-csp/issues/19 |
| og:image:alt | Reported by kwhitefo, Sep 21, 2010 What steps will reproduce the problem? Download source: hg clone https://python-csp.googlecode.com/hg/ python-csp Open python-csp/csp/builtins.py Look at the Gene... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | snim2 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/futurecore/python-csp git https://github.com/futurecore/python-csp.git |
| octolytics-dimension-user_id | 8041718 |
| octolytics-dimension-user_login | futurecore |
| octolytics-dimension-repository_id | 6064533 |
| octolytics-dimension-repository_nwo | futurecore/python-csp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 6064533 |
| octolytics-dimension-repository_network_root_nwo | futurecore/python-csp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ae90d426644ca15e89bacceb72e51f4e9dbf85f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width