Title: Array append broken · Issue #159 · PythonJS/PythonJS · GitHub
Open Graph Title: Array append broken · Issue #159 · PythonJS/PythonJS
X Title: Array append broken · Issue #159 · PythonJS/PythonJS
Description: The following Python code a = ["hello"] a += ["world"] print(a) # ['hello', 'world'] gets compiled into: a = ["hello"]; // ... a += ["world"]; console.log(a); // "helloworld" which is wrong, since a now is the helloworld string, while it...
Open Graph Description: The following Python code a = ["hello"] a += ["world"] print(a) # ['hello', 'world'] gets compiled into: a = ["hello"]; // ... a += ["world"]; console.log(a); // "helloworld" which is wrong, since ...
X Description: The following Python code a = ["hello"] a += ["world"] print(a) # ['hello', 'world'] gets compiled into: a = ["hello"]; // ... a += ["world"]...
Opengraph URL: https://github.com/PythonJS/PythonJS/issues/159
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Array append broken","articleBody":"The following Python code\n\n``` python\na = [\"hello\"]\na += [\"world\"]\nprint(a) # ['hello', 'world']\n```\n\ngets compiled into:\n\n``` javascript\na = [\"hello\"];\n// ...\na += [\"world\"];\nconsole.log(a); // \"helloworld\"\n```\n\nwhich is wrong, since `a` now is the `helloworld` string, while it should be the `['hello', 'world']` array.\n","author":{"url":"https://github.com/youtux","@type":"Person","name":"youtux"},"datePublished":"2015-06-07T22:04:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/159/PythonJS/issues/159"}
| 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:71719d45-5ade-3666-cdff-8cb90120b5d0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8EA6:2A0D62:20EA908:2D05A6C:696AC77F |
| html-safe-nonce | 324be3a2619572f5173b7ed150442232f5bd9ec4d6ee7d34856becfe7abe7376 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUE2OjJBMEQ2MjoyMEVBOTA4OjJEMDVBNkM6Njk2QUM3N0YiLCJ2aXNpdG9yX2lkIjoiNDQ3Mzc0ODEwMzE5MzM0Nzk2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 85359fee965a7f3aaf07371f68f4e61eac7c11c949e24bc9267af0f5b7ad748e |
| hovercard-subject-tag | issue:85952558 |
| 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/PythonJS/PythonJS/159/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b9e00b1dec47003481c1f1e57b148a0f31cf11b105fb0dea276087a247b69d40/PythonJS/PythonJS/issues/159 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b9e00b1dec47003481c1f1e57b148a0f31cf11b105fb0dea276087a247b69d40/PythonJS/PythonJS/issues/159 |
| og:image:alt | The following Python code a = ["hello"] a += ["world"] print(a) # ['hello', 'world'] gets compiled into: a = ["hello"]; // ... a += ["world"]; console.log(a); // "helloworld" which is wrong, since ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | youtux |
| hostname | github.com |
| expected-hostname | github.com |
| None | c785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d |
| turbo-cache-control | no-preview |
| go-import | github.com/PythonJS/PythonJS git https://github.com/PythonJS/PythonJS.git |
| octolytics-dimension-user_id | 4421405 |
| octolytics-dimension-user_login | PythonJS |
| octolytics-dimension-repository_id | 8825809 |
| octolytics-dimension-repository_nwo | PythonJS/PythonJS |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8825809 |
| octolytics-dimension-repository_network_root_nwo | PythonJS/PythonJS |
| 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 | c718a376fcf780eb22089171adb84a543f660bf7 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width