Title: Replace the imp module with importlib · Issue #791 · bpython/bpython · GitHub
Open Graph Title: Replace the imp module with importlib · Issue #791 · bpython/bpython
X Title: Replace the imp module with importlib · Issue #791 · bpython/bpython
Description: The imp module is deprecated and will be removed in a future release. It should be replaced with the importlib module. The only affected file in bpython is importcompletion.py Here's the warning when run on my system: /usr/local/lib/pyth...
Open Graph Description: The imp module is deprecated and will be removed in a future release. It should be replaced with the importlib module. The only affected file in bpython is importcompletion.py Here's the warning wh...
X Description: The imp module is deprecated and will be removed in a future release. It should be replaced with the importlib module. The only affected file in bpython is importcompletion.py Here's the warnin...
Opengraph URL: https://github.com/bpython/bpython/issues/791
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Replace the imp module with importlib","articleBody":"The [imp module](https://docs.python.org/dev/library/imp.html) is deprecated and will be removed in a future release. It should be replaced with the importlib module.\r\nThe only affected file in bpython is [importcompletion.py](https://github.com/bpython/bpython/blob/master/bpython/importcompletion.py)\r\n\r\nHere's the warning when run on my system:\r\n```\r\n/usr/local/lib/python3.9/site-packages/bpython/importcompletion.py:31: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\r\n import imp\r\n```","author":{"url":"https://github.com/opensource-assist","@type":"Person","name":"opensource-assist"},"datePublished":"2020-01-29T10:53:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/791/bpython/issues/791"}
| 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:c27a5a66-1246-4ffc-7bf0-22c4c03e9222 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B1BC:23B3F8:58A5C3:7C5A4C:6968DEEB |
| html-safe-nonce | 598e9d7922e2aa01a097997f46c6f313b7df0e4b9b492e81c6b32b2b521a63d5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUJDOjIzQjNGODo1OEE1QzM6N0M1QTRDOjY5NjhERUVCIiwidmlzaXRvcl9pZCI6IjQ5NDMyOTM0NzAwOTMxMzk2OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 66db0c03db5184e2299ef9d3ca5633cc22fd9f0e4c4159f2edd1b77910ed5350 |
| hovercard-subject-tag | issue:556783631 |
| 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/bpython/bpython/791/issue_layout |
| twitter:image | https://opengraph.githubassets.com/227fc118a834eb713fe023964e31fda69a066179db60e62d4caa8f0d2efaf2bc/bpython/bpython/issues/791 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/227fc118a834eb713fe023964e31fda69a066179db60e62d4caa8f0d2efaf2bc/bpython/bpython/issues/791 |
| og:image:alt | The imp module is deprecated and will be removed in a future release. It should be replaced with the importlib module. The only affected file in bpython is importcompletion.py Here's the warning wh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | opensource-assist |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3c4e9f2fc1db52c609205138be6a397cfde4574cb54d53015014de30dd49f27e |
| turbo-cache-control | no-preview |
| go-import | github.com/bpython/bpython git https://github.com/bpython/bpython.git |
| octolytics-dimension-user_id | 8071396 |
| octolytics-dimension-user_login | bpython |
| octolytics-dimension-repository_id | 21508865 |
| octolytics-dimension-repository_nwo | bpython/bpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21508865 |
| octolytics-dimension-repository_network_root_nwo | bpython/bpython |
| 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 | 1fb1ea11f8c37dd4dd50347cca70d89824e93788 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width