Title: Code refactoring, to make the library more Pythonic and nicer to use by rshk · Pull Request #32 · ahupp/python-magic · GitHub
Open Graph Title: Code refactoring, to make the library more Pythonic and nicer to use by rshk · Pull Request #32 · ahupp/python-magic
X Title: Code refactoring, to make the library more Pythonic and nicer to use by rshk · Pull Request #32 · ahupp/python-magic
Description: A python wrapper for libmagic. Contribute to ahupp/python-magic development by creating an account on GitHub.
Open Graph Description: Have a look at the code and let me know what do you think.. It looks way cleaner to me this way (and of course tests are up & running on 2.6, 2.7, 3.1, 3.2 and 3.3), while keeping retro-compati...
X Description: Have a look at the code and let me know what do you think.. It looks way cleaner to me this way (and of course tests are up & running on 2.6, 2.7, 3.1, 3.2 and 3.3), while keeping retro-com...
Opengraph URL: https://github.com/ahupp/python-magic/pull/32
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:3840a594-e000-60ee-5ce6-5d51b2fa1332 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A8BE:52D98:41930E:5B0B77:6A586BBA |
| html-safe-nonce | 892aaba7683f65fac1b514b46b9f517b6072ba4f62ec2fa8f900209963f90ae8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEJFOjUyRDk4OjQxOTMwRTo1QjBCNzc6NkE1ODZCQkEiLCJ2aXNpdG9yX2lkIjoiMzA0MTkxNzEwMDM0NjYwMDM3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 12cda187c1d7535528e2715cce084a5621ed093819aeb7c0bfce97b9bc10a292 |
| hovercard-subject-tag | pull_request:5481044 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/voltron/pull_requests/show/ahupp/python-magic/32/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/79253e45709f4878dcc5f4e445804329959c16e019a0f7544ef102643bd9ec67/ahupp/python-magic/pull/32 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/79253e45709f4878dcc5f4e445804329959c16e019a0f7544ef102643bd9ec67/ahupp/python-magic/pull/32 |
| og:image:alt | Have a look at the code and let me know what do you think.. It looks way cleaner to me this way (and of course tests are up & running on 2.6, 2.7, 3.1, 3.2 and 3.3), while keeping retro-compati... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rshk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-cache |
| go-import | github.com/ahupp/python-magic git https://github.com/ahupp/python-magic.git |
| octolytics-dimension-user_id | 40594 |
| octolytics-dimension-user_login | ahupp |
| octolytics-dimension-repository_id | 589189 |
| octolytics-dimension-repository_nwo | ahupp/python-magic |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 589189 |
| octolytics-dimension-repository_network_root_nwo | ahupp/python-magic |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width