Terry J. Reedy <tjre...@udel.edu> added the comment:

Can you write a test case that raises the exception?  Use .read_string to 
create the CF instance, as that calls .read_file, which calls ._read, which 
calls ._join_multiline_values.

I wonder if we could delete .before_read and replace its call with the value 
passed and intended to be returned.  None of the Interpolation subclasses 
override it, and it is undocumented in both code and docs.  Ditto for 
.before_write.

----------
components:  -Build, asyncio
nosy: +terry.reedy
versions: +Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33150>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to