Title: eds: Fix exception in comment parsing with hexadecimal line count. by acolomb · Pull Request #279 · canopen-python/canopen · GitHub
Open Graph Title: eds: Fix exception in comment parsing with hexadecimal line count. by acolomb · Pull Request #279 · canopen-python/canopen
X Title: eds: Fix exception in comment parsing with hexadecimal line count. by acolomb · Pull Request #279 · canopen-python/canopen
Description: This fixes a bug introduced in #254, which immediately broke parsing of my EDS files. Inside an EDS file's [Comments] section, the Lines attribute may be expressed as a hexadecimal number prefixed with 0x. The ConfigParser.getint() method however does not support such a format. Switch to the default int() constructor with a base=0 argument to enable auto-detection of this condition. The same is done for basically every other numeric value in the EDS importer.
Open Graph Description: This fixes a bug introduced in #254, which immediately broke parsing of my EDS files. Inside an EDS file's [Comments] section, the Lines attribute may be expressed as a hexadecimal number prefi...
X Description: This fixes a bug introduced in #254, which immediately broke parsing of my EDS files. Inside an EDS file's [Comments] section, the Lines attribute may be expressed as a hexadecimal number p...
Opengraph URL: https://github.com/canopen-python/canopen/pull/279
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:770c0ba1-dd6a-0e6f-ee6a-5e0b83211ad4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 989C:2B893D:3312A5:446BF0:6A5ED911 |
| html-safe-nonce | c7302266249ba8a657e4a21fae651d5726fc2d9edf32e338135f3bcb6bae44e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODlDOjJCODkzRDozMzEyQTU6NDQ2QkYwOjZBNUVEOTExIiwidmlzaXRvcl9pZCI6IjU0NzAwODU0NDI0ODUyNzg5OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | eec7ed02cc6177b1728815544e83935b23ad3c5af93bb4f30853d765c5b0ea3b |
| hovercard-subject-tag | pull_request:776657676 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/canopen-python/canopen/pull/279/files |
| twitter:image | https://avatars.githubusercontent.com/u/6996887?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/6996887?s=400&v=4 |
| og:image:alt | This fixes a bug introduced in #254, which immediately broke parsing of my EDS files. Inside an EDS file's [Comments] section, the Lines attribute may be expressed as a hexadecimal number prefi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 82d0004a35927bdb00c652a57f456c55aa0eda4ade1bc7956d7510fdea6e454b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/canopen-python/canopen git https://github.com/canopen-python/canopen.git |
| octolytics-dimension-user_id | 200581454 |
| octolytics-dimension-user_login | canopen-python |
| octolytics-dimension-repository_id | 68737600 |
| octolytics-dimension-repository_nwo | canopen-python/canopen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 68737600 |
| octolytics-dimension-repository_network_root_nwo | canopen-python/canopen |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d2d913dd727d2d7ac189fb4d05b10bc34ecd03ee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width