STINNER Victor added the comment:

I dislike the idea of opening all $HOME/.idlerc/ directory and store their 
content in memory.

If a unit test writes into $HOME, we already have an issue. Unit tests must not 
modify the user configuration. If an unit test is interrupted, there is a high 
risk of leaving the modified configuration.

If idle tests need a well defined configuration, I suggest to start by 
modifiying idlelib.config.idleConf to use a temporary directory, or mock the 
whole object.

----------

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

Reply via email to