| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:edf8ddcc-60ee-1566-8f03-46e7d7f10c52 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D4EE:1730DB:43CDEB2:60A029B:6A4FFAE3 |
| html-safe-nonce | f474f659ad898872f6273bb4f3df14cb8e285c5bbb99a05e8a1d41949d8026fd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEVFOjE3MzBEQjo0M0NERUIyOjYwQTAyOUI6NkE0RkZBRTMiLCJ2aXNpdG9yX2lkIjoiMTc0NzM0NzY3NjI2OTEwNDM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3d1836bb5d921e6d292267bb5ee5815fc0d21ab7fc0b7e4e6da2b915229c531d |
| hovercard-subject-tag | pull_request:132997338 |
| 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/2932/files |
| twitter:image | https://avatars.githubusercontent.com/u/1486029?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1486029?s=400&v=4 |
| og:image:alt | TL;DR: Fix issue and add huge test suite for pty.py.
Some development of a test suite with integration tests for the pty module happened over several months in the python bug tracker (when python w... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3bd0ff5d28a87b4801a63fb38c2a21a91b0a700dca159dc9416aeae05771b899 |
| 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 | 67a336083e4dcb40224dc2c01cd4c7ed413bdb09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/2932/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F2932%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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%2F2932%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/2932/files |
| Reload | https://github.com/python/cpython/pull/2932/files |
| Reload | https://github.com/python/cpython/pull/2932/files |
| Please reload this page | https://github.com/python/cpython/pull/2932/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/2932/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.6k
| 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.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
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 and quality
| 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 |
| diekmann | https://github.com/diekmann |
| python:master | https://github.com/python/cpython/tree/master |
| diekmann:wip-issue-29070 | https://github.com/diekmann/cpython/tree/wip-issue-29070 |
|
Conversation
2
| https://github.com/python/cpython/pull/2932 |
|
Commits
26
| https://github.com/python/cpython/pull/2932/commits |
|
Checks
0
| https://github.com/python/cpython/pull/2932/checks |
|
Files changed
| https://github.com/python/cpython/pull/2932/files |
| Please reload this page | https://github.com/python/cpython/pull/2932/files |
|
bpo-29070: Integration tests for pty module with patch from bpo-26228
| https://github.com/python/cpython/pull/2932/files#top |
|
Show all changes
26 commits
| https://github.com/python/cpython/pull/2932/files |
|
703c1d1
migrating issue to github
diekmann Apr 10, 2017
| https://github.com/python/cpython/pull/2932/commits/703c1d13eeacb4c6d52fe96d27cb7569aef26079 |
|
78c165a
using subprocess.run to run pty.spawn
diekmann Apr 14, 2017
| https://github.com/python/cpython/pull/2932/commits/78c165aad018efb62f1a41dad6d0792923968a79 |
|
28e918e
move _mock_stdin_stdout to the actual tests
diekmann Apr 14, 2017
| https://github.com/python/cpython/pull/2932/commits/28e918e1323954b04cbdd29dd6b837eb9b5d5a4d |
|
6e7f587
Get os.forkpty disabled again.
diekmann Apr 14, 2017
| https://github.com/python/cpython/pull/2932/commits/6e7f587c31d4ca9290f13bdf4eb075f16e00dcc8 |
|
fd61cad
Yes, way less monkey patching.
diekmann Apr 14, 2017
| https://github.com/python/cpython/pull/2932/commits/fd61cad9000f9c6e903b78525a9d164e9b3b4066 |
|
e9b0b8b
Decoupling PtySpawnTestBase and PtyMockingTestBase
diekmann Apr 14, 2017
| https://github.com/python/cpython/pull/2932/commits/e9b0b8b48972fe6e81eba8bb009a0eb831e57e48 |
|
a42755b
Move PtyMockingTestBase closer to PtyCopyTests
diekmann Apr 14, 2017
| https://github.com/python/cpython/pull/2932/commits/a42755bbbc3a5eac56fce108ac379165885285ca |
|
7451f97
Tuned class hierarchy
diekmann Apr 14, 2017
| https://github.com/python/cpython/pull/2932/commits/7451f9798582685a2c7e0520c538c3c10c96eb3f |
|
b604d83
fix line length and error path of base classes
diekmann Apr 14, 2017
| https://github.com/python/cpython/pull/2932/commits/b604d83b51f79cc36aaec7d9dd8a9fee8d15b7e1 |
|
cbe7d14
clarify difference to alternatives
diekmann Apr 14, 2017
| https://github.com/python/cpython/pull/2932/commits/cbe7d14ad72b8c4c83c05ccd06cc1d1c66745f0d |
|
8afd1e7
move disable-os.forkpty-code closer to the test
diekmann Apr 14, 2017
| https://github.com/python/cpython/pull/2932/commits/8afd1e73c357b3be02c4ca989d37c218bd0d0195 |
|
2c3498f
cosmetic changes
diekmann Apr 14, 2017
| https://github.com/python/cpython/pull/2932/commits/2c3498febcb65023f213d753fb86068ae407cab6 |
|
ec58a62
polish
diekmann Apr 14, 2017
| https://github.com/python/cpython/pull/2932/commits/ec58a624f8f08005a5b1e94678efe31a30e71556 |
|
0be6c54
let exceptions out and fail the tests
diekmann Apr 14, 2017
| https://github.com/python/cpython/pull/2932/commits/0be6c54f725a2559d1c5fdafdda054cdc6e5959c |
|
250ae50
Pull related code for select mocking tests together
diekmann Apr 14, 2017
| https://github.com/python/cpython/pull/2932/commits/250ae50704f959f000644eefbce9fa3110111f45 |
|
7ced6d8
Tune PtyCopyTests
diekmann Apr 14, 2017
| https://github.com/python/cpython/pull/2932/commits/7ced6d8d9d4449b6ed72e573bff331d5e84b8720 |
|
528fc5d
unify code comments in PtySpawnTestBase
diekmann Apr 15, 2017
| https://github.com/python/cpython/pull/2932/commits/528fc5dcc1478927cb1fda28adf649b129f60cb8 |
|
aeb6585
cosmetic changes
diekmann Apr 15, 2017
| https://github.com/python/cpython/pull/2932/commits/aeb65859f418a32f174174666046ae4fa8865be2 |
|
57876df
Cleanup of terminal setup code
diekmann Apr 15, 2017
| https://github.com/python/cpython/pull/2932/commits/57876df00be7c1efaf1c336be428fa2f09c9e8a3 |
|
2309d69
removed test_eof_echoctl
diekmann Apr 15, 2017
| https://github.com/python/cpython/pull/2932/commits/2309d69ba0bd1f50701076aaead221953789d587 |
|
f93de8d
fixed echoing race
diekmann Apr 15, 2017
| https://github.com/python/cpython/pull/2932/commits/f93de8d5f32c78f0ad38eec6716618beffbf1957 |
|
9cd9425
cleaned OS X workaround comments
diekmann Apr 15, 2017
| https://github.com/python/cpython/pull/2932/commits/9cd94257c6d44581cf14d959f06461bef3a4b836 |
|
a7e4753
Removed doc string from test methods.
diekmann Apr 15, 2017
| https://github.com/python/cpython/pull/2932/commits/a7e47537f3402077a1c0d402e7d93afce5eb1937 |
|
5944764
Fixed comment
diekmann Apr 15, 2017
| https://github.com/python/cpython/pull/2932/commits/59447641289db65dc817dce307ec38779e837916 |
|
851c261
[CONTRIBUTING.rst] Added myself to Misc/ACKS
diekmann Jul 28, 2017
| https://github.com/python/cpython/pull/2932/commits/851c2612db4741c101e9f1305d5f5ea106d59a08 |
|
5dbc249
added Chris Torek to ACKS
diekmann Jul 28, 2017
| https://github.com/python/cpython/pull/2932/commits/5dbc2495690a98635fbb373ee345733de52a5aa4 |
|
Clear filters
| https://github.com/python/cpython/pull/2932/files |
| Please reload this page | https://github.com/python/cpython/pull/2932/files |
| Please reload this page | https://github.com/python/cpython/pull/2932/files |
|
pty.rst
| https://github.com/python/cpython/pull/2932/files#diff-d827b28854eb16794889d6a7d19c79c1c3cccc6ddce18e996d46c9864d93bd73 |
|
pty.py
| https://github.com/python/cpython/pull/2932/files#diff-6951c8bf11da0d5912302a24b778e2c968fae9212bfeb2e73de06ec257b2d1da |
|
test_pty.py
| https://github.com/python/cpython/pull/2932/files#diff-818ac3490d7146a2dcd2d9add58f5e8f12cc3c1fe752d4e5eb7986852f6bb80d |
|
ACKS
| https://github.com/python/cpython/pull/2932/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
| Doc/library/pty.rst | https://github.com/python/cpython/pull/2932/files#diff-d827b28854eb16794889d6a7d19c79c1c3cccc6ddce18e996d46c9864d93bd73 |
|
View file
| https://github.com/diekmann/cpython/blob/5dbc2495690a98635fbb373ee345733de52a5aa4/Doc/library/pty.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/2932/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/2932/files#diff-d827b28854eb16794889d6a7d19c79c1c3cccc6ddce18e996d46c9864d93bd73 |
|
| https://github.com/python/cpython/pull/2932/files#diff-d827b28854eb16794889d6a7d19c79c1c3cccc6ddce18e996d46c9864d93bd73 |
|
| https://github.com/python/cpython/pull/2932/files#diff-d827b28854eb16794889d6a7d19c79c1c3cccc6ddce18e996d46c9864d93bd73 |
|
| https://github.com/python/cpython/pull/2932/files#diff-d827b28854eb16794889d6a7d19c79c1c3cccc6ddce18e996d46c9864d93bd73 |
|
| https://github.com/python/cpython/pull/2932/files#diff-d827b28854eb16794889d6a7d19c79c1c3cccc6ddce18e996d46c9864d93bd73 |
| Lib/pty.py | https://github.com/python/cpython/pull/2932/files#diff-6951c8bf11da0d5912302a24b778e2c968fae9212bfeb2e73de06ec257b2d1da |
|
View file
| https://github.com/diekmann/cpython/blob/5dbc2495690a98635fbb373ee345733de52a5aa4/Lib/pty.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/2932/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/2932/files#diff-6951c8bf11da0d5912302a24b778e2c968fae9212bfeb2e73de06ec257b2d1da |
|
| https://github.com/python/cpython/pull/2932/files#diff-6951c8bf11da0d5912302a24b778e2c968fae9212bfeb2e73de06ec257b2d1da |
|
| https://github.com/python/cpython/pull/2932/files#diff-6951c8bf11da0d5912302a24b778e2c968fae9212bfeb2e73de06ec257b2d1da |
|
| https://github.com/python/cpython/pull/2932/files#diff-6951c8bf11da0d5912302a24b778e2c968fae9212bfeb2e73de06ec257b2d1da |
|
| https://github.com/python/cpython/pull/2932/files#diff-6951c8bf11da0d5912302a24b778e2c968fae9212bfeb2e73de06ec257b2d1da |
| Please reload this page | https://github.com/python/cpython/pull/2932/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 |