<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Sep 30, 2014 at 4:00 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
  Matt,<br>
<br>
    Can all the “provider” stuff in package.py like<br>
<br>
  def getDefaultPrecision(self):<br>
    '''The precision of the library'''<br>
    if hasattr(self, 'precisionProvider'):<br>
      if hasattr(self.precisionProvider, 'precision'):<br>
        return self.precisionProvider.precision<br>
    return self._defaultPrecision<br>
  def setDefaultPrecision(self, defaultPrecision):<br>
    '''The precision of the library'''<br>
    self._defaultPrecision = defaultPrecision<br>
    return<br>
  defaultPrecision = property(getDefaultPrecision, setDefaultPrecision, doc = 'The precision of the library’)<br>
<br>
be cleaned up/simplified/removed with the new BuildSystem model?<br>
<br>
What was the original need for the provider stuff and is there still a need? If there is still a need can it be satisfied some other way. Is there every a need for a different provide for different packages? For example hypre gets one xxx provider and some other package gets a different xxxx provider.</blockquote><div><br></div><div>The provider stuff is intended to support out-of-package ways to say something about the configuration. So we have an object</div><div>that can come from anywhere. The stuff around it just access the object automatically, instead of making the user pull it out and</div><div>reference it. I thought that was easier.</div><div><br></div><div>Do you want to just set a flag? I thought that was limiting, and duplicated information.</div><div><br></div><div>You can get rid of all this boilerplate code in newer version of Python. We have been</div><div>outlawing newer versions. If we reopen that discussion, I vote for autoinstalling Python</div><div>2.7.</div><div><br></div><div>  Thanks,</div><div><br></div><div>    Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
  Barry<br></font></span></blockquote></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener
</div></div>