Open jefferyto opened 1 year ago
I won't be able to get into this today, does the behavior replicate on a desktop python?
I won't be able to get into this today, does the behavior replicate on a desktop python?
Yes, I get the same results in a venv on Ubuntu 23.04 (Python 3.11.4).
wow, seems like this is a allwinner, the bug got pulled in from the pylib codebase in https://github.com/pytest-dev/iniconfig/commit/3ebb68c774c6a77bae76fe0018e7e626eee96e05 in 2016 by me
now i gotta figure how that was added/missed in pylib as well this might end up being a 10 year missed bug
introduced in https://github.com/pytest-dev/py/commit/ba3873685fe55c8bf5acf683f00442ad2fb94685 it seems
as far as i can tell it seems necessary to elevate this bug to a default feature and allow a "opt out" :scream:
@jefferyto as far as i can tell now after research, the behavior you observe is indeed intended, but its introduction was a bit roundabout, a design decission is needed on how to change it now
Thanks for investigating - I'm not really a user of this module so I'm okay with whatever resolution is deemed appropriate.
I'm looking into updating the OpenWrt package for iniconfig (from 1.1.1 to 2.0.0), and when I try the example from the readme with 2.0.0 (using the example ini file) I get:
Note that
# comment
is included with the value ofname1
and the second value ofname1b
. This appears to differ from the output in the readme - is the above the expected/correct output?