On 25 May 2018 at 14:37, Daniel Shahaf <d...@daniel.shahaf.name> wrote: > sebb wrote on Fri, 25 May 2018 14:14 +0100: >> The following fails because fname is not defined: >> >> self.read(fname) [1] >> >> it should be >> >> self.read(self.fname) > > Thanks for the report.
OK. > With that change, the [DEFAULT] section doesn't get emptied by reload(). Seems to me that is a separate issue. > Would you like to send a patch that fixes that as well (in addition to the > NameError)? I've no idea how to patch that. I just know that my proposed fix stops the reload from failing. > Replies to dev@, please. Do you want me to raise a JIRA for the NameError? > Cheers, > > Daniel