Martin Panter added the comment:

How are you managing to get os.environ to change inside that function? Another 
thread or garbage collector callback perhaps?

My understanding is that os.environ is coupled to the C library’s environment, 
and that is not thread-safe.

----------
nosy: +martin.panter
stage:  -> test needed
type:  -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25641>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to