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

Bug #1397779 reported by Barry Warsaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lazr.config
Fix Released
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)
Changed in lazr.config:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Barry Warsaw (barry)
milestone: none → 2.1
Revision history for this message
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)
Changed in lazr.config:
status: In Progress → Fix Committed
Barry Warsaw (barry)
Changed in lazr.config:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.