{"action":"created","issue":{"url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/236","labels_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/236/comments","events_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/236/events","html_url":"https://github.com/marekr/kicad-issue-test/issues/236","id":120696472,"number":236,"title":"It will be nice to have clear name space in Python. PAD_SMD is not same type as PAD_RECT, please add PAD_KIND_ and PAD_SHAPE_ prefix. was:Python scripting Pad. Type (KICAD_T *) has not any method to determine pad type","user":{"login":"marekr","id":1838013,"avatar_url":"https://avatars.githubusercontent.com/u/1838013?v=3","gravatar_id":"","url":"https://api.github.com/users/marekr","html_url":"https://github.com/marekr","followers_url":"https://api.github.com/users/marekr/followers","following_url":"https://api.github.com/users/marekr/following{/other_user}","gists_url":"https://api.github.com/users/marekr/gists{/gist_id}","starred_url":"https://api.github.com/users/marekr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekr/subscriptions","organizations_url":"https://api.github.com/users/marekr/orgs","repos_url":"https://api.github.com/users/marekr/repos","events_url":"https://api.github.com/users/marekr/events{/privacy}","received_events_url":"https://api.github.com/users/marekr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/New","name":"New","color":"ddffdd"},{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/python","name":"python","color":"ededed"},{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/Wishlist","name":"Wishlist","color":"ffdddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-07T04:28:21Z","updated_at":"2015-12-07T09:03:51Z","closed_at":null,"body":">>> brd = pcbnew\n>>> pcb = brd.GetBoard()\n>>> mods = list(pcb.GetModules())\n>>> fp = mods[0]\n>>> pads=fp.Pads()\n>>> pad=pads[0]\n>>> pdt = pad.Type()\n>>> pdt\n<Swig Object of type 'KICAD_T *' at 0x7f011287ca50>\n>>> for strAttr in dir(pdt):\n...     _attr = getattr(pdt, strAttr)\n...     if callable(_attr):\n...         print(\"pdt.%s()\" % strAttr)\n...         \npdt.__class__()\npdt.__cmp__()\npdt.__delattr__()\npdt.__eq__()\npdt.__format__()\npdt.__ge__()\npdt.__getattribute__()\npdt.__gt__()\npdt.__hash__()\npdt.__hex__()\npdt.__init__()\npdt.__int__()\npdt.__le__()\npdt.__long__()\npdt.__lt__()\npdt.__ne__()\npdt.__new__()\npdt.__oct__()\npdt.__reduce__()\npdt.__reduce_ex__()\npdt.__repr__()\npdt.__setattr__()\npdt.__sizeof__()\npdt.__str__()\npdt.__subclasshook__()\npdt.acquire()\npdt.append()\npdt.disown()\npdt.next()\npdt.own()\n>>>"},"comment":{"url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/comments/162453610","html_url":"https://github.com/marekr/kicad-issue-test/issues/236#issuecomment-162453610","issue_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/236","id":162453610,"user":{"login":"marekr","id":1838013,"avatar_url":"https://avatars.githubusercontent.com/u/1838013?v=3","gravatar_id":"","url":"https://api.github.com/users/marekr","html_url":"https://github.com/marekr","followers_url":"https://api.github.com/users/marekr/followers","following_url":"https://api.github.com/users/marekr/following{/other_user}","gists_url":"https://api.github.com/users/marekr/gists{/gist_id}","starred_url":"https://api.github.com/users/marekr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekr/subscriptions","organizations_url":"https://api.github.com/users/marekr/orgs","repos_url":"https://api.github.com/users/marekr/repos","events_url":"https://api.github.com/users/marekr/events{/privacy}","received_events_url":"https://api.github.com/users/marekr/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T09:03:51Z","updated_at":"2015-12-07T09:03:51Z","body":"(by stambaughw)\nIs there any reason this bug report has a high severity setting?  Critical and high severity settings are typically reserved for bugs that can cause data loss, corruption, memory leaks, and invalid manufacturing file outputs.  All other bugs severity should be tagged as medium or lower.  Are any of our Python devs interested in fixing this?"}}