Message48120
Logged In: YES
user_id=139309
And if the listdir performance is the only killer, the "recursive site"
protocol could be changed slightly -- it could depend on the existence of
some file (e.g. "python-site"), so the os.listdir() turns into a false
os.path.exists() in the general case (where it is not intended to be added
as another site directory).
Alternatively, some token in the .pth file could say "this points to
another site dir". Currently that (undocumented) token actually exists,
but it looks like this:
import site; site.addsitedir("....") |
|
Date |
User |
Action |
Args |
2007-08-23 15:42:32 | admin | link | issue1174614 messages |
2007-08-23 15:42:32 | admin | create | |
|