Title: Fix inconsistent behavior of Decimal.from_float by crazymerlyn · Pull Request #5411 · RustPython/RustPython · GitHub
Open Graph Title: Fix inconsistent behavior of Decimal.from_float by crazymerlyn · Pull Request #5411 · RustPython/RustPython
X Title: Fix inconsistent behavior of Decimal.from_float by crazymerlyn · Pull Request #5411 · RustPython/RustPython
Description: Rustpython includes the test added in python/cpython#65, but not the behavior, leading to the test being disabled. This patches RustPython with the above pr to update from_float behavior when passed an int in order to pass the test.
Open Graph Description: Rustpython includes the test added in python/cpython#65, but not the behavior, leading to the test being disabled. This patches RustPython with the above pr to update from_float behavior when pass...
X Description: Rustpython includes the test added in python/cpython#65, but not the behavior, leading to the test being disabled. This patches RustPython with the above pr to update from_float behavior when pass...
Opengraph URL: https://github.com/RustPython/RustPython/pull/5411
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:45979b5a-86d1-2dfa-77aa-23ce290e549e |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | DB58:26177F:D0B60C:10CEC8D:696B2BA6 |
| html-safe-nonce | a354d799864b5e09e6bb1a4dd46e630b684b0342d7707bc1c207d84e6b279c82 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjU4OjI2MTc3RjpEMEI2MEM6MTBDRUM4RDo2OTZCMkJBNiIsInZpc2l0b3JfaWQiOiI3OTE1MTI2Njg4MTgzOTU0MzQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f84db5be46c9026d2107229661fce86b6985638a553732932156ba9e288a85a0 |
| hovercard-subject-tag | pull_request:2084733763 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/RustPython/RustPython/pull/5411/checks |
| twitter:image | https://avatars.githubusercontent.com/u/6919679?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/6919679?s=400&v=4 |
| og:image:alt | Rustpython includes the test added in python/cpython#65, but not the behavior, leading to the test being disabled. This patches RustPython with the above pr to update from_float behavior when pass... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| 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 |
Links:
Viewport: width=device-width