Title: PyObject.GetAttr(string, PyObject _default) masks any exceptions · Issue #1036 · pythonnet/pythonnet · GitHub
Open Graph Title: PyObject.GetAttr(string, PyObject _default) masks any exceptions · Issue #1036 · pythonnet/pythonnet
X Title: PyObject.GetAttr(string, PyObject _default) masks any exceptions · Issue #1036 · pythonnet/pythonnet
Description: This method has bad semantics. Ideally, _default should only be returned when the object does not have an attribute with the specified name. In all other cases GetAttr should raise the PythonException explaining what went wrong instead o...
Open Graph Description: This method has bad semantics. Ideally, _default should only be returned when the object does not have an attribute with the specified name. In all other cases GetAttr should raise the PythonExcept...
X Description: This method has bad semantics. Ideally, _default should only be returned when the object does not have an attribute with the specified name. In all other cases GetAttr should raise the PythonExcept...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/1036
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PyObject.GetAttr(string, PyObject _default) masks any exceptions","articleBody":"This method has bad semantics. Ideally, `_default` should only be returned when the object does not have an attribute with the specified `name`. In all other cases `GetAttr` should raise the `PythonException` explaining what went wrong instead of returning `_default`.","author":{"url":"https://github.com/lostmsu","@type":"Person","name":"lostmsu"},"datePublished":"2020-01-31T20:59:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1036/pythonnet/issues/1036"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cb4eb58c-1460-7024-e336-82d4fd818428 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A99C:13D6E:2091DD3:2C0C99A:697083B7 |
| html-safe-nonce | 85ed5b1fc3673b86c3d6b6a98c9725e7c42b2077ff86ff96afc76886995dc2d8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTlDOjEzRDZFOjIwOTFERDM6MkMwQzk5QTo2OTcwODNCNyIsInZpc2l0b3JfaWQiOiI4MzM3NDM2MTUwNzkxNzAxNDMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b0307c2e0922e5112c61b0f490e114f8ca5d0e8c8392a8e5f65dc0b0bbcd1e21 |
| hovercard-subject-tag | issue:558369567 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/pythonnet/pythonnet/1036/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a02fb60ca037c0bea34614bd901a0c60a34c43b7742c7b0370a34264ebeffd3/pythonnet/pythonnet/issues/1036 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a02fb60ca037c0bea34614bd901a0c60a34c43b7742c7b0370a34264ebeffd3/pythonnet/pythonnet/issues/1036 |
| og:image:alt | This method has bad semantics. Ideally, _default should only be returned when the object does not have an attribute with the specified name. In all other cases GetAttr should raise the PythonExcept... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lostmsu |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width