{"action":"opened","issue":{"url":"https://api.github.com/repos/shedskin/shedskin/issues/107","labels_url":"https://api.github.com/repos/shedskin/shedskin/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/shedskin/shedskin/issues/107/comments","events_url":"https://api.github.com/repos/shedskin/shedskin/issues/107/events","html_url":"https://github.com/shedskin/shedskin/issues/107","id":65281154,"number":107,"title":"Call to undefined fn generated by Shed Skin","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/shedskin/shedskin/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/shedskin/shedskin/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/shedskin/shedskin/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-30T19:16:17Z","updated_at":"2015-03-30T19:16:17Z","closed_at":null,"body":"**Issue by na...@animats.com**\n_8 Nov 2010 at 5:55 GMT_\n_Originally opened on Google Code_\n\n----\n\n```\n   I'm trying out Shed Skin by converting some standard library modules to be compatible with Shed Skin.  Here, I'm trying a modified version of \"urlparse.py\", compiled standalone to run its unit test. \n\nWhat steps will reproduce the problem?\n1. Run Shed Skin 0.6 on attached file\n2. make\n3.\n\nWhat is the expected output? What do you see instead?\n\n$ shedskin urlparse.py\n*** SHED SKIN Python-to-C++ Compiler 0.6 ***\nCopyright 2005-2010 Mark Dufour; License GNU GPL version 3 (See LICENSE)\n\n[iterative type analysis..]\n********************************100%\n[generating c++ code..]\n\nnagle@user-PC ~/work\n$ make\ng++  -O2 -msse2 -fomit-frame-pointer -pipe -Wno-deprecated  -I. \n-I/home/nagle/shedskin/shedskin-0.6/shedskin/lib /home/nagle/shedski\nn/shedskin-0.6/shedskin/lib/sys.cpp urlparse.cpp \n/home/nagle/shedskin/shedskin-0.6/shedskin/lib/builtin.cpp \n/home/nagle/shedskin/she\ndskin-0.6/shedskin/lib/re.cpp -lgc -lpcre  -o urlparse\nurlparse.cpp: In function `void __urlparse__::__init()':\nurlparse.cpp:548: error: no matching function for call to \n`__shedskin__::dict<__shedskin__::str*, __shedskin__::str*>::update(__urlp\narse__::list_comp_1*)'\n/home/nagle/shedskin/shedskin-0.6/shedskin/lib/builtin.hpp:2442: note: \ncandidates are: void* __shedskin__::dict<K, V>::update(__shed\nskin__::dict<K, V>*) [with K = __shedskin__::str*, V = __shedskin__::str*]\nmake: *** [urlparse] Error 1\n\nExtracted the offending lines to generate a 3-line test case, \n\"hextochrtest.py\".  Same error.  Offending code is:\n\n_hextochr = dict(('%02x' % i, chr(i)) for i in range(256))\n_hextochr.update(('%02X' % i, chr(i)) for i in range(256))\n\nThe second line is the problem.\n\n\n\nWhat version of the product are you using? On what operating system?\n\nShed Skin 0.6 on Cygwin on Windows 7.\n\n\nPlease provide any additional information below.\n\n\n```\n\n\n\nAttachments:\n* [hextochrtest.py](https://storage.googleapis.com/google-code-attachments/shedskin/issue-107/comment-0/hextochrtest.py)\n\n"}}