| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:e7d02e1b-7ee4-7a8c-2ded-602cbb580501 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B654:216B79:120968B:17BD4E3:696B7001 |
| html-safe-nonce | 03cc0ba5b47ac4c73298952515a99a108771f20bd144fc6f3f2254dd30d1c206 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjU0OjIxNkI3OToxMjA5NjhCOjE3QkQ0RTM6Njk2QjcwMDEiLCJ2aXNpdG9yX2lkIjoiMTcyNDYxNzI5MTg0OTY4NzA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 86dee8782ecb39288585151b56208230f161e4b224c8377da2bbc02b910f18f9 |
| hovercard-subject-tag | pull_request:1688677557 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/lcompilers/lpython/2464/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/794ded3582516e5fe6195f1aff64cae8d71b459b05ae1373856a6564e30dc80e/lcompilers/lpython/pull/2464 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/794ded3582516e5fe6195f1aff64cae8d71b459b05ae1373856a6564e30dc80e/lcompilers/lpython/pull/2464 |
| og:image:alt | fixes #2382 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ubaidsk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/lcompilers/lpython git https://github.com/lcompilers/lpython.git |
| octolytics-dimension-user_id | 96538276 |
| octolytics-dimension-user_login | lcompilers |
| octolytics-dimension-repository_id | 442864346 |
| octolytics-dimension-repository_nwo | lcompilers/lpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 442864346 |
| octolytics-dimension-repository_network_root_nwo | lcompilers/lpython |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/lcompilers/lpython/pull/2464#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flcompilers%2Flpython%2Fpull%2F2464 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flcompilers%2Flpython%2Fpull%2F2464 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=lcompilers%2Flpython |
| Reload | https://github.com/lcompilers/lpython/pull/2464 |
| Reload | https://github.com/lcompilers/lpython/pull/2464 |
| Reload | https://github.com/lcompilers/lpython/pull/2464 |
|
lcompilers
| https://github.com/lcompilers |
| lpython | https://github.com/lcompilers/lpython |
|
Notifications
| https://github.com/login?return_to=%2Flcompilers%2Flpython |
|
Fork
173
| https://github.com/login?return_to=%2Flcompilers%2Flpython |
|
Star
1.6k
| https://github.com/login?return_to=%2Flcompilers%2Flpython |
|
Code
| https://github.com/lcompilers/lpython |
|
Issues
503
| https://github.com/lcompilers/lpython/issues |
|
Pull requests
85
| https://github.com/lcompilers/lpython/pulls |
|
Actions
| https://github.com/lcompilers/lpython/actions |
|
Projects
0
| https://github.com/lcompilers/lpython/projects |
|
Wiki
| https://github.com/lcompilers/lpython/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/lcompilers/lpython/security |
| Please reload this page | https://github.com/lcompilers/lpython/pull/2464 |
|
Insights
| https://github.com/lcompilers/lpython/pulse |
|
Code
| https://github.com/lcompilers/lpython |
|
Issues
| https://github.com/lcompilers/lpython/issues |
|
Pull requests
| https://github.com/lcompilers/lpython/pulls |
|
Actions
| https://github.com/lcompilers/lpython/actions |
|
Projects
| https://github.com/lcompilers/lpython/projects |
|
Wiki
| https://github.com/lcompilers/lpython/wiki |
|
Security
| https://github.com/lcompilers/lpython/security |
|
Insights
| https://github.com/lcompilers/lpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Flcompilers%2Flpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Flcompilers%2Flpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/lcompilers/lpython/pull/2464#issue-comment-box |
| certik | https://github.com/certik |
| lcompilers:main | https://github.com/lcompilers/lpython/tree/main |
| ubaidsk:fix_random2 | https://github.com/ubaidsk/lpython/tree/fix_random2 |
|
Fix random.random()
| https://github.com/lcompilers/lpython/pull/2464#top |
| certik | https://github.com/certik |
| lcompilers:main | https://github.com/lcompilers/lpython/tree/main |
| ubaidsk:fix_random2 | https://github.com/ubaidsk/lpython/tree/fix_random2 |
|
Conversation
7
| https://github.com/lcompilers/lpython/pull/2464 |
|
Commits
4
| https://github.com/lcompilers/lpython/pull/2464/commits |
|
Checks
0
| https://github.com/lcompilers/lpython/pull/2464/checks |
|
Files changed
| https://github.com/lcompilers/lpython/pull/2464/files |
| Please reload this page | https://github.com/lcompilers/lpython/pull/2464 |
| https://github.co/hiddenchars |
| https://github.com/lcompilers/lpython/pull/{{ revealButtonHref }} |
|
| https://github.com/ubaidsk |
| ubaidsk | https://github.com/ubaidsk |
| Jan 21, 2024 | https://github.com/lcompilers/lpython/pull/2464#issue-2092604324 |
| #2382 | https://github.com/lcompilers/lpython/issues/2382 |
| Please reload this page | https://github.com/lcompilers/lpython/pull/2464 |
| https://github.com/ubaidsk |
| ubaidsk | https://github.com/ubaidsk |
| Jan 21, 2024 | https://github.com/lcompilers/lpython/pull/2464#issuecomment-1902643479 |
| lfortran/lfortran#3156 | https://github.com/lfortran/lfortran/pull/3156 |
| Please reload this page | https://github.com/lcompilers/lpython/pull/2464 |
| https://github.com/ubaidsk |
| ubaidsk | https://github.com/ubaidsk |
|
Jan 21, 2024
| https://github.com/lcompilers/lpython/pull/2464#ref-pullrequest-2092603661 |
|
Fix random_number()
lfortran/lfortran#3156
| https://github.com/lfortran/lfortran/pull/3156 |
| https://github.com/ubaidsk |
| ubaidsk | https://github.com/ubaidsk |
| Jan 21, 2024 | https://github.com/lcompilers/lpython/pull/2464#issuecomment-1902809441 |
| Please reload this page | https://github.com/lcompilers/lpython/pull/2464 |
| https://github.com/certik |
| certik | https://github.com/certik |
| Jan 22, 2024 | https://github.com/lcompilers/lpython/pull/2464#issuecomment-1902840400 |
| #2455 | https://github.com/lcompilers/lpython/issues/2455 |
| Please reload this page | https://github.com/lcompilers/lpython/pull/2464 |
|
| https://github.com/ubaidsk |
| lfortran_intrinsics.c: Fix random_number() | https://github.com/lcompilers/lpython/pull/2464/commits/c610e31585e8fa01bc9c31a9a219252820ee2729 |
| c610e31 | https://github.com/lcompilers/lpython/pull/2464/commits/c610e31585e8fa01bc9c31a9a219252820ee2729 |
| https://github.com/ubaidsk |
| ubaidsk | https://github.com/ubaidsk |
| force-pushed | https://github.com/lcompilers/lpython/compare/02a3b61074b751d17b21aefbb3281a999260d699..18b6ef4a756032fb7d59e372726a2c6d3e521d7c |
| 02a3b61 | https://github.com/lcompilers/lpython/commit/02a3b61074b751d17b21aefbb3281a999260d699 |
| 18b6ef4 | https://github.com/lcompilers/lpython/commit/18b6ef4a756032fb7d59e372726a2c6d3e521d7c |
|
Compare
| https://github.com/lcompilers/lpython/compare/02a3b61074b751d17b21aefbb3281a999260d699..18b6ef4a756032fb7d59e372726a2c6d3e521d7c |
| January 23, 2024 16:53 | https://github.com/lcompilers/lpython/pull/2464#event-11573275988 |
| https://github.com/ubaidsk |
| ubaidsk | https://github.com/ubaidsk |
| January 23, 2024 17:12 | https://github.com/lcompilers/lpython/pull/2464#event-11573557537 |
| https://github.com/ubaidsk |
| ubaidsk | https://github.com/ubaidsk |
| January 23, 2024 17:14 | https://github.com/lcompilers/lpython/pull/2464#event-11573589132 |
| ubaidsk | https://github.com/ubaidsk |
| January 23, 2024 22:49 | https://github.com/lcompilers/lpython/pull/2464#commits-pushed-c25abe9 |
|
| https://github.com/ubaidsk |
| lfortran_intrinsics.c: Use nanoseconds to seed random | https://github.com/lcompilers/lpython/pull/2464/commits/c25abe9cdfad5a168d4d3d70c90963667212dbee |
| c25abe9 | https://github.com/lcompilers/lpython/pull/2464/commits/c25abe9cdfad5a168d4d3d70c90963667212dbee |
|
| https://github.com/ubaidsk |
| TEST: Add for random() | https://github.com/lcompilers/lpython/pull/2464/commits/01751d91cb52973aac58deb1108bf14a9d79c598 |
| 01751d9 | https://github.com/lcompilers/lpython/pull/2464/commits/01751d91cb52973aac58deb1108bf14a9d79c598 |
| https://github.com/certik |
| certik | https://github.com/certik |
|
Jan 23, 2024
| https://github.com/lcompilers/lpython/pull/2464#pullrequestreview-1839509153 |
|
View reviewed changes
| https://github.com/lcompilers/lpython/pull/2464/files |
|
| https://github.com/ubaidsk |
| TEST: Print vals and comment out failing test | https://github.com/lcompilers/lpython/pull/2464/commits/1af763b0244e5ea6a1fae0e4c1c9288e5660499a |
| 1af763b | https://github.com/lcompilers/lpython/pull/2464/commits/1af763b0244e5ea6a1fae0e4c1c9288e5660499a |
| https://github.com/ubaidsk |
| ubaidsk | https://github.com/ubaidsk |
| force-pushed | https://github.com/lcompilers/lpython/compare/18b6ef4a756032fb7d59e372726a2c6d3e521d7c..1af763b0244e5ea6a1fae0e4c1c9288e5660499a |
| 18b6ef4 | https://github.com/lcompilers/lpython/commit/18b6ef4a756032fb7d59e372726a2c6d3e521d7c |
| 1af763b | https://github.com/lcompilers/lpython/commit/1af763b0244e5ea6a1fae0e4c1c9288e5660499a |
|
Compare
| https://github.com/lcompilers/lpython/compare/18b6ef4a756032fb7d59e372726a2c6d3e521d7c..1af763b0244e5ea6a1fae0e4c1c9288e5660499a |
| January 23, 2024 18:21 | https://github.com/lcompilers/lpython/pull/2464#event-11574367956 |
| https://github.com/ubaidsk |
| ubaidsk | https://github.com/ubaidsk |
|
Jan 23, 2024
| https://github.com/lcompilers/lpython/pull/2464#pullrequestreview-1839562748 |
|
View reviewed changes
| https://github.com/lcompilers/lpython/pull/2464/files/1af763b0244e5ea6a1fae0e4c1c9288e5660499a |
| integration_tests/test_random.py | https://github.com/lcompilers/lpython/pull/2464/files/1af763b0244e5ea6a1fae0e4c1c9288e5660499a#diff-cd0cad6e6506fbf5f623b81f14a0a1c3ce34c10e5020568e932c4a21b8719949 |
| ubaidsk | https://github.com/ubaidsk |
| Jan 23, 2024 | https://github.com/lcompilers/lpython/pull/2464#discussion_r1463758507 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @certik | https://github.com/certik |
| Please reload this page | https://github.com/lcompilers/lpython/pull/2464 |
| https://github.com/ubaidsk |
| ubaidsk | https://github.com/ubaidsk |
| January 23, 2024 18:26 | https://github.com/lcompilers/lpython/pull/2464#event-11574416621 |
| https://github.com/ubaidsk |
| ubaidsk | https://github.com/ubaidsk |
| January 23, 2024 18:27 | https://github.com/lcompilers/lpython/pull/2464#event-11574421866 |
| https://github.com/certik |
| certik | https://github.com/certik |
|
Jan 23, 2024
| https://github.com/lcompilers/lpython/pull/2464#pullrequestreview-1840043748 |
|
View reviewed changes
| https://github.com/lcompilers/lpython/pull/2464/files/1af763b0244e5ea6a1fae0e4c1c9288e5660499a |
| certik | https://github.com/certik |
| https://github.com/lcompilers/lpython/pull/2464#pullrequestreview-1840043748 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/lcompilers/lpython/pull/2464 |
| https://github.com/ubaidsk |
| ubaidsk | https://github.com/ubaidsk |
| January 24, 2024 04:58 | https://github.com/lcompilers/lpython/pull/2464#event-11579145468 |
| https://github.com/ubaidsk |
| ubaidsk | https://github.com/ubaidsk |
| Jan 26, 2024 | https://github.com/lcompilers/lpython/pull/2464#issuecomment-1912616398 |
| @certik | https://github.com/certik |
| Please reload this page | https://github.com/lcompilers/lpython/pull/2464 |
| https://github.com/certik |
| certik | https://github.com/certik |
| 693afee | https://github.com/lcompilers/lpython/commit/693afee9a6bd97b325832b595f559ca069fa5645 |
| Jan 26, 2024 | https://github.com/lcompilers/lpython/pull/2464#event-11613417315 |
| https://github.com/certik |
| certik | https://github.com/certik |
| Jan 26, 2024 | https://github.com/lcompilers/lpython/pull/2464#issuecomment-1912716110 |
| Please reload this page | https://github.com/lcompilers/lpython/pull/2464 |
| https://github.com/ubaidsk |
| ubaidsk | https://github.com/ubaidsk |
| January 26, 2024 21:25 | https://github.com/lcompilers/lpython/pull/2464#event-11613421578 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flcompilers%2Flpython%2Fpull%2F2464 |
|
| https://github.com/certik |
|
certik
| https://github.com/certik |
|
| https://github.com/lcompilers/lpython/pull/2464/files/1af763b0244e5ea6a1fae0e4c1c9288e5660499a |
|
The random numbers do not seem to work
| https://github.com/lcompilers/lpython/issues/2382 |
| Please reload this page | https://github.com/lcompilers/lpython/pull/2464 |
|
| https://github.com/ubaidsk |
|
| https://github.com/certik |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |