Title: rustpython-cpython by youknowone · Pull Request #6301 · RustPython/RustPython · GitHub
Open Graph Title: rustpython-cpython by youknowone · Pull Request #6301 · RustPython/RustPython
X Title: rustpython-cpython by youknowone · Pull Request #6301 · RustPython/RustPython
Description: Test code: import _cpython @_cpython.call def decimal_add(a, b): import _decimal return _decimal.Decimal(a) + _decimal.Decimal(b) result = decimal_add('1.1', '2.2') # '3.3' print(result) Test command: cargo run --features cpython test_cpython.py This might be something awful. Now RustPython can borrow any feature from CPython, as long as CPython is in the environment and the calling function’s arguments and return type are pickle-serializable. Will this become a new RustPython feature? Otherwise I’ll just create it outside the org repo.
Open Graph Description: Test code: import _cpython @_cpython.call def decimal_add(a, b): import _decimal return _decimal.Decimal(a) + _decimal.Decimal(b) result = decimal_add('1.1', '2.2') # ...
X Description: Test code: import _cpython @_cpython.call def decimal_add(a, b): import _decimal return _decimal.Decimal(a) + _decimal.Decimal(b) result = decimal_add('1.1', '2.2&...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6301
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:1a3e976f-1a88-3a5f-387e-4e0105ecf6b6 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E774:11B887:25DC812:32EAB70:697071C5 |
| html-safe-nonce | 0ea86b448ec8f608577c2530d5ef172baa4b8e721d9e2d23f0f05eaff640a74d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzc0OjExQjg4NzoyNURDODEyOjMyRUFCNzA6Njk3MDcxQzUiLCJ2aXNpdG9yX2lkIjoiODAzODU0OTMwNzk0MzU4MDEwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 234a31191b683ef4731c40704aa749e63602f695d4251faf85b11e0d5158d21f |
| hovercard-subject-tag | pull_request:3052896161 |
| 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/6301/checks |
| twitter:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| og:image:alt | Test code: import _cpython @_cpython.call def decimal_add(a, b): import _decimal return _decimal.Decimal(a) + _decimal.Decimal(b) result = decimal_add('1.1', '2.2') # ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-cache |
| 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 | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width