Antoine Pitrou added the comment:

Well, importlib.invalidate_caches() is not a workaround, it's really the right 
way to solve your issue (for example if instead of writing a new module, you 
modify an existing one: st_nlink will then remain the same).

----------

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

Reply via email to