Open myxoid opened 1 week ago
While it's similar to #107625, I wouldn't count this as a duplicate since it fails on a different input. So this is a legitimate bug report (if it happens on 3.12, then it likely happens on 3.13+ as well).
Hi, is it already if I investigate this bug?
Go ahead! Thank you in advance!
The more general description of the problem should be "chokes on differing indentation". Here is an even simpler example:
[list]
foo
bar
baz
Bug report
Bug description:
This is probably a duplicate of bug 107625, but I do not have a recent enough version of Python to check the behaviour.
Whether it is worth specially detecting conflict markers is something the code owners can decide.
To reproduce:
/tmp/py
:/tmp/z
:Notes:
sys.stdin
seems to be needed to trigger this - deserves further investigation because it may point to a bad assumption or similar in the parserallow_no_value
is needed to trigger thisFinger of blame:
This does not check that
cursect[optname]
is present.CPython versions tested on:
3.10, 3.11, 3.12
Operating systems tested on:
Linux