René's URL Explorer Experiment


Title: host_env: export SIG*, sysconf, CLOCK_*, unix socket names by youknowone · Pull Request #8790 · RustPython/RustPython · GitHub

Open Graph Title: host_env: export SIG*, sysconf, CLOCK_*, unix socket names by youknowone · Pull Request #8790 · RustPython/RustPython

X Title: host_env: export SIG*, sysconf, CLOCK_*, unix socket names by youknowone · Pull Request #8790 · RustPython/RustPython

Description: Follow-up to #8788. The remaining Python-visible integer names both RustPython and pyre still published from libc are: SIG* / SIG_BLOCK / SIG_SETMASK / SIG_UNBLOCK pathconf / sysconf _PC_* / _SC_* CLOCK_* module attrs the unix socket integers already exported on Windows (AF_INET, IPPROTO_*, SO_*, MSG_*, AI_*, SHUT_*, …) stdlib signal, posix, time, and _socket take those from host_env. WinSock entry points and unix use libc as c for types and syscalls stay as they are. Assisted-by: Claude Summary by CodeRabbit Compatibility Expanded the availability of POSIX configuration, signal, socket, and clock constants across supported platforms, including Windows socket shutdown names. Preserved existing Python-facing constant names and behavior while making additional platform-specific constants available through the host environment. Existing clock, signal, socket, and POSIX configuration values remain unchanged.

Open Graph Description: Follow-up to #8788. The remaining Python-visible integer names both RustPython and pyre still published from libc are: SIG* / SIG_BLOCK / SIG_SETMASK / SIG_UNBLOCK pathconf / sysconf _PC_* / _SC_*...

X Description: Follow-up to #8788. The remaining Python-visible integer names both RustPython and pyre still published from libc are: SIG* / SIG_BLOCK / SIG_SETMASK / SIG_UNBLOCK pathconf / sysconf _PC_* / _SC_*...

