[issue39376] Avoid modifying the process global environment (not thread safe)

2021-04-15 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue39376] Avoid modifying the process global environment (not thread safe)

2020-01-17 Thread Eric Snow
Eric Snow added the comment: +1 This has impact on subinterpreters once they stop sharing the GIL. (It's already on my list of global resources that need better protection.) -- nosy: +eric.snow ___ Python tracker

[issue39376] Avoid modifying the process global environment (not thread safe)

2020-01-17 Thread Gregory P. Smith
New submission from Gregory P. Smith : For more context, see https://bugs.python.org/issue39375 which seeks to document the existing caveats. POSIX lacks any APIs to access the process global environment in a thread safe manner. Given this, we could _consider_ preventing os.putenv() and os.