[issue40527] Multiple "unknown option" errors when passing unknown arguments to the interpreter

STINNER Victor report at bugs.python.org
Wed May 6 09:00:23 EDT 2020


STINNER Victor <vstinner at python.org> added the comment:

> I was able to bisect this to the following commit: (...)

Oh, well done! Yeah, it's all my fault ;-) It's a regression of the PEP 587 (PyConfig) implementation.

I chose to share code between Python/preconfig.c and Python/initconfig.c rather than duplicate code. The implementation of _PyPreConfig_Read() and PyConfig_Read() is quite complex.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40527>
_______________________________________


More information about the Python-bugs-list mailing list