Title: Extended slicing with classic class behaves strangely · Issue #51781 · python/cpython · GitHub
Open Graph Title: Extended slicing with classic class behaves strangely · Issue #51781 · python/cpython
X Title: Extended slicing with classic class behaves strangely · Issue #51781 · python/cpython
Description: BPO 7532 Nosy @rhettinger, @mdickinson, @florentx Files case_slice.py: Buggy behaviour of classic classesissue7532_classic_getitem_v2.diff: Patch, apply to trunkissue7532_wontfix_tests.diff: Patch, apply to trunkissue7532_bytearray.diff:...
Open Graph Description: BPO 7532 Nosy @rhettinger, @mdickinson, @florentx Files case_slice.py: Buggy behaviour of classic classesissue7532_classic_getitem_v2.diff: Patch, apply to trunkissue7532_wontfix_tests.diff: Patch,...
X Description: BPO 7532 Nosy @rhettinger, @mdickinson, @florentx Files case_slice.py: Buggy behaviour of classic classesissue7532_classic_getitem_v2.diff: Patch, apply to trunkissue7532_wontfix_tests.diff: Patch,...
Opengraph URL: https://github.com/python/cpython/issues/51781
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Extended slicing with classic class behaves strangely","articleBody":"BPO | [7532](https://bugs.python.org/issue7532)\n--- | :---\nNosy | @rhettinger, @mdickinson, @florentx\nFiles | \u003cli>[case_slice.py](https://bugs.python.org/file15582/case_slice.py \"Uploaded as text/plain at 2009-12-17.16:54:07 by @florentx\"): Buggy behaviour of classic classes\u003c/li>\u003cli>[issue7532_classic_getitem_v2.diff](https://bugs.python.org/file15586/issue7532_classic_getitem_v2.diff \"Uploaded as text/plain at 2009-12-18.00:18:00 by @florentx\"): Patch, apply to trunk\u003c/li>\u003cli>[issue7532_wontfix_tests.diff](https://bugs.python.org/file15779/issue7532_wontfix_tests.diff \"Uploaded as text/plain at 2010-01-07.21:30:57 by @florentx\"): Patch, apply to trunk\u003c/li>\u003cli>[issue7532_bytearray.diff](https://bugs.python.org/file15802/issue7532_bytearray.diff \"Uploaded as text/plain at 2010-01-09.22:59:48 by @florentx\"): Patch, apply to trunk\u003c/li>\u003cli>[issue7532_wontfix_tests_py3k.diff](https://bugs.python.org/file15804/issue7532_wontfix_tests_py3k.diff \"Uploaded as text/plain at 2010-01-09.23:09:15 by @florentx\"): Patch, apply to py3k\u003c/li>\n\n\u003csup>*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup>\n\n\u003cdetails>\u003csummary>Show more details\u003c/summary>\u003cp>\n\nGitHub fields:\n```python\nassignee = 'https://github.com/mdickinson'\nclosed_at = \u003cDate 2010-01-10.12:01:12.470>\ncreated_at = \u003cDate 2009-12-17.16:54:08.449>\nlabels = ['interpreter-core', 'type-bug']\ntitle = 'Extended slicing with classic class behaves strangely'\nupdated_at = \u003cDate 2010-01-10.12:01:12.469>\nuser = 'https://github.com/florentx'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2010-01-10.12:01:12.469>\nactor = 'mark.dickinson'\nassignee = 'mark.dickinson'\nclosed = True\nclosed_date = \u003cDate 2010-01-10.12:01:12.470>\ncloser = 'mark.dickinson'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2009-12-17.16:54:08.449>\ncreator = 'flox'\ndependencies = []\nfiles = ['15582', '15586', '15779', '15802', '15804']\nhgrepos = []\nissue_num = 7532\nkeywords = ['patch']\nmessage_count = 12.0\nmessages = ['96520', '96532', '96533', '96536', '96542', '96601', '97157', '97376', '97379', '97467', '97475', '97511']\nnosy_count = 3.0\nnosy_names = ['rhettinger', 'mark.dickinson', 'flox']\npr_nums = []\npriority = 'normal'\nresolution = 'wont fix'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue7532'\nversions = ['Python 2.6', 'Python 2.7']\n```\n\n\u003c/p>\u003c/details>\n","author":{"url":null,"@type":"Person","name":"florentx"},"datePublished":"2009-12-17T16:54:08Z","url":"https://github.com/python/cpython/issues/51781"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:63d7f70c-33ae-52f0-bfdd-562922ec6a01 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D238:22F32B:79B62:ABA3F:6B0061D1 |
| html-safe-nonce | 283d213a45c961df1c475817cfe9f117d969adc674ed5dad13e1ded4b67f80db |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjM4OjIyRjMyQjo3OUI2MjpBQkEzRjo2QjAwNjFEMSIsInZpc2l0b3JfaWQiOiI4MTM3MTgwMDI3ODc2ODI3NjAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2e26b17c609fe5c258c401acf8039ec8f1c52693e74e663d852aec4caa059c72 |
| hovercard-subject-tag | issue:1198850563 |
| 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/51781/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ca0552975aefae6adab2ea5010922bdc23d8c499d9e045e7edbd2a56833d01f4/python/cpython/issues/51781 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ca0552975aefae6adab2ea5010922bdc23d8c499d9e045e7edbd2a56833d01f4/python/cpython/issues/51781 |
| og:image:alt | BPO 7532 Nosy @rhettinger, @mdickinson, @florentx Files case_slice.py: Buggy behaviour of classic classesissue7532_classic_getitem_v2.diff: Patch, apply to trunkissue7532_wontfix_tests.diff: Patch,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | florentx |
| hostname | github.com |
| expected-hostname | github.com |
| None | 25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e |
| 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 | e4f5c239e31f1f680e6bbc419ff92d774da616ec |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width