def __init__(self, pyfilename=None, **kwargs):
        super(PyFile, self).__init__(**kwargs)
        self.source = Subsection()
        if pyfilename:
            with open(pyfilename) as fp:
                pycode = compile(fp.read(), pyfilename, 'exec')
            six.exec_(pycode, globals(), self.source)
        elif kwargs.get('dict'):
            self.source = kwargs['dict']
Regression test for https://github.com/spacetelescope/PyFITS/pull/48
dataset/ETHPy150Open staffanm/layeredconfig/layeredconfig/pyfile.py/PyFile.__init__--crossover with--dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/tests/test_table.py/TestTableFunctions.test_array_broadcasting