| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:bed02609-37de-9f70-2718-755b3acdfd7e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A400:2E2554:17F2F8:1ECAA5:6A5EA75A |
| html-safe-nonce | df2977e91c6963e3f446e50e90938e495b35b9d5617dcd65ec62f2e4038d9747 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDAwOjJFMjU1NDoxN0YyRjg6MUVDQUE1OjZBNUVBNzVBIiwidmlzaXRvcl9pZCI6IjUwNDY3OTQ1OTU5MTIwMjY1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 763766fc87297adb3c0d887ab4ce34515e997cfceff4c8d0323dde501ffb3475 |
| hovercard-subject-tag | pull_request:3316448066 |
| 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/hardbyte/python-can/pull/2031/files |
| twitter:image | https://avatars.githubusercontent.com/u/243321?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/243321?s=400&v=4 |
| og:image:alt | Summary of Changes
This changes gs_usb handling of timeout=None to 'forever' by passing 0 to the underlying layer as suggested by @zariiii9003 in #2026 .
But first I needed to make gs_usb ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7c7e31acb6a895494e518b880f5ccf39604f7fa9a8f2f3c64145efc3b776256d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/hardbyte/python-can git https://github.com/hardbyte/python-can.git |
| octolytics-dimension-user_id | 855189 |
| octolytics-dimension-user_login | hardbyte |
| octolytics-dimension-repository_id | 69090889 |
| octolytics-dimension-repository_nwo | hardbyte/python-can |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 69090889 |
| octolytics-dimension-repository_network_root_nwo | hardbyte/python-can |
| 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 | 2d2ac9bdd71d5f53f2b731c9330677e38624e301 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/hardbyte/python-can/pull/2031/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhardbyte%2Fpython-can%2Fpull%2F2031%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 |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| 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%2Fhardbyte%2Fpython-can%2Fpull%2F2031%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=hardbyte%2Fpython-can |
| Reload | https://github.com/hardbyte/python-can/pull/2031/files |
| Reload | https://github.com/hardbyte/python-can/pull/2031/files |
| Reload | https://github.com/hardbyte/python-can/pull/2031/files |
|
hardbyte
| https://github.com/hardbyte |
| python-can | https://github.com/hardbyte/python-can |
|
Notifications
| https://github.com/login?return_to=%2Fhardbyte%2Fpython-can |
|
Fork
687
| https://github.com/login?return_to=%2Fhardbyte%2Fpython-can |
|
Star
1.6k
| https://github.com/login?return_to=%2Fhardbyte%2Fpython-can |
|
Code
| https://github.com/hardbyte/python-can |
|
Issues
224
| https://github.com/hardbyte/python-can/issues |
|
Pull requests
35
| https://github.com/hardbyte/python-can/pulls |
|
Discussions
| https://github.com/hardbyte/python-can/discussions |
|
Actions
| https://github.com/hardbyte/python-can/actions |
|
Security and quality
0
| https://github.com/hardbyte/python-can/security |
|
Insights
| https://github.com/hardbyte/python-can/pulse |
|
Code
| https://github.com/hardbyte/python-can |
|
Issues
| https://github.com/hardbyte/python-can/issues |
|
Pull requests
| https://github.com/hardbyte/python-can/pulls |
|
Discussions
| https://github.com/hardbyte/python-can/discussions |
|
Actions
| https://github.com/hardbyte/python-can/actions |
|
Security and quality
| https://github.com/hardbyte/python-can/security |
|
Insights
| https://github.com/hardbyte/python-can/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fhardbyte%2Fpython-can%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=%2Fhardbyte%2Fpython-can%2Fissues%2Fnew%2Fchoose |
| zariiii9003 | https://github.com/zariiii9003 |
| hardbyte:main | https://github.com/hardbyte/python-can/tree/main |
| BenGardiner:gs_usb_WinUSB_and_timeoutNone | https://github.com/BenGardiner/python-can/tree/gs_usb_WinUSB_and_timeoutNone |
|
Conversation
9
| https://github.com/hardbyte/python-can/pull/2031 |
|
Commits
13
| https://github.com/hardbyte/python-can/pull/2031/commits |
|
Checks
28
| https://github.com/hardbyte/python-can/pull/2031/checks |
|
Files changed
6
| https://github.com/hardbyte/python-can/pull/2031/files |
|
gs-usb WinUSB support and timeout=none is forever
| https://github.com/hardbyte/python-can/pull/2031/files#top |
|
Show all changes
13 commits
| https://github.com/hardbyte/python-can/pull/2031/files |
|
b335bbd
Update gs_usb driver to support WinUSB by not forcing libusb1 backend
Copilot Feb 23, 2026
| https://github.com/hardbyte/python-can/pull/2031/commits/b335bbda21e004de3ac14db6ccded14331494851 |
|
eecde92
Add pyusb as explicit dependency in gs-usb optional group
Copilot Feb 23, 2026
| https://github.com/hardbyte/python-can/pull/2031/commits/eecde923084b617e2bbd5615547f768bfa2205c7 |
|
2408840
gs_usb: treat timeout=None as forever
BenGardiner Feb 23, 2026
| https://github.com/hardbyte/python-can/pull/2031/commits/2408840284fc53dcc0b93293fe56dd2942f126ac |
|
d7e2e3a
add news fragment
BenGardiner Feb 23, 2026
| https://github.com/hardbyte/python-can/pull/2031/commits/d7e2e3a4acc624dffa89b1b1484d407ae1521c38 |
|
1e68110
formatting fixes
BenGardiner Feb 23, 2026
| https://github.com/hardbyte/python-can/pull/2031/commits/1e68110dffc867f1976b05b677752fd1ae2357ae |
|
f0cbee0
gs_usb module needed in tests deps now
BenGardiner Feb 23, 2026
| https://github.com/hardbyte/python-can/pull/2031/commits/f0cbee0b90b659801a05f9b50091ba5126003df8 |
|
4367d90
Fix gs_usb shutdown to always call parent BusABC.shutdown()
Copilot Feb 23, 2026
| https://github.com/hardbyte/python-can/pull/2031/commits/4367d9071a8e042b6133996876e15634c3a2918c |
|
9618934
note pyusb not WinUSB in news and news frags are a sentence not a lis…
BenGardiner Mar 4, 2026
| https://github.com/hardbyte/python-can/pull/2031/commits/961893479bfd5bb432e66a46bde1cb5727737140 |
|
ea01de5
put gs-usb dep into tox.ini (@zariiii9003)
BenGardiner Mar 4, 2026
| https://github.com/hardbyte/python-can/pull/2031/commits/ea01de5870a594282543920252509a6b02c510a4 |
|
75fe619
combine _scan_gs_usb_devices() and _find_gs_usb_device() (@zariiii9003)
BenGardiner Mar 4, 2026
| https://github.com/hardbyte/python-can/pull/2031/commits/75fe6190556a02107bb970f1fe5925b808e00247 |
|
3e5b1c0
don't instantiate a GsUsb device for every one detected (@zariiii9003)
BenGardiner Mar 4, 2026
| https://github.com/hardbyte/python-can/pull/2031/commits/3e5b1c062ea6166f19680d64b0c5e68736aaef2d |
|
22a3cbd
remove gs-usb from mypy (@zariiii9003)
BenGardiner Mar 6, 2026
| https://github.com/hardbyte/python-can/pull/2031/commits/22a3cbde0aaf177e0772764f276657707f208a8b |
|
ceeef98
gs_usb: explicitly handle timeout=None separate from =0 (@zariiii9003)
BenGardiner Mar 6, 2026
| https://github.com/hardbyte/python-can/pull/2031/commits/ceeef98bc9424782251e2169d09e0fb4f1df89a6 |
|
Clear filters
| https://github.com/hardbyte/python-can/pull/2031/files |
| Please reload this page | https://github.com/hardbyte/python-can/pull/2031/files |
| Please reload this page | https://github.com/hardbyte/python-can/pull/2031/files |
|
gs_usb.py
| https://github.com/hardbyte/python-can/pull/2031/files#diff-728a0d4ef6d4645e099dd70a322662122111f58104af6963de1b6195ddbf9154 |
|
2031.changed.md
| https://github.com/hardbyte/python-can/pull/2031/files#diff-1b591c659728cdf3f0dcc949426a76202538e86430b941cce3561df640a8491c |
|
gs_usb.rst
| https://github.com/hardbyte/python-can/pull/2031/files#diff-7f4dc54551625961ffdae4a2dfab085e357a4347f91efdb56bce63fec64e17a7 |
|
pyproject.toml
| https://github.com/hardbyte/python-can/pull/2031/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
test_interface_gs_usb.py
| https://github.com/hardbyte/python-can/pull/2031/files#diff-f80004928e9673c53b418f38fac2ee01100e824429dd18f312910640271650af |
|
tox.ini
| https://github.com/hardbyte/python-can/pull/2031/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449 |
| can/interfaces/gs_usb.py | https://github.com/hardbyte/python-can/pull/2031/files#diff-728a0d4ef6d4645e099dd70a322662122111f58104af6963de1b6195ddbf9154 |
|
View file
| https://github.com/BenGardiner/python-can/blob/ceeef98bc9424782251e2169d09e0fb4f1df89a6/can/interfaces/gs_usb.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/hardbyte/python-can/pull/2031/{{ revealButtonHref }} |
|
| https://github.com/hardbyte/python-can/pull/2031/files#diff-728a0d4ef6d4645e099dd70a322662122111f58104af6963de1b6195ddbf9154 |
|
| https://github.com/hardbyte/python-can/pull/2031/files#diff-728a0d4ef6d4645e099dd70a322662122111f58104af6963de1b6195ddbf9154 |
|
| https://github.com/hardbyte/python-can/pull/2031/files#diff-728a0d4ef6d4645e099dd70a322662122111f58104af6963de1b6195ddbf9154 |
|
| https://github.com/hardbyte/python-can/pull/2031/files#diff-728a0d4ef6d4645e099dd70a322662122111f58104af6963de1b6195ddbf9154 |
|
| https://github.com/hardbyte/python-can/pull/2031/files#diff-728a0d4ef6d4645e099dd70a322662122111f58104af6963de1b6195ddbf9154 |
|
| https://github.com/hardbyte/python-can/pull/2031/files#diff-728a0d4ef6d4645e099dd70a322662122111f58104af6963de1b6195ddbf9154 |
| doc/changelog.d/2031.changed.md | https://github.com/hardbyte/python-can/pull/2031/files#diff-1b591c659728cdf3f0dcc949426a76202538e86430b941cce3561df640a8491c |
|
View file
| https://github.com/BenGardiner/python-can/blob/ceeef98bc9424782251e2169d09e0fb4f1df89a6/doc/changelog.d/2031.changed.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/hardbyte/python-can/pull/2031/{{ revealButtonHref }} |
| doc/interfaces/gs_usb.rst | https://github.com/hardbyte/python-can/pull/2031/files#diff-7f4dc54551625961ffdae4a2dfab085e357a4347f91efdb56bce63fec64e17a7 |
|
View file
| https://github.com/BenGardiner/python-can/blob/ceeef98bc9424782251e2169d09e0fb4f1df89a6/doc/interfaces/gs_usb.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/hardbyte/python-can/pull/2031/{{ revealButtonHref }} |
|
| https://github.com/hardbyte/python-can/pull/2031/files#diff-7f4dc54551625961ffdae4a2dfab085e357a4347f91efdb56bce63fec64e17a7 |
|
| https://github.com/hardbyte/python-can/pull/2031/files#diff-7f4dc54551625961ffdae4a2dfab085e357a4347f91efdb56bce63fec64e17a7 |
| pyproject.toml | https://github.com/hardbyte/python-can/pull/2031/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
View file
| https://github.com/BenGardiner/python-can/blob/ceeef98bc9424782251e2169d09e0fb4f1df89a6/pyproject.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/hardbyte/python-can/pull/2031/{{ revealButtonHref }} |
|
| https://github.com/hardbyte/python-can/pull/2031/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
| https://github.com/hardbyte/python-can/pull/2031/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
| https://github.com/hardbyte/python-can/pull/2031/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
| https://github.com/hardbyte/python-can/pull/2031/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
| test/test_interface_gs_usb.py | https://github.com/hardbyte/python-can/pull/2031/files#diff-f80004928e9673c53b418f38fac2ee01100e824429dd18f312910640271650af |
|
View file
| https://github.com/BenGardiner/python-can/blob/ceeef98bc9424782251e2169d09e0fb4f1df89a6/test/test_interface_gs_usb.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/hardbyte/python-can/pull/2031/{{ revealButtonHref }} |
| tox.ini | https://github.com/hardbyte/python-can/pull/2031/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449 |
|
View file
| https://github.com/BenGardiner/python-can/blob/ceeef98bc9424782251e2169d09e0fb4f1df89a6/tox.ini |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/hardbyte/python-can/pull/2031/{{ revealButtonHref }} |
|
| https://github.com/hardbyte/python-can/pull/2031/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449 |
|
| https://github.com/hardbyte/python-can/pull/2031/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449 |
|
| https://github.com/hardbyte/python-can/pull/2031/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449 |
|
| 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 |