Opengraph URL: https://github.com/RustPython/RustPython/pull/8790

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:726472f4-8b12-a807-ffd9-d746244b96f2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE752:30CC09:293B331:37DF158:6B00428B
html-safe-nonce5087ba8d6de3f0184f3bfc899c81cc0d077a7e09eb0be0108b747558c720b592
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzUyOjMwQ0MwOToyOTNCMzMxOjM3REYxNTg6NkIwMDQyOEIiLCJ2aXNpdG9yX2lkIjoiNjkxNzg2MTI2NjYzMTQ0MzA4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac34f8e89f1e53aa260239bb8d55c985470be4f02559caf6d3f44d87d2527aa936
hovercard-subject-tagpull_request:4609707162
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/8790/files
twitter:imagehttps://avatars.githubusercontent.com/u/69878?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/69878?s=400&v=4
og:image:altFollow-up to #8788. The remaining Python-visible integer names both RustPython and pyre still published from libc are: SIG* / SIG_BLOCK / SIG_SETMASK / SIG_UNBLOCK pathconf / sysconf _PC_* / _SC_*...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/8790/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8790%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8790%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/8790/files
Reloadhttps://github.com/RustPython/RustPython/pull/8790/files
Reloadhttps://github.com/RustPython/RustPython/pull/8790/files
RustPythonhttps://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Codehttps://github.com/RustPython/RustPython
Issues195 (195)https://github.com/RustPython/RustPython/issues
Pull requests144 (144)https://github.com/RustPython/RustPython/pulls
Discussionshttps://github.com/RustPython/RustPython/discussions
Actionshttps://github.com/RustPython/RustPython/actions
Projectshttps://github.com/RustPython/RustPython/projects
Wikihttps://github.com/RustPython/RustPython/wiki
Security and qualityhttps://github.com/RustPython/RustPython/security
Insightshttps://github.com/RustPython/RustPython/insights
Sign up for GitHub https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:host-env-sig-sysconfhttps://github.com/youknowone/RustPython/tree/host-env-sig-sysconf
Conversation 2 https://github.com/RustPython/RustPython/pull/8790
Commits 5 https://github.com/RustPython/RustPython/pull/8790/commits
Checks 28 https://github.com/RustPython/RustPython/pull/8790/checks
Files changed https://github.com/RustPython/RustPython/pull/8790/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8790/files
host_env: export SIG*, sysconf, CLOCK_*, unix socket names https://github.com/RustPython/RustPython/pull/8790/files#top
Show all changes 5 commits https://github.com/RustPython/RustPython/pull/8790/files
2f4916c host_env: export SIG*, sysconf, CLOCK_*, unix socket names youknowone Sep 23, 2026 https://github.com/RustPython/RustPython/pull/8790/commits/2f4916cb503ed6a5d79e488b48a0c821f17c32bf
a0e8379 stdlib: take SIG*, sysconf, CLOCK_*, socket names from host_env youknowone Sep 23, 2026 https://github.com/RustPython/RustPython/pull/8790/commits/a0e8379f34bc1aee31c02094ac39ca8bb77828e1
936414d host_env: export remaining socket integers and Windows SHUT_* youknowone Sep 23, 2026 https://github.com/RustPython/RustPython/pull/8790/commits/936414d90246e5d86e53bd14fc2881ea59cdf033
72bb8cf stdlib: take remaining socket pyattrs from host_env youknowone Sep 23, 2026 https://github.com/RustPython/RustPython/pull/8790/commits/72bb8cf4d653175516fbc7935a110cf502bc4089
fc212df stdlib: drop unused Windows socket constant imports youknowone Sep 23, 2026 https://github.com/RustPython/RustPython/pull/8790/commits/fc212df4204677fda6cde81c2fdbf2588d5f4cab
Clear filters https://github.com/RustPython/RustPython/pull/8790/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8790/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8790/files
posix.rs https://github.com/RustPython/RustPython/pull/8790/files#diff-c4d8d17cd194261af90a2541465d39d6a285b66572131399a8690bd4c7bd599a
signal.rs https://github.com/RustPython/RustPython/pull/8790/files#diff-d045575af8bb7b33909489ac214c0c4641f490f39f0c8724ab3e3135cf5e57d3
socket.rs https://github.com/RustPython/RustPython/pull/8790/files#diff-e700a2482e618f0d67e0b1f7bbc4e5eef1bc7da702aaef7fa30d487372d19b72
time.rs https://github.com/RustPython/RustPython/pull/8790/files#diff-bd342e29a0e1c4ecbcaacdca9224f2414102b7ca0e287855ab3c4b00e04bd5eb
socket.rs https://github.com/RustPython/RustPython/pull/8790/files#diff-184374c26b267e900965c88a05d2c963f9c2fcdc8419201b0fa39b9ed462b5c7
_signal.rs https://github.com/RustPython/RustPython/pull/8790/files#diff-277e8770c8f1721bb34a035e1cf3bbd5938fec26b3e6b71382cb89253e03bb86
posix.rs https://github.com/RustPython/RustPython/pull/8790/files#diff-8a094b07fd40ee7a3b9e440782ded748539a5214c242b6b3438421fe0d616c6e
time.rs https://github.com/RustPython/RustPython/pull/8790/files#diff-1b1beeed0db11c1262967da108e5e037aed82af263bb55882f24b1556bf8f9a5
crates/host_env/src/posix.rshttps://github.com/RustPython/RustPython/pull/8790/files#diff-c4d8d17cd194261af90a2541465d39d6a285b66572131399a8690bd4c7bd599a
View file https://github.com/youknowone/RustPython/blob/fc212df4204677fda6cde81c2fdbf2588d5f4cab/crates/host_env/src/posix.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/8790/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/8790/files#diff-c4d8d17cd194261af90a2541465d39d6a285b66572131399a8690bd4c7bd599a
https://github.com/RustPython/RustPython/pull/8790/files#diff-c4d8d17cd194261af90a2541465d39d6a285b66572131399a8690bd4c7bd599a
crates/host_env/src/signal.rshttps://github.com/RustPython/RustPython/pull/8790/files#diff-d045575af8bb7b33909489ac214c0c4641f490f39f0c8724ab3e3135cf5e57d3
View file https://github.com/youknowone/RustPython/blob/fc212df4204677fda6cde81c2fdbf2588d5f4cab/crates/host_env/src/signal.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/8790/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/8790/files#diff-d045575af8bb7b33909489ac214c0c4641f490f39f0c8724ab3e3135cf5e57d3
https://github.com/RustPython/RustPython/pull/8790/files#diff-d045575af8bb7b33909489ac214c0c4641f490f39f0c8724ab3e3135cf5e57d3
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8790/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8790/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.