Victor Stinner

Results 709 comments of Victor Stinner

> With PyConfig_InitIsolatedConfig() PYTHONPATH is not used as documented (i.e. the config is working as intended). You should be able to use PYTHONPATH if you set isolated=0 and use_environment=1.

> Confirmed, thanks @vstinner! Nice! Maybe the effect of isolated=1 is not well explained in the doc. * https://docs.python.org/dev/c-api/init_config.html#c.PyConfig.isolated * https://docs.python.org/dev/c-api/init_config.html#init-isolated-conf

I like the final change, short and simple :-D

Congrats for fixing your issue!

Downstream Fedora issue with Python 3.9: https://bugzilla.redhat.com/show_bug.cgi?id=1792056

My patch doesn't touch the Python 2 support which is kept: it only *adds* support for Python 3.9. It's up to you to continue to support Python 2 or not,...

> btw patch welcome. I converted my inline patch into a concrete PR: PR #310.

See also https://discuss.python.org/t/remove-coordinator-role-of-inactive-coordinators-on-bugs-python-org/866 about bugs.python.org that I reported in 2019 and remains an issue in 2022.

IMO the attack scenario is to introduce malicious code in the Python source code. An attacker steals credentials (login/password) of a core dev who doesn't use 2FA, they can create...

I proposed https://github.com/boostorg/python/pull/385 to update Boost Python (enum type) to Python 3.11.