Title: profile doesn't support non-UTF8 source code · Issue #48532 · python/cpython · GitHub
Open Graph Title: profile doesn't support non-UTF8 source code · Issue #48532 · python/cpython
X Title: profile doesn't support non-UTF8 source code · Issue #48532 · python/cpython
Description: BPO 4282 Nosy @brettcannon, @vstinner, @tiran Dependencies bpo-4626: compile() doesn't ignore the source encoding when a string is passed inbpo-4628: No universal newline support for compile() when using bytes Files profile_encoding.patc...
Open Graph Description: BPO 4282 Nosy @brettcannon, @vstinner, @tiran Dependencies bpo-4626: compile() doesn't ignore the source encoding when a string is passed inbpo-4628: No universal newline support for compile() when...
X Description: BPO 4282 Nosy @brettcannon, @vstinner, @tiran Dependencies bpo-4626: compile() doesn't ignore the source encoding when a string is passed inbpo-4628: No universal newline support for compile() ...
Opengraph URL: https://github.com/python/cpython/issues/48532
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"profile doesn't support non-UTF8 source code","articleBody":"BPO | [4282](https://bugs.python.org/issue4282)\n--- | :---\nNosy | @brettcannon, @vstinner, @tiran\nDependencies | \u003cli\u003ebpo-4626: compile() doesn\u0026#x27;t ignore the source encoding when a string is passed in\u003c/li\u003e\u003cli\u003ebpo-4628: No universal newline support for compile() when using bytes\u003c/li\u003e\nFiles | \u003cli\u003e[profile_encoding.patch](https://bugs.python.org/file11971/profile_encoding.patch \"Uploaded as text/plain at 2008-11-10.00:40:37 by @vstinner\"): profile module: open input file (from the command line) in binary mode\u003c/li\u003e\u003cli\u003e[profile_encoding-2.patch](https://bugs.python.org/file13379/profile_encoding-2.patch \"Uploaded as text/plain at 2009-03-20.01:44:42 by @vstinner\")\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 2010-03-22.02:00:33.607\u003e\ncreated_at = \u003cDate 2008-11-08.02:49:31.363\u003e\nlabels = ['type-bug', 'library']\ntitle = \"profile doesn't support non-UTF8 source code\"\nupdated_at = \u003cDate 2010-03-22.02:00:33.605\u003e\nuser = 'https://bugs.python.org/shidot'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2010-03-22.02:00:33.605\u003e\nactor = 'vstinner'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2010-03-22.02:00:33.607\u003e\ncloser = 'vstinner'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2008-11-08.02:49:31.363\u003e\ncreator = 'shidot'\ndependencies = ['4626', '4628']\nfiles = ['11971', '13379']\nhgrepos = []\nissue_num = 4282\nkeywords = ['patch', 'needs review']\nmessage_count = 9.0\nmessages = ['75627', '75676', '75677', '83842', '83843', '83844', '83846', '83933', '101477']\nnosy_count = 4.0\nnosy_names = ['brett.cannon', 'vstinner', 'christian.heimes', 'shidot']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'patch review'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue4282'\nversions = ['Python 3.0']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/shidot","@type":"Person","name":"shidot"},"datePublished":"2008-11-08T02:49:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/48532/cpython/issues/48532"}
| 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:064e08f8-4a55-75c8-8007-b556efcc7305 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA00:16C0A6:16E650:1FE3BC:6A4D071A |
| html-safe-nonce | e6e6a4cd66d887475edae46fc6c100d1f4bf268253d774ff797a9711d01a6378 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTAwOjE2QzBBNjoxNkU2NTA6MUZFM0JDOjZBNEQwNzFBIiwidmlzaXRvcl9pZCI6IjI5MTU5OTUwODg3OTMxNzU4MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f6de3b3dc8865f276cd0a45f80bb29548eb81f6bd1d48fddb0a9427b202993f4 |
| hovercard-subject-tag | issue:1198837103 |
| 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/48532/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4b48a5d46c1433f4e7afd4024647bbd5a15c84677da0601eeee8113ac2e9bfd3/python/cpython/issues/48532 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4b48a5d46c1433f4e7afd4024647bbd5a15c84677da0601eeee8113ac2e9bfd3/python/cpython/issues/48532 |
| og:image:alt | BPO 4282 Nosy @brettcannon, @vstinner, @tiran Dependencies bpo-4626: compile() doesn't ignore the source encoding when a string is passed inbpo-4628: No universal newline support for compile() when... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shidot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5 |
| 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 | fb70bd3c4b2bec429781b65419e912c66e2d5581 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width