Title: "from collections import ChainMap" fails after "install_aliases()" · Issue #226 · PythonCharmers/python-future · GitHub
Open Graph Title: "from collections import ChainMap" fails after "install_aliases()" · Issue #226 · PythonCharmers/python-future
X Title: "from collections import ChainMap" fails after "install_aliases()" · Issue #226 · PythonCharmers/python-future
Description: According to the last example in the "Aliased Imports" section in standard_library_imports.rst and for 0.15.2, this should work: Python 2.7.11 |Anaconda 2.3.0 (x86_64)| (default, Dec 6 2015, 18:57:58) [GCC 4.2.1 (Apple Inc. build 5577)] ...
Open Graph Description: According to the last example in the "Aliased Imports" section in standard_library_imports.rst and for 0.15.2, this should work: Python 2.7.11 |Anaconda 2.3.0 (x86_64)| (default, Dec 6 2015, 18:57:...
X Description: According to the last example in the "Aliased Imports" section in standard_library_imports.rst and for 0.15.2, this should work: Python 2.7.11 |Anaconda 2.3.0 (x86_64)| (default, Dec 6 20...
Opengraph URL: https://github.com/PythonCharmers/python-future/issues/226
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"from collections import ChainMap\" fails after \"install_aliases()\"","articleBody":"According to the last example in the \"Aliased Imports\" section in [standard_library_imports.rst](https://github.com/PythonCharmers/python-future/blob/6b8341c0412ddf8081151692e9034986a6f867bc/docs/standard_library_imports.rst#aliased-imports) and for [0.15.2](http://python-future.org/imports.html#aliased-imports), this should work:\n\n``` python\nPython 2.7.11 |Anaconda 2.3.0 (x86_64)| (default, Dec 6 2015, 18:57:58)\n[GCC 4.2.1 (Apple Inc. build 5577)] on darwin\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\nAnaconda is brought to you by Continuum Analytics.\nPlease check out: http://continuum.io/thanks and https://anaconda.org\n\u003e\u003e\u003e from future.standard_library import install_aliases\n\u003e\u003e\u003e install_aliases()\n\u003e\u003e\u003e from collections import ChainMap\nTraceback (most recent call last):\n File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\nImportError: cannot import name ChainMap\n\u003e\u003e\u003e import future\n\u003e\u003e\u003e future.__version__\n'0.15.2'\n```\n","author":{"url":"https://github.com/wcooley","@type":"Person","name":"wcooley"},"datePublished":"2016-08-05T19:31:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/226/python-future/issues/226"}
| 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:dc5f862d-e107-bb6b-bb0a-0b7dc73ad22d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF16:3244AB:2D1CC1:3CB343:69697A7F |
| html-safe-nonce | 67544ae5ad619b5db252047d6aac8b5134d92374029877e5f2f0b4ef4bf45b4f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjE2OjMyNDRBQjoyRDFDQzE6M0NCMzQzOjY5Njk3QTdGIiwidmlzaXRvcl9pZCI6Ijc1NTU5ODYyMzQ0NzE0NDcxNjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 34fddb8069760420cf9dabc304a9823c4201cc175c186e8f6cfbe86c2ee0a8f5 |
| hovercard-subject-tag | issue:169679965 |
| 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/PythonCharmers/python-future/226/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5273f34d6643e814742f75d10704a6a8e4f0eae5c735e19e712b5283d5ee60c1/PythonCharmers/python-future/issues/226 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5273f34d6643e814742f75d10704a6a8e4f0eae5c735e19e712b5283d5ee60c1/PythonCharmers/python-future/issues/226 |
| og:image:alt | According to the last example in the "Aliased Imports" section in standard_library_imports.rst and for 0.15.2, this should work: Python 2.7.11 |Anaconda 2.3.0 (x86_64)| (default, Dec 6 2015, 18:57:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wcooley |
| hostname | github.com |
| expected-hostname | github.com |
| None | f33e4b94c8824ab2b434d82a94139432fb5ebee9df4b75304140ad22508c4a77 |
| turbo-cache-control | no-preview |
| go-import | github.com/PythonCharmers/python-future git https://github.com/PythonCharmers/python-future.git |
| octolytics-dimension-user_id | 3365815 |
| octolytics-dimension-user_login | PythonCharmers |
| octolytics-dimension-repository_id | 11403699 |
| octolytics-dimension-repository_nwo | PythonCharmers/python-future |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 11403699 |
| octolytics-dimension-repository_network_root_nwo | PythonCharmers/python-future |
| 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 | 48f380098b30acbb700b04f1724481ca10d574fc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width