| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c826824b-682b-c6b7-ee11-dd3105d7913f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EBCE:26A866:678493:9163A8:696A1C70 |
| html-safe-nonce | fcaa7e04fc1dcdf1407fab43747460a5dc48f7bc8c6077114919577453ce1f9e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkNFOjI2QTg2Njo2Nzg0OTM6OTE2M0E4OjY5NkExQzcwIiwidmlzaXRvcl9pZCI6IjI5OTE3MDYyMTgyMjE0MTE0NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 65c5767d04a3b2c09258f613997244f737dcc37ffdbba4272de7d0cd770e7c1f |
| hovercard-subject-tag | pull_request:316275329 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/15892/files |
| twitter:image | https://avatars.githubusercontent.com/u/5315899?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5315899?s=400&v=4 |
| og:image:alt | After #9665, this moves the remaining types in posixmodule to be heap-allocated to make it compatible with PEP384 as well as modifying all the type accessors to fully make the type opaque.
The orig... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 014f3d193f36b7d393f88ca22d06fbacd370800b40a547c1ea67291e02dc8ea3 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d515f6f09fa57a93bf90355cb894eb84ca4f458f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/15892/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F15892%2Ffiles |
| 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%2Fpython%2Fcpython%2Fpull%2F15892%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/15892/files |
| Reload | https://github.com/python/cpython/pull/15892/files |
| Reload | https://github.com/python/cpython/pull/15892/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/15892/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/15892/files |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%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=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| miss-islington | https://github.com/miss-islington |
| python:master | https://github.com/python/cpython/tree/master |
| eduardo-elizondo:posixmodule-fromspec | https://github.com/eduardo-elizondo/cpython/tree/posixmodule-fromspec |
|
Conversation
33
| https://github.com/python/cpython/pull/15892 |
|
Commits
45
| https://github.com/python/cpython/pull/15892/commits |
|
Checks
0
| https://github.com/python/cpython/pull/15892/checks |
|
Files changed
| https://github.com/python/cpython/pull/15892/files |
| Please reload this page | https://github.com/python/cpython/pull/15892/files |
|
bpo-35381 Remove all static state from posixmodule
| https://github.com/python/cpython/pull/15892/files#top |
|
Show all changes
45 commits
| https://github.com/python/cpython/pull/15892/files |
|
e09cf81
Make Posixmodule use PyType_FromSpec
eduardo-elizondo Dec 3, 2018
| https://github.com/python/cpython/pull/15892/commits/e09cf818c459214ed2b133088e2fd595675e8de4 |
|
40f0ff4
Added NEWS
eduardo-elizondo Dec 3, 2018
| https://github.com/python/cpython/pull/15892/commits/40f0ff45f1baee07f416d496c7ddf31b2b706dce |
|
5be18a1
Updated hash
eduardo-elizondo Dec 3, 2018
| https://github.com/python/cpython/pull/15892/commits/5be18a1550de63d2d8b5e1a51e35f7f0b2301eb1 |
|
9479848
Addressed PR Issues
eduardo-elizondo Jan 19, 2019
| https://github.com/python/cpython/pull/15892/commits/9479848307c2ab7c97f94405f7978bb42d02f7d8 |
|
d31df5f
Rebased
eduardo-elizondo Jan 19, 2019
| https://github.com/python/cpython/pull/15892/commits/d31df5f69167f12e5e6b6e9a74624807241aa793 |
|
c84689c
Ran argument clinic
eduardo-elizondo Jan 19, 2019
| https://github.com/python/cpython/pull/15892/commits/c84689c5ef6949107f645153c3b11ee35f826135 |
|
796a8d7
Added NEWS
eduardo-elizondo Jan 19, 2019
| https://github.com/python/cpython/pull/15892/commits/796a8d7b601a9cdf0f22cf4ecb28199f57535b19 |
|
b7cae5b
Remove INCREF from GenericAlloc
eduardo-elizondo Jan 19, 2019
| https://github.com/python/cpython/pull/15892/commits/b7cae5b7ab330465b468d489cfbf0eeb52f05d5d |
|
5fa6e46
Make Posixmodule use PyType_FromSpec
eduardo-elizondo Dec 3, 2018
| https://github.com/python/cpython/pull/15892/commits/5fa6e46543066f5fd37b933d589534d4bffe2423 |
|
df178b4
Added NEWS
eduardo-elizondo Dec 3, 2018
| https://github.com/python/cpython/pull/15892/commits/df178b45c50ba9093909cccefb6ee329f2ef6fd7 |
|
e59208f
Updated hash
eduardo-elizondo Dec 3, 2018
| https://github.com/python/cpython/pull/15892/commits/e59208fe89f6754d792240aca680573252cb3124 |
|
def6467
Addressed PR Issues
eduardo-elizondo Jan 19, 2019
| https://github.com/python/cpython/pull/15892/commits/def6467746cbbb17cf87657adb94e3de884fed79 |
|
bb2ead8
Ran argument clinic
eduardo-elizondo Jan 19, 2019
| https://github.com/python/cpython/pull/15892/commits/bb2ead84acd9955e33f5cf72099505f8bcb88ee3 |
|
427c772
Added NEWS
eduardo-elizondo Jan 19, 2019
| https://github.com/python/cpython/pull/15892/commits/427c77251409e93a6e315276dc17676b7c4c0162 |
|
7b9b85f
Merged to master
eduardo-elizondo Sep 11, 2019
| https://github.com/python/cpython/pull/15892/commits/7b9b85f86e43bfe59e129b4d9a54b767e14d9d84 |
|
9e8fb83
Merge branch 'master' into posixmodule-fromspec
eduardo-elizondo Sep 11, 2019
| https://github.com/python/cpython/pull/15892/commits/9e8fb8305c3a668ef00bc1af2380b24c2c2db2d4 |
|
99d5c26
Cleaned up slot acces
eduardo-elizondo Sep 11, 2019
| https://github.com/python/cpython/pull/15892/commits/99d5c26baae5afb8e87f04445623b8df9546046c |
|
ca19f51
Cleaned up more slot accesses
eduardo-elizondo Sep 11, 2019
| https://github.com/python/cpython/pull/15892/commits/ca19f515f2bd009c8aa57ddd472778eaf153e66a |
|
8af0c4e
Nits
eduardo-elizondo Sep 11, 2019
| https://github.com/python/cpython/pull/15892/commits/8af0c4ea74905e2b13243f71c75ba9f1cebd948a |
|
cee2cd9
Fixes
eduardo-elizondo Sep 11, 2019
| https://github.com/python/cpython/pull/15892/commits/cee2cd99dc053aeeb26d03912d637f73a1df9a9d |
|
a8d2f56
Run clinic
eduardo-elizondo Sep 11, 2019
| https://github.com/python/cpython/pull/15892/commits/a8d2f5661f1df219c34ae3f881f3699b0b07f106 |
|
5e4d2ab
Run clinic
eduardo-elizondo Sep 11, 2019
| https://github.com/python/cpython/pull/15892/commits/5e4d2ab2bc4429bb939a042b6472a263b288eb8d |
|
c42ec45
Improve error handling
encukou Sep 11, 2019
| https://github.com/python/cpython/pull/15892/commits/c42ec45b0967bdd67451987dc9f06826fdc8ec36 |
|
d27a547
Remove static from posixmodule.c
eduardo-elizondo Sep 12, 2019
| https://github.com/python/cpython/pull/15892/commits/d27a5479d191adb1f4c92423b00e745cb714cd28 |
|
6af98a9
Merge branch 'posixmodule-fromspec' of https://github.com/eduardo-eli…
eduardo-elizondo Sep 12, 2019
| https://github.com/python/cpython/pull/15892/commits/6af98a953c0528cb916ba005f90dbbbe0da56826 |
|
a723d1c
Address Comments
eduardo-elizondo Sep 12, 2019
| https://github.com/python/cpython/pull/15892/commits/a723d1cc4b33a445acc2b872b59ecbed496b4949 |
|
e91096a
Address Comments
eduardo-elizondo Sep 12, 2019
| https://github.com/python/cpython/pull/15892/commits/e91096a9268f675a98f6ac0bc53a2fe5fd706795 |
|
3cf259e
Fix Windows build
eduardo-elizondo Sep 12, 2019
| https://github.com/python/cpython/pull/15892/commits/3cf259e6fcd574f5fb01a0c4f2ad08016d0e56a2 |
|
925a41e
Use interned strings for constants in module state
encukou Sep 13, 2019
| https://github.com/python/cpython/pull/15892/commits/925a41e9725fb2d131d052b16ad7854fa0e5dc11 |
|
ad7359b
Use descriptor directly, rather than look it up by name
encukou Sep 13, 2019
| https://github.com/python/cpython/pull/15892/commits/ad7359b66e57cd509a338bafb9aa488d235bb36f |
|
5de545d
Bring _Py_IDENTIFIER(__fspath__) back
encukou Sep 13, 2019
| https://github.com/python/cpython/pull/15892/commits/5de545dad772680af53c93e5a8064ddb4edb0614 |
|
3ada298
Use the tp_free slot directly
encukou Sep 13, 2019
| https://github.com/python/cpython/pull/15892/commits/3ada29818a428fb373fba7156e5794c539295047 |
|
4c80b06
Remove duplicate function
encukou Sep 13, 2019
| https://github.com/python/cpython/pull/15892/commits/4c80b065976a44e43f0b32e71b0f7493ced6b223 |
|
6e505ac
Use tp_new directly
encukou Sep 13, 2019
| https://github.com/python/cpython/pull/15892/commits/6e505ac8e73a40ff11369cda494114368c23d74e |
|
b9a49aa
Don't call PyState_AddModule
encukou Sep 13, 2019
| https://github.com/python/cpython/pull/15892/commits/b9a49aa33fc722c36e9624b90f179c7577139dc6 |
|
c1a6d03
Add __new__ changes
eduardo-elizondo Sep 17, 2019
| https://github.com/python/cpython/pull/15892/commits/c1a6d030b199aba4fb7599ff8bc5191ffbdc7e37 |
|
bbe887f
Merge branch 'master' into posixmodule-fromspec
eduardo-elizondo Sep 17, 2019
| https://github.com/python/cpython/pull/15892/commits/bbe887f0ff0819c91dd54bc794aa6bc685b6c682 |
|
4a6d4ec
Regenerate clinic
eduardo-elizondo Sep 18, 2019
| https://github.com/python/cpython/pull/15892/commits/4a6d4ec581394c0e8de208152d416e02df44d2f0 |
|
138ffb6
Nits
eduardo-elizondo Sep 23, 2019
| https://github.com/python/cpython/pull/15892/commits/138ffb6894caaf3b90c60a51b3cf099324478683 |
|
78fbed3
Merge to master
eduardo-elizondo Nov 3, 2019
| https://github.com/python/cpython/pull/15892/commits/78fbed35b2214436ddc5c5cb580e01b0fa79e1fb |
|
1b57f3a
Revert tp_new changes
eduardo-elizondo Nov 3, 2019
| https://github.com/python/cpython/pull/15892/commits/1b57f3a76b48a58514c7175f49857d05bf694288 |
|
e7e9634
Rerun argument clinit
eduardo-elizondo Nov 3, 2019
| https://github.com/python/cpython/pull/15892/commits/e7e96344cad1be1279d797d8d47acc7561772103 |
|
3bf99bf
More fixes
eduardo-elizondo Nov 3, 2019
| https://github.com/python/cpython/pull/15892/commits/3bf99bf1c388498df0cbee3dbb0a140cba497dd9 |
|
afb249c
Re-add newlines and fix docstring for os.sched_param.__new__
encukou Nov 5, 2019
| https://github.com/python/cpython/pull/15892/commits/afb249c4ba9dbc1568c76fc4e3bfa3aea68de33f |
|
187b5d4
Code style nitpicks
encukou Nov 5, 2019
| https://github.com/python/cpython/pull/15892/commits/187b5d4d7c0a93d7cc944d87bbebaff8a37b350f |
|
Clear filters
| https://github.com/python/cpython/pull/15892/files |
| Please reload this page | https://github.com/python/cpython/pull/15892/files |
| Please reload this page | https://github.com/python/cpython/pull/15892/files |
|
test_os.py
| https://github.com/python/cpython/pull/15892/files#diff-5007f0845419916c8b0294481e2ee212ca36661d9843f86338ec42254645edfc |
|
2019-01-18-17-05-26.bpo-35381.9CbeW3.rst
| https://github.com/python/cpython/pull/15892/files#diff-6ce68d81a234d80d519ab8f0402103bf117e1966f115e5627f482c5b21fd13e6 |
|
posixmodule.c.h
| https://github.com/python/cpython/pull/15892/files#diff-f4ec448d9bc73d373452e97931de916ca83058ae93bce4a5853b8ac18c9d2cfa |
|
posixmodule.c
| https://github.com/python/cpython/pull/15892/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
| Lib/test/test_os.py | https://github.com/python/cpython/pull/15892/files#diff-5007f0845419916c8b0294481e2ee212ca36661d9843f86338ec42254645edfc |
|
View file
| https://github.com/eduardo-elizondo/cpython/blob/187b5d4d7c0a93d7cc944d87bbebaff8a37b350f/Lib/test/test_os.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/15892/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/15892/files#diff-5007f0845419916c8b0294481e2ee212ca36661d9843f86338ec42254645edfc |
|
| https://github.com/python/cpython/pull/15892/files#diff-5007f0845419916c8b0294481e2ee212ca36661d9843f86338ec42254645edfc |
|
| https://github.com/python/cpython/pull/15892/files#diff-5007f0845419916c8b0294481e2ee212ca36661d9843f86338ec42254645edfc |
|
| https://github.com/python/cpython/pull/15892/files#diff-5007f0845419916c8b0294481e2ee212ca36661d9843f86338ec42254645edfc |
| Misc/NEWS.d/next/C API/2019-01-18-17-05-26.bpo-35381.9CbeW3.rst | https://github.com/python/cpython/pull/15892/files#diff-6ce68d81a234d80d519ab8f0402103bf117e1966f115e5627f482c5b21fd13e6 |
|
View file
| https://github.com/eduardo-elizondo/cpython/blob/187b5d4d7c0a93d7cc944d87bbebaff8a37b350f/Misc/NEWS.d/next/C%20API/2019-01-18-17-05-26.bpo-35381.9CbeW3.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/15892/{{ revealButtonHref }} |
| Modules/clinic/posixmodule.c.h | https://github.com/python/cpython/pull/15892/files#diff-f4ec448d9bc73d373452e97931de916ca83058ae93bce4a5853b8ac18c9d2cfa |
|
View file
| https://github.com/eduardo-elizondo/cpython/blob/187b5d4d7c0a93d7cc944d87bbebaff8a37b350f/Modules/clinic/posixmodule.c.h |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/15892/files |
| Please reload this page | https://github.com/python/cpython/pull/15892/files |
|
| 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 |