Title: Py3K warn against assigning to True/False · Issue #46602 · python/cpython · GitHub
Open Graph Title: Py3K warn against assigning to True/False · Issue #46602 · python/cpython
X Title: Py3K warn against assigning to True/False · Issue #46602 · python/cpython
Description: BPO 2349 Nosy @brettcannon, @birkenfeld, @rhettinger, @abalkin, @benjaminp Dependencies bpo-2720: make compiling struct be passed around to all ast helpers Files bool_assign.patchbool_assign2.patch: rephrase the warningsbool_assign3.patc...
Open Graph Description: BPO 2349 Nosy @brettcannon, @birkenfeld, @rhettinger, @abalkin, @benjaminp Dependencies bpo-2720: make compiling struct be passed around to all ast helpers Files bool_assign.patchbool_assign2.patch...
X Description: BPO 2349 Nosy @brettcannon, @birkenfeld, @rhettinger, @abalkin, @benjaminp Dependencies bpo-2720: make compiling struct be passed around to all ast helpers Files bool_assign.patchbool_assign2.patch...
Opengraph URL: https://github.com/python/cpython/issues/46602
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Py3K warn against assigning to True/False","articleBody":"BPO | [2349](https://bugs.python.org/issue2349)\n--- | :---\nNosy | @brettcannon, @birkenfeld, @rhettinger, @abalkin, @benjaminp\nDependencies | \u003cli\u003ebpo-2720: make compiling struct be passed around to all ast helpers\u003c/li\u003e\nFiles | \u003cli\u003e[bool_assign.patch](https://bugs.python.org/file9703/bool_assign.patch \"Uploaded as text/plain at 2008-03-17.21:23:47 by @benjaminp\")\u003c/li\u003e\u003cli\u003e[bool_assign2.patch](https://bugs.python.org/file9706/bool_assign2.patch \"Uploaded as text/plain at 2008-03-17.22:59:07 by @benjaminp\"): rephrase the warnings\u003c/li\u003e\u003cli\u003e[bool_assign3.patch](https://bugs.python.org/file9772/bool_assign3.patch \"Uploaded as text/plain at 2008-03-19.18:33:53 by @benjaminp\"): caught more places\u003c/li\u003e\u003cli\u003e[bool_assign4.patch](https://bugs.python.org/file9773/bool_assign4.patch \"Uploaded as text/plain at 2008-03-19.18:50:17 by @benjaminp\"): added a test\u003c/li\u003e\u003cli\u003e[bool_assign5.patch](https://bugs.python.org/file10181/bool_assign5.patch \"Uploaded as text/plain at 2008-05-03.16:59:19 by @benjaminp\")\u003c/li\u003e\u003cli\u003e[bool_assign6.patch](https://bugs.python.org/file10359/bool_assign6.patch \"Uploaded as text/plain at 2008-05-17.20:03:52 by @benjaminp\")\u003c/li\u003e\u003cli\u003e[bool_assign7.patch](https://bugs.python.org/file10551/bool_assign7.patch \"Uploaded as text/plain at 2008-06-08.17:07:06 by @benjaminp\")\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 = 'https://github.com/birkenfeld'\nclosed_at = \u003cDate 2008-06-08.23:10:45.447\u003e\ncreated_at = \u003cDate 2008-03-17.19:19:17.918\u003e\nlabels = ['interpreter-core']\ntitle = 'Py3K warn against assigning to True/False'\nupdated_at = \u003cDate 2008-06-08.23:10:45.423\u003e\nuser = 'https://github.com/brettcannon'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2008-06-08.23:10:45.423\u003e\nactor = 'benjamin.peterson'\nassignee = 'georg.brandl'\nclosed = True\nclosed_date = \u003cDate 2008-06-08.23:10:45.447\u003e\ncloser = 'benjamin.peterson'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2008-03-17.19:19:17.918\u003e\ncreator = 'brett.cannon'\ndependencies = ['2720']\nfiles = ['9703', '9706', '9772', '9773', '10181', '10359', '10551']\nhgrepos = []\nissue_num = 2349\nkeywords = ['patch', '26backport']\nmessage_count = 28.0\nmessages = ['63717', '63765', '63768', '63777', '63779', '63782', '63784', '63796', '63797', '63799', '63802', '64015', '64075', '64081', '64083', '64086', '64089', '64318', '64981', '65953', '65985', '66157', '67014', '67819', '67824', '67840', '67846', '67849']\nnosy_count = 5.0\nnosy_names = ['brett.cannon', 'georg.brandl', 'rhettinger', 'belopolsky', 'benjamin.peterson']\npr_nums = []\npriority = 'critical'\nresolution = 'fixed'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = None\nurl = 'https://bugs.python.org/issue2349'\nversions = ['Python 2.6']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/brettcannon","@type":"Person","name":"brettcannon"},"datePublished":"2008-03-17T19:19:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":28},"url":"https://github.com/46602/cpython/issues/46602"}
| 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:e0d47525-5f35-7272-1b14-a8127e458297 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D0DA:37B798:10F559:18B93A:6A4DFC74 |
| html-safe-nonce | ae28465239955c26c7f795003a73a5529ffc8dadbe0fa87730bbd620ce3f881e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMERBOjM3Qjc5ODoxMEY1NTk6MThCOTNBOjZBNERGQzc0IiwidmlzaXRvcl9pZCI6IjY4MTU2MDg1NzUwMjIyMDE5NzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5e5eca00c9713b4eb20f5511e64fc138ed31599935e7b0f846620bfc5c64a093 |
| hovercard-subject-tag | issue:1198829664 |
| 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/46602/issue_layout |
| twitter:image | https://opengraph.githubassets.com/99f6b5bdfb35cc9ba1dcacd2e929016fff2ac934b1336eaaff77977ea9c8df91/python/cpython/issues/46602 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/99f6b5bdfb35cc9ba1dcacd2e929016fff2ac934b1336eaaff77977ea9c8df91/python/cpython/issues/46602 |
| og:image:alt | BPO 2349 Nosy @brettcannon, @birkenfeld, @rhettinger, @abalkin, @benjaminp Dependencies bpo-2720: make compiling struct be passed around to all ast helpers Files bool_assign.patchbool_assign2.patch... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brettcannon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566 |
| 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 | 4314b1df11fa8a565684f3a72dc971e3785da365 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width