Expand comment explanation
@@ -794,7 +794,9 @@ class Configuration(RootView):
super(Configuration, self).__init__([])
self.appname = appname
self.modname = modname
- # Pre-resolve default source location
+
+ # Resolve default source location. We do this ahead of time to
+ # avoid unexpected problems if the working directory changes.
self._package_path = _package_path(appname)
self._env_var = '{0}DIR'.format(self.appname.upper())
