Title: Issue · GitHub
Open Graph Title: Issue · python/cpython
X Title: Issue · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
X Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Opengraph URL: https://github.com/python/cpython
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"index() and count() methods of bytes and bytearray should accept byte ints","articleBody":"BPO | [12170](https://bugs.python.org/issue12170)\n--- | :---\nNosy | @rhettinger, @terryjreedy, @jcea, @pitrou, @vstinner, @ezio-melotti, @merwok, @florentx, @IIIIllllIIIIllllIIIIllllIIIIllllIIIIll, @akheron\nFiles | \u003cli\u003e[issue12170.patch](https://bugs.python.org/file22733/issue12170.patch \"Uploaded as text/plain at 2011-07-23.20:25:06 by @akheron\")\u003c/li\u003e\u003cli\u003e[issue12170_v2.patch](https://bugs.python.org/file23465/issue12170_v2.patch \"Uploaded as text/plain at 2011-10-19.18:18:25 by @akheron\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2011-10-20.21:58:46.441\u003e\ncreated_at = \u003cDate 2011-05-24.19:49:09.812\u003e\nlabels = ['interpreter-core', 'type-bug']\ntitle = 'index() and count() methods of bytes and bytearray should accept byte ints'\nupdated_at = \u003cDate 2012-06-26.07:28:04.227\u003e\nuser = 'https://bugs.python.org/max-alleged'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2012-06-26.07:28:04.227\u003e\nactor = 'python-dev'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2011-10-20.21:58:46.441\u003e\ncloser = 'pitrou'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2011-05-24.19:49:09.812\u003e\ncreator = 'max-alleged'\ndependencies = []\nfiles = ['22733', '23465']\nhgrepos = []\nissue_num = 12170\nkeywords = ['patch', 'needs review']\nmessage_count = 22.0\nmessages = ['136786', '136787', '136878', '136883', '140903', '141016', '141033', '141216', '141490', '141491', '145797', '145799', '145929', '145931', '146055', '146056', '148232', '148237', '148287', '149722', '149723', '164054']\nnosy_count = 12.0\nnosy_names = ['rhettinger', 'terry.reedy', 'jcea', 'pitrou', 'vstinner', 'ezio.melotti', 'eric.araujo', 'flox', 'xuanji', 'max-alleged', 'python-dev', 'petri.lehtinen']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue12170'\nversions = ['Python 3.3']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/max-alleged","@type":"Person","name":"max-alleged"},"datePublished":"2011-05-24T19:49:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":22},"url":"https://github.com/56379/cpython/issues/56379"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:78213d99-33fc-170d-1a27-a0a2554f0ceb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E972:DAA15:47D8C6:6083B3:6A52F397 |
| html-safe-nonce | d1ed4025cbee46cdde9ec22d76621732be31e7d494c354d9c0f9984a5f1fa5c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTcyOkRBQTE1OjQ3RDhDNjo2MDgzQjM6NkE1MkYzOTciLCJ2aXNpdG9yX2lkIjoiNjY5ODM1MjA5ODA3NjE5MzY4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b5c067e97b0cc82c98dbd0e99c9cc3e42b78156f0b48031f51c16b99f24207ad |
| hovercard-subject-tag | repository:81598961 |
| 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/python/cpython/issues/56379 |
| twitter:image | https://opengraph.githubassets.com/884e2f0b25ffff706441d6a1d213c238f37db872facfcbba4013060f1668f19e/python/cpython |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/884e2f0b25ffff706441d6a1d213c238f37db872facfcbba4013060f1668f19e/python/cpython |
| og:image:alt | The Python programming language. Contribute to python/cpython development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width