]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Make the add*() helper functions more robust for use after intialization
authorFred Drake <fdrake@acm.org>
Fri, 20 Jul 2001 20:06:17 +0000 (20:06 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 20 Jul 2001 20:06:17 +0000 (20:06 +0000)
commit7f5296e7c06f5a6010960f34ae7db89d8902cddb
treea7f28c35494f1daf58d35a85eb6faef632b322a7
parent5a3e4cb0a2b922bbbcaf3e3afa9693b57e189ea4
Make the add*() helper functions more robust for use after intialization
is complete:  recompute _dirs_in_sys_path each time these functions are
entered after module initialization is complete, and reset before
returning to user code.

This closes SF patch #442983.
Lib/site.py