[Distutils] setup.cfg - to interpolate or not to interpolate

Ben Finney ben+python at benfinney.id.au
Fri Jul 28 04:09:42 EDT 2017


Nick Coghlan <ncoghlan at gmail.com> writes:

> That would make the following the lowest impact resolution that still
> fixes the original reported problem:
>
> - update the ConfigParser (3.x) and SafeConfigParser (2.x) docs to
> explicitly say that "%%" works as an escape
> - update setuptools and distutils to use SafeConfigParser in 2.7
> - update the setuptools and distutils docs to say that interpolation
> is enabled when reading setup.cfg and "%%" works as an escape (except
> on older versions of Python 2.x with either distutils or an older
> version of setuptools).
>
> So I'll retract my initial response as being ill-informed (since I
> didn't click through and read the original bug report).

I'm glad to see this result, thank you for taking all that into account.

-- 
 \      “Repent before ring 31 moves.” —Damon Anton Permezel, hanoi.el |
  `\         _Tower of Hanoi_ source code, Unix doomsday version, 1985 |
_o__)                                                                  |
Ben Finney



More information about the Distutils-SIG mailing list