Title: Headline "Test for object identity should be is" doesn't match content · Issue #131 · quantifiedcode/python-anti-patterns · GitHub
Open Graph Title: Headline "Test for object identity should be is" doesn't match content · Issue #131 · quantifiedcode/python-anti-patterns
X Title: Headline "Test for object identity should be is" doesn't match content · Issue #131 · quantifiedcode/python-anti-patterns
Description: Apart from being phrased the wrong way (the headline names the pattern, not the anti-pattern), it doesn't match the content. The anti-pattern is about using is for equality tests, not about using something besides is for identity tests. ...
Open Graph Description: Apart from being phrased the wrong way (the headline names the pattern, not the anti-pattern), it doesn't match the content. The anti-pattern is about using is for equality tests, not about using s...
X Description: Apart from being phrased the wrong way (the headline names the pattern, not the anti-pattern), it doesn't match the content. The anti-pattern is about using is for equality tests, not about usi...
Opengraph URL: https://github.com/quantifiedcode/python-anti-patterns/issues/131
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Headline \"Test for object identity should be is\" doesn't match content","articleBody":"Apart from being phrased the wrong way (the headline names the pattern, not the anti-pattern), it doesn't match the content.\r\n\r\nThe anti-pattern is about using is for equality tests, not about using something besides is for identity tests.\r\n\r\nThe headline should be changed to \"Using `is` for equality testing\" or something like that.\r\n\r\n(There should probably also be an anti-pattern \"Using == for identity testing\" - I see stuff like `x == None` or (worse) `x == True` far more often than a misguided `is`)","author":{"url":"https://github.com/hjp","@type":"Person","name":"hjp"},"datePublished":"2019-07-28T18:23:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/131/python-anti-patterns/issues/131"}
| 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:ed0e7dca-e6e5-c296-b1cb-9dc4198bc2f0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B940:1672C1:30CDB2:40005C:696ADC55 |
| html-safe-nonce | bc20b971bf8846c414e8e932fbfb17429dfe8ec9eb82163852876714f01a8057 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTQwOjE2NzJDMTozMENEQjI6NDAwMDVDOjY5NkFEQzU1IiwidmlzaXRvcl9pZCI6Ijg5NTExODc5NDgwNTIzMzk3OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 24c1ba9f5efdc20b4a85b5930f1885c06e2a59cf716895afeb6022dbffed1bd0 |
| hovercard-subject-tag | issue:473771803 |
| 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/quantifiedcode/python-anti-patterns/131/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fa3822f524c07419fc4a223a52b519ec541039f9c61f6c1d01f7dc7c596ce50d/quantifiedcode/python-anti-patterns/issues/131 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fa3822f524c07419fc4a223a52b519ec541039f9c61f6c1d01f7dc7c596ce50d/quantifiedcode/python-anti-patterns/issues/131 |
| og:image:alt | Apart from being phrased the wrong way (the headline names the pattern, not the anti-pattern), it doesn't match the content. The anti-pattern is about using is for equality tests, not about using s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hjp |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/quantifiedcode/python-anti-patterns git https://github.com/quantifiedcode/python-anti-patterns.git |
| octolytics-dimension-user_id | 6774260 |
| octolytics-dimension-user_login | quantifiedcode |
| octolytics-dimension-repository_id | 22258112 |
| octolytics-dimension-repository_nwo | quantifiedcode/python-anti-patterns |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22258112 |
| octolytics-dimension-repository_network_root_nwo | quantifiedcode/python-anti-patterns |
| 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 | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width