Title: compileall's stripdir, prependdir and limit_sl_dest cannot be bytes · Issue #100472 · python/cpython · GitHub
Open Graph Title: compileall's stripdir, prependdir and limit_sl_dest cannot be bytes · Issue #100472 · python/cpython
X Title: compileall's stripdir, prependdir and limit_sl_dest cannot be bytes · Issue #100472 · python/cpython
Description: This is a follow-up to #84627 The docs claim: The stripdir, prependdir and limit_sl_dest arguments correspond to the -s, -p and -e options described above. They may be specified as str, bytes or os.PathLike. However, none of these can be...
Open Graph Description: This is a follow-up to #84627 The docs claim: The stripdir, prependdir and limit_sl_dest arguments correspond to the -s, -p and -e options described above. They may be specified as str, bytes or os...
X Description: This is a follow-up to #84627 The docs claim: The stripdir, prependdir and limit_sl_dest arguments correspond to the -s, -p and -e options described above. They may be specified as str, bytes or os...
Opengraph URL: https://github.com/python/cpython/issues/100472
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"compileall's stripdir, prependdir and limit_sl_dest cannot be bytes","articleBody":"This is a follow-up to https://github.com/python/cpython/issues/84627\r\n\r\nThe docs claim:\r\n\u003e The stripdir, prependdir and limit_sl_dest arguments correspond to the -s, -p and -e options described above. They may be specified as str, bytes or [os.PathLike](https://docs.python.org/3/library/os.html#os.PathLike).\r\n\r\nHowever, none of these can be bytes.\r\n\r\nI propose we just fix the documentation\r\n\r\nAlso see:\r\n- https://github.com/python/typeshed/pull/3956#issuecomment-633739042\r\n- https://github.com/python/typeshed/pull/5172#issuecomment-817236036\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-100473\r\n* gh-100514\n* gh-100515\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/hauntsaninja","@type":"Person","name":"hauntsaninja"},"datePublished":"2022-12-23T20:51:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/100472/cpython/issues/100472"}
| 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:ea03b800-422b-9c56-c657-310034aa68b5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFC6:2C5AFC:2EC750A:41ADE97:69693A47 |
| html-safe-nonce | f1700510e8cf2f9851f95c00a5355650f4fb3fe46496bb2f4a11fdb0798daaa3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkM2OjJDNUFGQzoyRUM3NTBBOjQxQURFOTc6Njk2OTNBNDciLCJ2aXNpdG9yX2lkIjoiNTEyMzc2NTY2Nzk5ODgwODY0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c60bc8c1cf5eeb6af413423f6345b16bda93701c4eeab272737429d5bbd16a86 |
| hovercard-subject-tag | issue:1509767914 |
| 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/100472/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3f523bd65f4de1b3ed73883be285203527de57fcd73cc982d47ceabfa55e5ba0/python/cpython/issues/100472 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3f523bd65f4de1b3ed73883be285203527de57fcd73cc982d47ceabfa55e5ba0/python/cpython/issues/100472 |
| og:image:alt | This is a follow-up to #84627 The docs claim: The stripdir, prependdir and limit_sl_dest arguments correspond to the -s, -p and -e options described above. They may be specified as str, bytes or os... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hauntsaninja |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width