Title: 2to3 does relative import for modules not in a package. · Issue #48251 · python/cpython · GitHub
Open Graph Title: 2to3 does relative import for modules not in a package. · Issue #48251 · python/cpython
X Title: 2to3 does relative import for modules not in a package. · Issue #48251 · python/cpython
Description: BPO 4001 Nosy @mhammond, @benjaminp Files relative_must_be_package.patch: check module is in a package before assuming a relative import. Note: these values reflect the state of the issue at the time it was migrated and might not reflect...
Open Graph Description: BPO 4001 Nosy @mhammond, @benjaminp Files relative_must_be_package.patch: check module is in a package before assuming a relative import. Note: these values reflect the state of the issue at the ti...
X Description: BPO 4001 Nosy @mhammond, @benjaminp Files relative_must_be_package.patch: check module is in a package before assuming a relative import. Note: these values reflect the state of the issue at the ti...
Opengraph URL: https://github.com/python/cpython/issues/48251
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"2to3 does relative import for modules not in a package.","articleBody":"BPO | [4001](https://bugs.python.org/issue4001)\n--- | :---\nNosy | @mhammond, @benjaminp\nFiles | \u003cli\u003e[relative_must_be_package.patch](https://bugs.python.org/file11662/relative_must_be_package.patch \"Uploaded as text/plain at 2008-09-30.13:20:29 by @mhammond\"): check module is in a package before assuming a relative import.\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 2008-09-30.23:27:23.524\u003e\ncreated_at = \u003cDate 2008-09-30.13:20:30.990\u003e\nlabels = ['expert-2to3']\ntitle = '2to3 does relative import for modules not in a package.'\nupdated_at = \u003cDate 2008-10-04.00:40:17.401\u003e\nuser = 'https://github.com/mhammond'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2008-10-04.00:40:17.401\u003e\nactor = 'benjamin.peterson'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2008-09-30.23:27:23.524\u003e\ncloser = 'benjamin.peterson'\ncomponents = ['2to3 (2.x to 3.x conversion tool)']\ncreation = \u003cDate 2008-09-30.13:20:30.990\u003e\ncreator = 'mhammond'\ndependencies = []\nfiles = ['11662']\nhgrepos = []\nissue_num = 4001\nkeywords = ['patch']\nmessage_count = 4.0\nmessages = ['74075', '74103', '74289', '74290']\nnosy_count = 2.0\nnosy_names = ['mhammond', 'benjamin.peterson']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = None\nurl = 'https://bugs.python.org/issue4001'\nversions = []\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/mhammond","@type":"Person","name":"mhammond"},"datePublished":"2008-09-30T13:20:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/48251/cpython/issues/48251"}
| 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:d873971c-8cc2-0baa-30df-96bb8b181772 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9FF8:1F08C5:2678D69:33DDE50:6A547D8C |
| html-safe-nonce | e0c6c7ea056edbc86ba3a554a77c410d3a36159f6ed327f0e86b68ceb464e882 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkY4OjFGMDhDNToyNjc4RDY5OjMzRERFNTA6NkE1NDdEOEMiLCJ2aXNpdG9yX2lkIjoiNDgwODgwNDkxMDA2MDgzMDA5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9cb5367866b8b3942ff2969d5ad0b9e0d13bd4023ca172586a5b13caa8498ceb |
| hovercard-subject-tag | issue:1198836015 |
| 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/48251/issue_layout |
| twitter:image | https://opengraph.githubassets.com/405e97a1722a071011804d7c31f439546ba1405271e622af3f8b96e44b2320a2/python/cpython/issues/48251 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/405e97a1722a071011804d7c31f439546ba1405271e622af3f8b96e44b2320a2/python/cpython/issues/48251 |
| og:image:alt | BPO 4001 Nosy @mhammond, @benjaminp Files relative_must_be_package.patch: check module is in a package before assuming a relative import. Note: these values reflect the state of the issue at the ti... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mhammond |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width