Title: base64.encodestring does not actually accept strings · Issue #47863 · python/cpython · GitHub
Open Graph Title: base64.encodestring does not actually accept strings · Issue #47863 · python/cpython
X Title: base64.encodestring does not actually accept strings · Issue #47863 · python/cpython
Description: BPO 3613 Nosy @gvanrossum, @birkenfeld, @pitrou, @devdanzin Files get_host_info.diff: Use unquote_to_bytes to feed base64.encodestring, then decodeencodestring_rename.patch: base64.py with encodestring/decodestring renamed to encodebytes...
Open Graph Description: BPO 3613 Nosy @gvanrossum, @birkenfeld, @pitrou, @devdanzin Files get_host_info.diff: Use unquote_to_bytes to feed base64.encodestring, then decodeencodestring_rename.patch: base64.py with encodest...
X Description: BPO 3613 Nosy @gvanrossum, @birkenfeld, @pitrou, @devdanzin Files get_host_info.diff: Use unquote_to_bytes to feed base64.encodestring, then decodeencodestring_rename.patch: base64.py with encodest...
Opengraph URL: https://github.com/python/cpython/issues/47863
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"base64.encodestring does not actually accept strings","articleBody":"BPO | [3613](https://bugs.python.org/issue3613)\n--- | :---\nNosy | @gvanrossum, @birkenfeld, @pitrou, @devdanzin\nFiles | \u003cli\u003e[get_host_info.diff](https://bugs.python.org/file12983/get_host_info.diff \"Uploaded as text/plain at 2009-02-08.20:02:01 by @devdanzin\"): Use unquote_to_bytes to feed base64.encodestring, then decode\u003c/li\u003e\u003cli\u003e[encodestring_rename.patch](https://bugs.python.org/file13753/encodestring_rename.patch \"Uploaded as text/plain at 2009-04-24.02:59:02 by mgiuca\"): base64.py with encodestring/decodestring renamed to encodebytes/decodebytes.\u003c/li\u003e\u003cli\u003e[encodebytes_new_types.patch](https://bugs.python.org/file13754/encodebytes_new_types.patch \"Uploaded as text/plain at 2009-04-24.03:04:18 by mgiuca\"): encodestring/decodestring with new input/output types.\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 2009-06-04.09:13:14.845\u003e\ncreated_at = \u003cDate 2008-08-20.06:00:33.285\u003e\nlabels = ['type-bug', 'library', 'docs']\ntitle = 'base64.encodestring does not actually accept strings'\nupdated_at = \u003cDate 2009-06-04.09:13:14.844\u003e\nuser = 'https://bugs.python.org/ddvoinikov'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2009-06-04.09:13:14.844\u003e\nactor = 'georg.brandl'\nassignee = 'georg.brandl'\nclosed = True\nclosed_date = \u003cDate 2009-06-04.09:13:14.845\u003e\ncloser = 'georg.brandl'\ncomponents = ['Documentation', 'Library (Lib)']\ncreation = \u003cDate 2008-08-20.06:00:33.285\u003e\ncreator = 'ddvoinikov'\ndependencies = []\nfiles = ['12983', '13753', '13754']\nhgrepos = []\nissue_num = 3613\nkeywords = ['patch']\nmessage_count = 12.0\nmessages = ['71513', '71531', '71532', '71535', '71536', '71550', '81413', '81904', '86307', '86390', '86391', '88869']\nnosy_count = 7.0\nnosy_names = ['gvanrossum', 'georg.brandl', 'pitrou', 'ajaksu2', 'kawai', 'ddvoinikov', 'mgiuca']\npr_nums = []\npriority = 'high'\nresolution = 'fixed'\nstage = 'test needed'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue3613'\nversions = ['Python 3.0']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/ddvoinikov","@type":"Person","name":"ddvoinikov"},"datePublished":"2008-08-20T06:00:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/47863/cpython/issues/47863"}
| 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:aeff2dd9-be9f-b734-472b-da8926a50f0a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 85A6:FE029:62697C:879946:6A4F395E |
| html-safe-nonce | c5354ecbc2e5fa94c708110e89f087578c6f8051453c34c67024bca756cbc018 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUE2OkZFMDI5OjYyNjk3Qzo4Nzk5NDY6NkE0RjM5NUUiLCJ2aXNpdG9yX2lkIjoiMzY0NjM3ODcwMjk1NzEzMjEyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fe8537079e35c536d3f55a483d80d20f2e1334b8cd48de402f91bc025acf3fa2 |
| hovercard-subject-tag | issue:1198834609 |
| 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/47863/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8e15650c557678e1e4d81e89f246c3d8dcaaa46c161dbb503290befa81885c4e/python/cpython/issues/47863 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8e15650c557678e1e4d81e89f246c3d8dcaaa46c161dbb503290befa81885c4e/python/cpython/issues/47863 |
| og:image:alt | BPO 3613 Nosy @gvanrossum, @birkenfeld, @pitrou, @devdanzin Files get_host_info.diff: Use unquote_to_bytes to feed base64.encodestring, then decodeencodestring_rename.patch: base64.py with encodest... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ddvoinikov |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width