Merge lp:~mbp/subunit/505078-chunked into lp:~subunit/subunit/trunk
Proposed by
Martin Pool
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 139 | ||||
Proposed branch: | lp:~mbp/subunit/505078-chunked | ||||
Merge into: | lp:~subunit/subunit/trunk | ||||
Diff against target: |
94 lines (+39/-2) 2 files modified
python/subunit/chunked.py (+15/-2) python/subunit/tests/test_chunked.py (+24/-0) |
||||
To merge this branch: | bzr merge lp:~mbp/subunit/505078-chunked | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Lange | Approve | ||
Martin Pool | Pending | ||
Review via email: mp+47754@code.launchpad.net |
This proposal supersedes a proposal from 2011-01-10.
Description of the change
This makes subunit not barf if a \r is missing from the input. You can choose strict or non-strict parsing.
To post a comment you must log in.
Robert said offline: he would like a 'strict' mode flag, defaulting to on, in the chunked parser that controls whether the parser knowingly accepts noncompliant data.
The presence of this flag ought not to imply that it strictly validates the input. There are many things that are incorrect that it will accept at the moment. But it could go towards that in future.