{"action":"created","issue":{"url":"https://api.github.com/repos/ZoomerAnalytics/xlwings/issues/329","labels_url":"https://api.github.com/repos/ZoomerAnalytics/xlwings/issues/329/labels{/name}","comments_url":"https://api.github.com/repos/ZoomerAnalytics/xlwings/issues/329/comments","events_url":"https://api.github.com/repos/ZoomerAnalytics/xlwings/issues/329/events","html_url":"https://github.com/ZoomerAnalytics/xlwings/issues/329","id":122540978,"number":329,"title":"udf can share objects only with @xlsub and not with standard xlwings subs?","user":{"login":"AntonioSuriano","id":15161192,"avatar_url":"https://avatars.githubusercontent.com/u/15161192?v=3","gravatar_id":"","url":"https://api.github.com/users/AntonioSuriano","html_url":"https://github.com/AntonioSuriano","followers_url":"https://api.github.com/users/AntonioSuriano/followers","following_url":"https://api.github.com/users/AntonioSuriano/following{/other_user}","gists_url":"https://api.github.com/users/AntonioSuriano/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonioSuriano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonioSuriano/subscriptions","organizations_url":"https://api.github.com/users/AntonioSuriano/orgs","repos_url":"https://api.github.com/users/AntonioSuriano/repos","events_url":"https://api.github.com/users/AntonioSuriano/events{/privacy}","received_events_url":"https://api.github.com/users/AntonioSuriano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-16T16:10:45Z","updated_at":"2015-12-16T23:51:01Z","closed_at":null,"body":"I have in my module some global objects.\r\nThese objects are generated by a subroutine.\r\n\r\nIf I call this subroutine using the @xlsub  the udfs can see the global objects.\r\n\r\nIf I call the subroutine using RunPython (\"import mymodule; mymodule.inizializza()\") the udfs cannot see the global objects.\r\n\r\nIs it the standard behaviour or there is something wrong in my RunPython syntax?"},"comment":{"url":"https://api.github.com/repos/ZoomerAnalytics/xlwings/issues/comments/165292097","html_url":"https://github.com/ZoomerAnalytics/xlwings/issues/329#issuecomment-165292097","issue_url":"https://api.github.com/repos/ZoomerAnalytics/xlwings/issues/329","id":165292097,"user":{"login":"AntonioSuriano","id":15161192,"avatar_url":"https://avatars.githubusercontent.com/u/15161192?v=3","gravatar_id":"","url":"https://api.github.com/users/AntonioSuriano","html_url":"https://github.com/AntonioSuriano","followers_url":"https://api.github.com/users/AntonioSuriano/followers","following_url":"https://api.github.com/users/AntonioSuriano/following{/other_user}","gists_url":"https://api.github.com/users/AntonioSuriano/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonioSuriano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonioSuriano/subscriptions","organizations_url":"https://api.github.com/users/AntonioSuriano/orgs","repos_url":"https://api.github.com/users/AntonioSuriano/repos","events_url":"https://api.github.com/users/AntonioSuriano/events{/privacy}","received_events_url":"https://api.github.com/users/AntonioSuriano/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T23:51:01Z","updated_at":"2015-12-16T23:51:01Z","body":"well,\r\n\r\nsomething like (I am not at work now so I go by hearth)\r\n\r\nglobal dizionario_oggetti= {}\r\n\r\n@xlfunc\r\ndef interroga_dizionario(a):\r\n"}}