Author tbrink
Recipients tbrink
Date 2011-02-25.20:37:07
SpamBayes Score 2.36377e-07
Marked as misclassified No
Message-id <1298666228.44.0.489583826736.issue11324@psf.upfronthosting.co.za>
In-reply-to
Content
The docs for Python 3.2 say that p = configparser.ConfigParser(interpolation=None) disables interpolation.  Instead it gives this traceback when calling p.read():

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.2/configparser.py", line 688, in read
    self._read(fp, filename)
  File "/usr/lib/python3.2/configparser.py", line 1081, in _read
    self._join_multiline_values()
  File "/usr/lib/python3.2/configparser.py", line 1091, in _join_multiline_values
    options[name] = self._interpolation.before_read(self,
AttributeError: 'NoneType' object has no attribute 'before_read'

The attached patch should fix it.
History
Date User Action Args
2011-02-25 20:37:08tbrinksetrecipients: + tbrink
2011-02-25 20:37:08tbrinksetmessageid: <1298666228.44.0.489583826736.issue11324@psf.upfronthosting.co.za>
2011-02-25 20:37:07tbrinklinkissue11324 messages
2011-02-25 20:37:07tbrinkcreate