{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/c1bc6abcf00383344a80931ade5181ed?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c1bc6abcf00383344a80931ade5181ed","url":"https://api.github.com/users/bobdobbs666","login":"bobdobbs666","id":1084677},"milestone":null,"labels":[{"name":"core","color":"0b02e1","url":"https://api.github.com/repos/ptahproject/ptah/labels/core"},{"name":"review before 0.1","color":"e10c02","url":"https://api.github.com/repos/ptahproject/ptah/labels/review+before+0.1"}],"updated_at":"2011-11-04T02:23:45Z","assignee":null,"closed_at":null,"comments":4,"url":"https://api.github.com/repos/ptahproject/ptah/issues/55","body":"so currently if you from myapp.settings import config\r\nconfig['mysetting'] will raise an Exception inside the registry. if you try to get a value from module level.\r\n\r\nThat is ok.  But the exception should be sensible.  It should be an assert and ensure that when you\r\nreference a value from settings at module level it should say \"You can not important settings at module scope do this inside a function or class method\"\r\n\r\n","html_url":"https://github.com/ptahproject/ptah/issues/55","number":55,"title":"module level imports of settings should assert and raise a sensible error","id":2138793,"created_at":"2011-11-03T23:07:35Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/f9e7fc59fd903158f3127f1384139cf0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f9e7fc59fd903158f3127f1384139cf0","url":"https://api.github.com/users/fafhrd91","login":"fafhrd91","id":598990},"updated_at":"2011-11-04T02:23:45Z","url":"https://api.github.com/repos/ptahproject/ptah/issues/comments/2626524","body":"put traceback here. actually after last refactoring all settings are config specific. i think we can run multiple ptah wsgi app in one interpreter","id":2626524,"created_at":"2011-11-04T02:23:45Z"}}