#3 Interpolation has incorrect call to `Option.parse` for collection option types
Closed: Resolved 7 years ago Opened 7 years ago by bignose.

The collection option types (ListOption, DictOption) have a different signature for the parse method; they require a parser argument (specifying the parser for items in the collection).

The interpolation of values – specifically in _get_interpolation_keys – unconditionally uses opt.parse(rawval, raw=True).

For collection types, the call instead needs to be opt.parse(rawval, parser=self, raw=True).

This is now fixed in commit 471558e, released in version “1.2.0”.

Metadata Update from @bignose:
- Issue status updated to: Closed (was: Open)

7 years ago

Metadata Update from @bignose:
- Issue close_status updated to: Resolved

7 years ago

Login to comment on this ticket.