Title: JSONDecoder.raw_decode breaks on leading whitespace · Issue #59598 · python/cpython · GitHub
Open Graph Title: JSONDecoder.raw_decode breaks on leading whitespace · Issue #59598 · python/cpython
X Title: JSONDecoder.raw_decode breaks on leading whitespace · Issue #59598 · python/cpython
Description: BPO 15393 Nosy @jcea, @rbtcollins, @ezio-melotti, @bitdancer, @squidsoup, @Mariatta, @DanielNoord Files json-raw-decoder-fix-whitespace.diff: Patch for Python 3.3.0json-raw-decoder-fix-whitespace.diff: Patch for Python 3.3.0, take twoiss...
Open Graph Description: BPO 15393 Nosy @jcea, @rbtcollins, @ezio-melotti, @bitdancer, @squidsoup, @Mariatta, @DanielNoord Files json-raw-decoder-fix-whitespace.diff: Patch for Python 3.3.0json-raw-decoder-fix-whitespace.d...
X Description: BPO 15393 Nosy @jcea, @rbtcollins, @ezio-melotti, @bitdancer, @squidsoup, @Mariatta, @DanielNoord Files json-raw-decoder-fix-whitespace.diff: Patch for Python 3.3.0json-raw-decoder-fix-whitespace.d...
Opengraph URL: https://github.com/python/cpython/issues/59598
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"JSONDecoder.raw_decode breaks on leading whitespace","articleBody":"BPO | [15393](https://bugs.python.org/issue15393)\n--- | :---\nNosy | @jcea, @rbtcollins, @ezio-melotti, @bitdancer, @squidsoup, @Mariatta, @DanielNoord\nFiles | \u003cli>[json-raw-decoder-fix-whitespace.diff](https://bugs.python.org/file26434/json-raw-decoder-fix-whitespace.diff \"Uploaded as text/plain at 2012-07-19.11:40:53 by aalien\"): Patch for Python 3.3.0\u003c/li>\u003cli>[json-raw-decoder-fix-whitespace.diff](https://bugs.python.org/file26450/json-raw-decoder-fix-whitespace.diff \"Uploaded as text/plain at 2012-07-20.12:41:57 by aalien\"): Patch for Python 3.3.0, take two\u003c/li>\u003cli>[issue15393_3.6.patch](https://bugs.python.org/file44613/issue15393_3.6.patch \"Uploaded as text/plain at 2016-09-13.00:28:27 by @squidsoup\")\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 = None\nclosed_at = None\ncreated_at = \u003cDate 2012-07-19.10:09:55.376>\nlabels = ['3.7', 'easy', 'type-bug', 'library']\ntitle = 'JSONDecoder.raw_decode breaks on leading whitespace'\nupdated_at = \u003cDate 2022-03-18.20:05:49.519>\nuser = 'https://bugs.python.org/aalien'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2022-03-18.20:05:49.519>\nactor = 'danielnoord'\nassignee = 'none'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2012-07-19.10:09:55.376>\ncreator = 'aalien'\ndependencies = []\nfiles = ['26434', '26450', '44613']\nhgrepos = []\nissue_num = 15393\nkeywords = ['patch', 'easy']\nmessage_count = 14.0\nmessages = ['165829', '165830', '165831', '165832', '165834', '165835', '165836', '165918', '168936', '168939', '276143', '276161', '276291', '415523']\nnosy_count = 8.0\nnosy_names = ['jcea', 'rbcollins', 'ezio.melotti', 'r.david.murray', 'aalien', 'Bayard Randel', 'Mariatta', 'danielnoord']\npr_nums = []\npriority = 'normal'\nresolution = None\nstage = 'needs patch'\nstatus = 'open'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue15393'\nversions = ['Python 3.5', 'Python 3.6', 'Python 3.7']\n```\n\n\u003c/p>\u003c/details>\n\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-117397\n* gh-153017\n* gh-153018\n\u003c!-- /gh-linked-prs -->\n","author":{"url":null,"@type":"Person","name":"aalien"},"datePublished":"2012-07-19T10:09:55Z","url":"https://github.com/python/cpython/issues/59598"}
| 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:b0855aa7-e960-1821-bd1b-9ea5b5d2cb74 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D222:6365:3422EDE:458D3C0:6B020209 |
| html-safe-nonce | a50e2bb3bb933e0d191652c1a92253e6b63068ddf225780a3c04cf117e8a3e18 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjIyOjYzNjU6MzQyMkVERTo0NThEM0MwOjZCMDIwMjA5IiwidmlzaXRvcl9pZCI6Ijc1NDc2NDE0NzM4MTkzNDU0MTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1e5d83bd91fa1d8ecc7b93af66ffb08987f78a554f6b2f8c82112c81e51d7e0d |
| hovercard-subject-tag | issue:1198885654 |
| 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/59598/issue_layout |
| twitter:image | https://opengraph.githubassets.com/14d0859f16d0a43cd024417d4681369862b10234eb859099fd180e50fc2e132b/python/cpython/issues/59598 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/14d0859f16d0a43cd024417d4681369862b10234eb859099fd180e50fc2e132b/python/cpython/issues/59598 |
| og:image:alt | BPO 15393 Nosy @jcea, @rbtcollins, @ezio-melotti, @bitdancer, @squidsoup, @Mariatta, @DanielNoord Files json-raw-decoder-fix-whitespace.diff: Patch for Python 3.3.0json-raw-decoder-fix-whitespace.d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aalien |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width