You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.
No, that wouldn't work: the loop body can consume more than one raw_line: there's a next(raw_lines) a little farther below. This is because continuation-lines get combined.
I'll add a comment to clarify this.
In general, the easiest way to answer this question besides just looking at the code would be to resolve #6, and test the config file reader to oblivion with the most pathological files you can think of: then you can change the code and test whether it still works.
Description
In the
config
module in line 208 the following construct is used, referring to PEP 479:This seems to be equivalent to
Is there a reason, why the
while
construct should be preferred in such a situation?Under which circumstances does this apply?
The text was updated successfully, but these errors were encountered: