lazr.config must pass strict=False to RawConfigParser under Python 3

Bug #1397779 reported by Barry Warsaw on 2014-12-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lazr.config
High
Barry Warsaw

Bug Description

Otherwise, when you .push() a new config that has a duplication section, you get a DuplicateSectionError. Since the default in Python < 3.2 was strict=False, this restores the same behavior in both Python 2 and Python 3.

Barry Warsaw (barry) on 2015-01-06
Changed in lazr.config:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Barry Warsaw (barry)
milestone: none → 2.1
Barry Warsaw (barry) wrote :

Note that in Python 2 however, RawConfigParser() does not take a `strict` keyword argument, so a version test is needed.

description: updated
Barry Warsaw (barry) on 2015-01-06
Changed in lazr.config:
status: In Progress → Fix Committed
Barry Warsaw (barry) on 2015-01-06
Changed in lazr.config:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers