{"action":"created","issue":{"url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/106","labels_url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/106/comments","events_url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/106/events","html_url":"https://github.com/IssueMigrationTest/Test5/issues/106","id":65106310,"number":106,"title":"improve support for standard library","user":{"login":"ShedskinBot","id":11687421,"avatar_url":"https://avatars.githubusercontent.com/u/11687421?v=3","gravatar_id":"","url":"https://api.github.com/users/ShedskinBot","html_url":"https://github.com/ShedskinBot","followers_url":"https://api.github.com/users/ShedskinBot/followers","following_url":"https://api.github.com/users/ShedskinBot/following{/other_user}","gists_url":"https://api.github.com/users/ShedskinBot/gists{/gist_id}","starred_url":"https://api.github.com/users/ShedskinBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShedskinBot/subscriptions","organizations_url":"https://api.github.com/users/ShedskinBot/orgs","repos_url":"https://api.github.com/users/ShedskinBot/repos","events_url":"https://api.github.com/users/ShedskinBot/events{/privacy}","received_events_url":"https://api.github.com/users/ShedskinBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IssueMigrationTest/Test5/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/IssueMigrationTest/Test5/labels/Priority-Low","name":"Priority-Low","color":"ededed"},{"url":"https://api.github.com/repos/IssueMigrationTest/Test5/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-29T23:18:42Z","updated_at":"2015-03-29T23:19:33Z","closed_at":null,"body":"**Issue by [Mark Dufour](/srepmub)**\n_27 Oct 2010 at 12:58 GMT_\n_Originally opened on Google Code_\n\n----\n\n```\nthis issue replaces several existing issues related to improving the support \nfor standard library modules.\n\nit should be possible to support much of the following modules, but we'd need \nto add some tweaks to shed skin. I personally won't be working on this, unless \nthere is some compelling test case:\n\n-operator (issue 50)\n-struct (issue 60)\n-array (issue 79)\n\nthe following cannot be supported in general. but note that as of 0.6, it \nshould be possible to do basic pickling of compiled classes.\n\n-pickle (issue 61)\n\nI haven't looked into the following, but if anyone is interested in working on \nthem, please let me know. I'd be happy to try and assist of course:\n\n-bz2 (issue 74)\n-async (issue 88)\n\nfinally, there was a suggestion to try and compile non-local modules. I don't \nthink is useful, because we can just add modules to lib/, if it is possible to \ncompile them, but for completeness here it is:\n\n-issue 39\n```\n\n\n"},"comment":{"url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/comments/87495771","html_url":"https://github.com/IssueMigrationTest/Test5/issues/106#issuecomment-87495771","issue_url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/106","id":87495771,"user":{"login":"ShedskinBot","id":11687421,"avatar_url":"https://avatars.githubusercontent.com/u/11687421?v=3","gravatar_id":"","url":"https://api.github.com/users/ShedskinBot","html_url":"https://github.com/ShedskinBot","followers_url":"https://api.github.com/users/ShedskinBot/followers","following_url":"https://api.github.com/users/ShedskinBot/following{/other_user}","gists_url":"https://api.github.com/users/ShedskinBot/gists{/gist_id}","starred_url":"https://api.github.com/users/ShedskinBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShedskinBot/subscriptions","organizations_url":"https://api.github.com/users/ShedskinBot/orgs","repos_url":"https://api.github.com/users/ShedskinBot/repos","events_url":"https://api.github.com/users/ShedskinBot/events{/privacy}","received_events_url":"https://api.github.com/users/ShedskinBot/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T23:19:33Z","updated_at":"2015-03-29T23:19:33Z","body":"**Comment by [Mark Dufour](/srepmub)**\n_7 Mar 2011 at 10:56 GMT_\n\n----\n\n```\nit will probably complain about not being able to export the function, which \nwill then just be invisible on the CPython side..\n\ncurrently, only builtin scalars and container types are exported (please see \nthe tutorial for an overview of other limitations when generating extension \nmodules). it would certainly be possible to support exporting other classes in \nlib/, but I'm not sure it would be worth the effort.. \n\nif you'd like to support this in binascii/hashlib anyway, I'd be happy to \naccept patches. but please do keep everything that needs python development \nfiles inside #ifdef __SS_BIND, so it's only included when using shedskin -e \n(see lib/builtin.?pp for examples). the export check in shedskin/extmod.py \nshould also be changed for this to work, of course.\n```\n\n\n\n\n"}}