Title: Attempt to automate posix consts by ShaharNaveh · Pull Request #6117 · RustPython/RustPython · GitHub
Open Graph Title: Attempt to automate posix consts by ShaharNaveh · Pull Request #6117 · RustPython/RustPython
X Title: Attempt to automate posix consts by ShaharNaveh · Pull Request #6117 · RustPython/RustPython
Description: Attempt to automate the definition of posix consts. I'm sure that this will require the script to be more adjustable but IMO this is a good first step in automating something that we do manually. for example: #5795 I ain't so sure how we decide what goes into os directly and what into posix, if someone can share some knowledge it would be very appreciated:) Summary by CodeRabbit New Features Greatly expands POSIX constants exposed to Python across platforms: spawn actions, process/wait codes, dynamic linker flags, file flags (incl. O_DIRECT, O_PATH, O_TMPFILE, O_NOATIME), advisory flags, timer/event/memfd descriptors, extended attributes, clone flags, seek constants, P_PIDFD, and more. Removals Removes several scheduler constants (SCHED_*) and one macOS-only constant; many constants are now OS-gated. Chores Adds a new tool to generate platform-specific constant bindings from upstream libc test data.
Open Graph Description: Attempt to automate the definition of posix consts. I'm sure that this will require the script to be more adjustable but IMO this is a good first step in automating something that we do manuall...
X Description: Attempt to automate the definition of posix consts. I'm sure that this will require the script to be more adjustable but IMO this is a good first step in automating something that we do man...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6117
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:487bb799-fd86-40d6-3275-afe5fbecde2f |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D276:2C297A:67C5C:844F6:696ACF0F |
| html-safe-nonce | b956a229d9cc78cf44d839fc0830b0ebce2a8c77449addd58f6772d1b8c9069c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjc2OjJDMjk3QTo2N0M1Qzo4NDRGNjo2OTZBQ0YwRiIsInZpc2l0b3JfaWQiOiIzNzMzNjYyOTM5NTkxOTIxNDIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b3244c36b182524e4562b8ae03c799569a1c728db6fcdd2f7f59892725c91979 |
| hovercard-subject-tag | pull_request:2787943913 |
| 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/6117/checks |
| twitter:image | https://avatars.githubusercontent.com/u/50263213?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/50263213?s=400&v=4 |
| og:image:alt | Attempt to automate the definition of posix consts. I'm sure that this will require the script to be more adjustable but IMO this is a good first step in automating something that we do manuall... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d |
| 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 | c718a376fcf780eb22089171adb84a543f660bf7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width