Title: SymbolTable.get_identifiers() docstring return value incorrect · Issue #93660 · python/cpython · GitHub
Open Graph Title: SymbolTable.get_identifiers() docstring return value incorrect · Issue #93660 · python/cpython
X Title: SymbolTable.get_identifiers() docstring return value incorrect · Issue #93660 · python/cpython
Description: Documentation SymbolTable.get_identifiers() currently says: "Return a list of names of symbols in this table." However, the returned value is actually dict_keys, a dictionary view object, which doesn't support everything that a list does...
Open Graph Description: Documentation SymbolTable.get_identifiers() currently says: "Return a list of names of symbols in this table." However, the returned value is actually dict_keys, a dictionary view object, which doe...
X Description: Documentation SymbolTable.get_identifiers() currently says: "Return a list of names of symbols in this table." However, the returned value is actually dict_keys, a dictionary view object,...
Opengraph URL: https://github.com/python/cpython/issues/93660
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SymbolTable.get_identifiers() docstring return value incorrect","articleBody":"**Documentation**\r\n\r\nSymbolTable.get_identifiers() currently says:\r\n\"Return a list of names of symbols in this table.\"\r\n\r\nHowever, the returned value is actually dict_keys, a dictionary view object, which doesn't support everything that a list does (notably, it's not subscriptable).\r\n\r\nI have a PR with a proposed change incoming.","author":{"url":"https://github.com/pamelafox","@type":"Person","name":"pamelafox"},"datePublished":"2022-06-09T22:59:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/93660/cpython/issues/93660"}
| 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:b8b09d97-08a1-2e51-e1ac-cd6b18995790 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E200:4D95E:41F138:5D735E:696A0B0A |
| html-safe-nonce | 4cb124983f9656487fb3d2da05999876f853941a64d1cacea825d46ea9f2b2ce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjAwOjREOTVFOjQxRjEzODo1RDczNUU6Njk2QTBCMEEiLCJ2aXNpdG9yX2lkIjoiMzM5MzA4NjY3MzI5OTczMDAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8cbe1bcf506defa8c6cf1435da720bd5594227d4c6b9d45d3ce7a1249bb09deb |
| hovercard-subject-tag | issue:1266750402 |
| 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/python/cpython/93660/issue_layout |
| twitter:image | https://opengraph.githubassets.com/714ec4ba3faba9a45101fe3fa5c40aa133676c2824a8b49ae7f76ae92c6fa0c0/python/cpython/issues/93660 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/714ec4ba3faba9a45101fe3fa5c40aa133676c2824a8b49ae7f76ae92c6fa0c0/python/cpython/issues/93660 |
| og:image:alt | Documentation SymbolTable.get_identifiers() currently says: "Return a list of names of symbols in this table." However, the returned value is actually dict_keys, a dictionary view object, which doe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pamelafox |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width